logo

img

Knowledgebase Home | Contact Knowledgebase Home | Contact
Search the Knowledgebase Browse by Category
How can I load Surfer in a script using a different SET file?
User Opinions
33% thumbs up 66% thumbs down

How would you rate this answer?
Helpful
Not helpful
Use the shell( ) command to specify the SET file on the command line, then use the GetObject( ) command to use the existing instance of Surfer.

ExeFile = "c:\program files\golden software\surfer 9\" + "surfer.exe"
SetFile = "c:\program files\golden software\surfer 9\" + "new.set"
Shell(ExeFile+" /Set "+Chr(34)+SetFile+Chr(34),1)
Wait 5
Set Srf = GetObject(,"Surfer.Application")

Visitor Comments
No visitor comments posted. Post a comment
Related Questions
Attachments
No attachments were found.
Products