Lloyd Charlier
Usenet Archive
- Joined
- Nov 27, 2001
- Messages
- 7
- Reaction score
- 0
Can anyone tell me how to reliably manipulate MicroStation from VB using OLE such that MicroStation remains invisible? I can successfully connect to a running instance of MS (using GetObject) and I can successfully instantiate a new MS object (using CreateObject) but I have, as of yet, been unable to do the latter without MS running visibly. I have tried setting the MS object visibility property "off" but to no avail (I have tried both setting msApp.Visible=False and msApp.Visible=0). No errors are generated but no change is noted either!
Some postings on this newsgroup have suggested an alternative approach whereby one spawns (programmatically) "ustation.exe" with the "/Automation" switch. While this indeed launches MS for me, I have still not seen it run hidden. If I launch "ustation.exe /Automation" from a command window, it does appear to run hidden however... (huh?) Regardless, this approach seems really backward to me. Isn't there a more elegant way of doing what I want to do?
I do not pretend to be a MS expert so please feel free to point out the stupidity of my ways... <grin>
Thanks in advance for any-and-all assistance.
Regards,
Lloyd
Some postings on this newsgroup have suggested an alternative approach whereby one spawns (programmatically) "ustation.exe" with the "/Automation" switch. While this indeed launches MS for me, I have still not seen it run hidden. If I launch "ustation.exe /Automation" from a command window, it does appear to run hidden however... (huh?) Regardless, this approach seems really backward to me. Isn't there a more elegant way of doing what I want to do?
I do not pretend to be a MS expert so please feel free to point out the stupidity of my ways... <grin>
Thanks in advance for any-and-all assistance.
Regards,
Lloyd