![]() |
GetObject how does it works ???
Hello,
How it works the function getobject for another program Dim appPack as Object Set appPack = GetObject("C:\Program Files\PLaunch\PLaunch.exe", "PLaunch") appPack.run Seems that doesn't work. Ina |
GetObject how does it works ???
The answer depends on the application you are trying to use; how it was
programmed and what (if any) objects are available to outside apps, and (especially) what they are called. Not every application supports automation. For full details see the below: http://msdn2.microsoft.com/en-us/library/e9waz863.aspx -- - K Dales "ina" wrote: Hello, How it works the function getobject for another program Dim appPack as Object Set appPack = GetObject("C:\Program Files\PLaunch\PLaunch.exe", "PLaunch") appPack.run Seems that doesn't work. Ina |
GetObject how does it works ???
thank you.
I do not know exactly but if I do it with the shell command it works. strPach = "C:\Program Files\PLaunch\PLaunch.exe" Shell strPack but the problem is that I can not close it when Excel close. |
GetObject how does it works ???
try
strPach = "C:\Program Files\PLaunch\PLaunch.exe" Shell (strPack,1) -- Atte. ?T Francisco T? |
GetObject how does it works ???
Ina,
For GetObject to succeed, the application needs to be able to <From VBA Help Return a reference to an object provided by an ActiveX component </From VBA Help. Does this PLaunch support this ? NickHK "ina" wrote in message oups.com... Hello, How it works the function getobject for another program Dim appPack as Object Set appPack = GetObject("C:\Program Files\PLaunch\PLaunch.exe", "PLaunch") appPack.run Seems that doesn't work. Ina |
GetObject how does it works ???
thank all,
Nick I did not understand the tag with the help vba. Ina |
GetObject how does it works ???
Nick was just saying that he was quoting from VBA help.
The important thing was that GetObject only works with applications that were designed to make use of it (with ActiveX components). So it all depends on PLaunch: does PLaunch use ActiveX components? We cannot answer that. You would need to check with PLaunch, either their manual, their website, or their tech support. -- - K Dales "ina" wrote: thank all, Nick I did not understand the tag with the help vba. Ina |
GetObject how does it works ???
thank you for your answer. I will ask them :)
|
All times are GMT +1. The time now is 01:04 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com