DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 5 of 5

Thread: How to launching & passing arguments to a new application using shell command

  1. #1
    Becky Guest

    How to launching & passing arguments to a new application using shell command


    Hi, good day!
    I got stuck here today & really need some urgent help.

    I'm trying to launch another VB application from one vb application. I can
    easily do that using shell command:
    shell ("start app.path + exe file")

    However, I need to, at the same time, pass 2 parameters to the new vb application
    from the calling application.

    How can I achieve this??

    Please help!

    Thank you very much.

    regards,
    Becky

  2. #2
    Larry Rebich Guest

    Re: How to launching & passing arguments to a new application using shell command

    Becky,

    You can use the Command$ function, however;

    Some months ago I wrote a tip of the month that I call 'Send Text from One
    App to Another and Activating a Previous Instance of an Application'. Link
    to http://www.buygold.net/tips then look for the December 2000 tip of the
    month. A sample program is provided. This is been a popular download.

    Cheers,
    Larry Rebich

    More tips link to:
    http://www.buygold.net/tips

    Please:
    No personal e-mail questions :-)


    "Becky" <boeykean@hotmail.com> wrote in message
    news:3b384cec$1@news.devx.com...
    >
    > Hi, good day!
    > I got stuck here today & really need some urgent help.
    >
    > I'm trying to launch another VB application from one vb application. I can
    > easily do that using shell command:
    > shell ("start app.path + exe file")
    >
    > However, I need to, at the same time, pass 2 parameters to the new vb

    application
    > from the calling application.
    >
    > How can I achieve this??
    >
    > Please help!
    >
    > Thank you very much.
    >
    > regards,
    > Becky




  3. #3
    Larry Rebich Guest

    Re: How to launching & passing arguments to a new application using shell command

    Becky,

    You can use the Command$ function, however;

    Some months ago I wrote a tip of the month that I call 'Send Text from One
    App to Another and Activating a Previous Instance of an Application'. Link
    to http://www.buygold.net/tips then look for the December 2000 tip of the
    month. A sample program is provided. This is been a popular download.

    Cheers,
    Larry Rebich

    More tips link to:
    http://www.buygold.net/tips

    Please:
    No personal e-mail questions :-)


    "Becky" <boeykean@hotmail.com> wrote in message
    news:3b384cec$1@news.devx.com...
    >
    > Hi, good day!
    > I got stuck here today & really need some urgent help.
    >
    > I'm trying to launch another VB application from one vb application. I can
    > easily do that using shell command:
    > shell ("start app.path + exe file")
    >
    > However, I need to, at the same time, pass 2 parameters to the new vb

    application
    > from the calling application.
    >
    > How can I achieve this??
    >
    > Please help!
    >
    > Thank you very much.
    >
    > regards,
    > Becky




  4. #4
    Becky Guest

    Re: How to launching & passing arguments to a new application using shell command


    Hi, Larry,

    Thanks a lot for the advice. It does help.


    Regards,

    Becky

    "Larry Rebich" <lrebich@earthlink.net> wrote:
    >Becky,
    >
    >You can use the Command$ function, however;
    >
    >Some months ago I wrote a tip of the month that I call 'Send Text from One
    >App to Another and Activating a Previous Instance of an Application'. Link
    >to http://www.buygold.net/tips then look for the December 2000 tip of the
    >month. A sample program is provided. This is been a popular download.
    >
    >Cheers,
    >Larry Rebich
    >
    >More tips link to:
    >http://www.buygold.net/tips
    >
    >Please:
    >No personal e-mail questions :-)
    >
    >
    >"Becky" <boeykean@hotmail.com> wrote in message
    >news:3b384cec$1@news.devx.com...
    >>
    >> Hi, good day!
    >> I got stuck here today & really need some urgent help.
    >>
    >> I'm trying to launch another VB application from one vb application. I

    can
    >> easily do that using shell command:
    >> shell ("start app.path + exe file")
    >>
    >> However, I need to, at the same time, pass 2 parameters to the new vb

    >application
    >> from the calling application.
    >>
    >> How can I achieve this??
    >>
    >> Please help!
    >>
    >> Thank you very much.
    >>
    >> regards,
    >> Becky

    >
    >



  5. #5
    Becky Guest

    Re: How to launching & passing arguments to a new application using shell command


    Hi, Larry,

    Thanks a lot for the advice. It does help.


    Regards,

    Becky

    "Larry Rebich" <lrebich@earthlink.net> wrote:
    >Becky,
    >
    >You can use the Command$ function, however;
    >
    >Some months ago I wrote a tip of the month that I call 'Send Text from One
    >App to Another and Activating a Previous Instance of an Application'. Link
    >to http://www.buygold.net/tips then look for the December 2000 tip of the
    >month. A sample program is provided. This is been a popular download.
    >
    >Cheers,
    >Larry Rebich
    >
    >More tips link to:
    >http://www.buygold.net/tips
    >
    >Please:
    >No personal e-mail questions :-)
    >
    >
    >"Becky" <boeykean@hotmail.com> wrote in message
    >news:3b384cec$1@news.devx.com...
    >>
    >> Hi, good day!
    >> I got stuck here today & really need some urgent help.
    >>
    >> I'm trying to launch another VB application from one vb application. I

    can
    >> easily do that using shell command:
    >> shell ("start app.path + exe file")
    >>
    >> However, I need to, at the same time, pass 2 parameters to the new vb

    >application
    >> from the calling application.
    >>
    >> How can I achieve this??
    >>
    >> Please help!
    >>
    >> Thank you very much.
    >>
    >> regards,
    >> Becky

    >
    >



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