Showing results for 
Search instead for 
Do you mean 

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

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.
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" )


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