Re: how to use Dispatch to open an application in win32com.client

2007-05-03 Thread Peter Fischer
Dear Python/DCOM experts, I just tried to do a remote dispatch of Google Earth in DCOM, but it didn't work: import pythoncom, win32com.client clsctx=pythoncom.CLSCTX_LOCAL_SERVER i = win32com.client.DispatchEx("GoogleEarth.ApplicationGE", "IAD-PC10", clsctx=clsctx)

Re: how to use Dispatch to open an application in win32com.client

2007-05-03 Thread Tim Golden
Peter Fischer wrote: > Thank you for your answer. I just tried, but it didn't work. The reason seems > to > be that Google Earth prevents a second instance to run on the same machine. > Maybe for licensing reasons (do you know whether it is legal to bypass this > and how to do this?). Don't know

Re: how to use Dispatch to open an application in win32com.client

2007-05-03 Thread Peter Fischer
Hello Tim, Thank you for your answer. I just tried, but it didn't work. The reason seems to be that Google Earth prevents a second instance to run on the same machine. Maybe for licensing reasons (do you know whether it is legal to bypass this and how to do this?). So that is no python/COM problem

Re: how to use Dispatch to open an application in win32com.client

2007-05-02 Thread Tim Golden
Peter Fischer wrote: > Hello, > > I also use the COM API via python to dispatch an application. My > problem now is that I want to dispatch a second instance of this > application (Google Earth by the way). But when I invoke dispatch > the second time, nothing happens although using another variab

Re: how to use Dispatch to open an application in win32com.client

2007-05-02 Thread Peter Fischer
Hello, I also use the COM API via python to dispatch an application. My problem now is that I want to dispatch a second instance of this application (Google Earth by the way). But when I invoke dispatch the second time, nothing happens although using another variable to store the returned value:

Re: how to use Dispatch to open an application in win32com.client

2007-02-17 Thread Gabriel Genellina
En Sat, 17 Feb 2007 17:47:23 -0300, vithi <[EMAIL PROTECTED]> escribió: > Hi > Since I haven't see any help or tutorial on com there is a application > is installed in the server I am login to the server then what code do > I have to implement to launch the application registered in a server. > ho

Re: how to use Dispatch to open an application in win32com.client

2007-02-17 Thread vithi
Hi Since I haven't see any help or tutorial on com there is a application is installed in the server I am login to the server then what code do I have to implement to launch the application registered in a server. how do I write a code to tell my computer to go in to the perticular server and launc

Re: how to use Dispatch to open an application in win32com.client

2007-02-16 Thread Gabriel Genellina
En Fri, 16 Feb 2007 23:36:26 -0300, vithi <[EMAIL PROTECTED]> escribió: > I am trying to launch an application. When I try like that > When I try like that Excel is opening > import win32com.client > object = win32com.client.Dispatch("Excel.Application") > object.Visible = 1 > > But when I try my

how to use Dispatch to open an application in win32com.client

2007-02-16 Thread vithi
Hi' I am trying to launch an application. When I try like that When I try like that Excel is opening import win32com.client object = win32com.client.Dispatch("Excel.Application") object.Visible = 1 But when I try my application which is QeepIt.exe which is in the c:\ drive it is not running Any bo

how to use Dispatch to open an application in win32com.client

2007-02-16 Thread vithi
Hi' I am trying to launch an application. When I try like that When I try like that Excel is opening import win32com.client object = win32com.client.Dispatch("Excel.Application") object.Visible = 1 But when I try my application which is QeepIt.exe which is in the c:\ drive it is not running Any bo

how to use Dispatch to open an application in win32com.client

2007-02-16 Thread vithi
Hi' I am trying to launch an application. When I try like that When I try like that Excel is opening import win32com.client object = win32com.client.Dispatch("Excel.Application") object.Visible = 1 But when I try my application which is QeepIt.exe which is in the c:\ drive it is not running Any bo

how to use Dispatch to open an application in win32com.client

2007-02-16 Thread vithi
Hi' I am trying to launch an application. When I try like that When I try like that Excel is opening import win32com.client object = win32com.client.Dispatch("Excel.Application") object.Visible = 1 But when I try my application which is QeepIt.exe which is in the c:\ drive it is not running Any bo