04-12-2011 03:20 PM - edited 04-12-2011 03:23 PM
I was able to figure out how to restore a database in the afterlogon event in ACT! using the code below
instance.RestoreDatabaseAs(databaseName, databaseHost, databaseType, newTargetFolder, userLogOn, userPassword, zipFile, zipPassword, progressHandler, shareDatabase)
What I really want to be able to do is have a seperate program that I created that has a button that when click it restores a database however I am not sure how to do it as the code above requires an instance and I am not sure how to declare it for a program that is not running when ACT! is, is this possible?