Close and open other applications.


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: Close and open other applications.

  1. #1
    John O. Guest

    Close and open other applications.


    My Application requires me to open and close another Server application
    periodically.How do I open and close another application from my application.

  2. #2
    MarkN Guest

    Re: Close and open other applications.


    "John O." <OTABACHIANO@NIMO> wrote:
    >
    > My Application requires me to open and close another Server application
    >periodically.How do I open and close another application from my application.


    Are you writing that App too or have control over/involved with its development?
    If so one way is to use sockets to close it and to run it should be easy.

    Mark


  3. #3
    John O. Guest

    Re: Close and open other applications.


    "MarkN" <vb.@127.0.0.1> wrote:
    >
    >"John O." <OTABACHIANO@NIMO> wrote:
    >>
    >> My Application requires me to open and close another Server application
    >>periodically.How do I open and close another application from my application.

    >
    >Are you writing that App too or have control over/involved with its development?
    > If so one way is to use sockets to close it and to run it should be easy.
    >
    >Mark
    >



    The other application is an OPC Server appliction provided by another vendor.
    They also provide an ActiveX control to run the Server application but there
    is no "Close();" Method to close the application which I need to do periodically
    from my Client application.
    Thanks for your help.


  4. #4
    MarkN Guest

    Re: Close and open other applications.


    I've done this sort of thing in VB. I used API's to go through the task list
    and find the program and then kill it. Not very nice but since most Windows
    apps are written with only themselves in mind, what can you do.

    Mark

    "John O." <OTABACHIANO@NIMO> wrote:
    >
    >"MarkN" <vb.@127.0.0.1> wrote:
    >>
    >>"John O." <OTABACHIANO@NIMO> wrote:
    >>>
    >>> My Application requires me to open and close another Server application
    >>>periodically.How do I open and close another application from my application.

    >>
    >>Are you writing that App too or have control over/involved with its development?
    >> If so one way is to use sockets to close it and to run it should be easy.
    >>
    >>Mark
    >>

    >
    >
    > The other application is an OPC Server appliction provided by another

    vendor.
    >They also provide an ActiveX control to run the Server application but there
    >is no "Close();" Method to close the application which I need to do periodically
    >from my Client application.
    > Thanks for your help.
    >



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center