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

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • vithi

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

    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("Exce l.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 body tell me how to give path to open an exectable application in
    Dispatch modules
    I try like that
    object = win32com.client .Dispatch("c:\F older\QeepIt.ex e")
    It give an error.

Working...