Community
Showing results for 
Search instead for 
Do you mean 
Reply

Run act from the commandline

Tuned Listener
Posts: 23
Country: UK

Run act from the commandline

Is there a way to run act so that a particular database opens up.

I'm trying to launch Act from inside c# code and i'm using Process.Start to run it. I've used commandline switches etc but I don't seem to get an error, I just get the last used DB opening up.

Thanks in advance


Russell
Nickel Super Contributor
Posts: 441
Country: UK

Re: Run act from the commandline

Hi Russel,
The last opened databases is stored in HKEY_CURRENT_USER\Software\ACT in a key called LastDBFileUsed.  You can probably progmatically amend this key and then call ACT! to start.  Thats the only way I know, I would be interested to know if you hear of a better way.
 
Tom
Tuned Listener
Posts: 11
Country: Switzerland

Re: Run act from the commandline

[ Edited ]
Hi Russel
execute the .pad file e.g.:

System.Diagnostics.Process.Start("C:\MyACTDatabase.pad" )

Reto

Message Edited by rscherrer on 03-11-2008 02:19 PM
Reto Scherrer
Ambit AG
Switzerland