Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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. |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
try
strPach = "C:\Program Files\PLaunch\PLaunch.exe" Shell (strPack,1) -- Atte. ?T Francisco T? |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
thank all,
Nick I did not understand the tag with the help vba. Ina |
#7
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
#8
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
thank you for your answer. I will ask them :)
|
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
GetObject | Excel Programming | |||
GetObject error 429 | Excel Programming | |||
GetObject function | Excel Programming | |||
GetObject | Excel Programming | |||
GetObject-question | Excel Programming |