How to Execute VB Application ?


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 9 of 9

Thread: How to Execute VB Application ?

Hybrid View

  1. #1
    Ravi Guest

    How to Execute VB Application ?


    Hi All

    I have written a VB application (X.Exe/X.Dll).

    This application will be in "C:\MyApp" folder. This application will
    accept y.txt as input and generate y.xml.

    I have another application, which will create y.txt file in "C:\MyApp"
    folder. If y.txt alreday there, then it will delete the file and create
    new y.txt. (Note: This application is not developed in VB. Y.txt file may

    be created at any point of time)

    Whenever the y.txt file created, my VB application (i.e. x.EXE/x.DLL) has

    to execute.

    Does any one knows how to execute the application ?


    Thanks in Advance.

    Regards,
    Ravi


  2. #2
    Jonathan Wood Guest

    Re: How to Execute VB Application ?

    Try the Shell command.

    --
    Jonathan Wood
    SoftCircuits Programming
    http://www.softcircuits.com
    "Ravi" <mail2grk@yahoo.com> wrote in message news:3af9bea1@news.devx.com...
    >
    > Hi All
    >
    > I have written a VB application (X.Exe/X.Dll).
    >
    > This application will be in "C:\MyApp" folder. This application will
    > accept y.txt as input and generate y.xml.
    >
    > I have another application, which will create y.txt file in "C:\MyApp"
    > folder. If y.txt alreday there, then it will delete the file and create
    > new y.txt. (Note: This application is not developed in VB. Y.txt file may
    >
    > be created at any point of time)
    >
    > Whenever the y.txt file created, my VB application (i.e. x.EXE/x.DLL) has
    >
    > to execute.
    >
    > Does any one knows how to execute the application ?
    >
    >
    > Thanks in Advance.
    >
    > Regards,
    > Ravi
    >




  3. #3
    Ravi Guest

    Re: How to Execute VB Application ?


    I am sorry, I can use shell command to execute the application. But the application
    has to execute automatically, whenever the input xml file created or modified.
    I got some information. Please check "http://www.mvps.org/vbnet/code/fileapi/watchedfolder.htm"

    Thanks,
    Ravi
    "Jonathan Wood" <jwood@softcircuits.com> wrote:
    >Try the Shell command.
    >
    >--
    >Jonathan Wood
    >SoftCircuits Programming
    >http://www.softcircuits.com
    >"Ravi" <mail2grk@yahoo.com> wrote in message news:3af9bea1@news.devx.com...
    >>
    >> Hi All
    >>
    >> I have written a VB application (X.Exe/X.Dll).
    >>
    >> This application will be in "C:\MyApp" folder. This application will
    >> accept y.txt as input and generate y.xml.
    >>
    >> I have another application, which will create y.txt file in "C:\MyApp"
    >> folder. If y.txt alreday there, then it will delete the file and create
    >> new y.txt. (Note: This application is not developed in VB. Y.txt file

    may
    >>
    >> be created at any point of time)
    >>
    >> Whenever the y.txt file created, my VB application (i.e. x.EXE/x.DLL)

    has
    >>
    >> to execute.
    >>
    >> Does any one knows how to execute the application ?
    >>
    >>
    >> Thanks in Advance.
    >>
    >> Regards,
    >> Ravi
    >>

    >
    >



  4. #4
    Guanha Guest

    Re: How to Execute VB Application ?


    There are various means to respond to actions like the one you generate.

    One is creating an NT Service that on regular intervals runs a VB Application
    that polls to see what happens.

    To deal with NT Services you can use AT/WinAT or you can purchase a scheduler
    (top notch ones cost about 20-30$) that can run as an NT Service.

    "Ravi" <mail2grk@yahoo.com> wrote:
    >
    >I am sorry, I can use shell command to execute the application. But the

    application
    >has to execute automatically, whenever the input xml file created or modified.
    >I got some information. Please check "http://www.mvps.org/vbnet/code/fileapi/watchedfolder.htm"
    >
    >Thanks,
    >Ravi
    >"Jonathan Wood" <jwood@softcircuits.com> wrote:
    >>Try the Shell command.
    >>
    >>--
    >>Jonathan Wood
    >>SoftCircuits Programming
    >>http://www.softcircuits.com
    >>"Ravi" <mail2grk@yahoo.com> wrote in message news:3af9bea1@news.devx.com...
    >>>
    >>> Hi All
    >>>
    >>> I have written a VB application (X.Exe/X.Dll).
    >>>
    >>> This application will be in "C:\MyApp" folder. This application will
    >>> accept y.txt as input and generate y.xml.
    >>>
    >>> I have another application, which will create y.txt file in "C:\MyApp"
    >>> folder. If y.txt alreday there, then it will delete the file and create
    >>> new y.txt. (Note: This application is not developed in VB. Y.txt file

    >may
    >>>
    >>> be created at any point of time)
    >>>
    >>> Whenever the y.txt file created, my VB application (i.e. x.EXE/x.DLL)

    >has
    >>>
    >>> to execute.
    >>>
    >>> Does any one knows how to execute the application ?
    >>>
    >>>
    >>> Thanks in Advance.
    >>>
    >>> Regards,
    >>> Ravi
    >>>

    >>
    >>

    >



  5. #5
    Dean Earley Guest

    Re: How to Execute VB Application ?

    You could also try looking up FindFirstChangeNotification in MSDN

    --
    Dean Earley (dean.earley@icode.co.uk)
    Assistant Developer

    iCode Systems
    "Guanha" <guanha@frisurf.no> wrote in message news:3afaeca6$1@news.devx.com...
    >
    > There are various means to respond to actions like the one you generate.
    >
    > One is creating an NT Service that on regular intervals runs a VB Application
    > that polls to see what happens.
    >
    > To deal with NT Services you can use AT/WinAT or you can purchase a scheduler
    > (top notch ones cost about 20-30$) that can run as an NT Service.
    >
    > "Ravi" <mail2grk@yahoo.com> wrote:
    > >
    > >I am sorry, I can use shell command to execute the application. But the

    > application
    > >has to execute automatically, whenever the input xml file created or modified.
    > >I got some information. Please check "http://www.mvps.org/vbnet/code/fileapi/watchedfolder.htm"
    > >
    > >Thanks,
    > >Ravi
    > >"Jonathan Wood" <jwood@softcircuits.com> wrote:
    > >>Try the Shell command.
    > >>
    > >>--
    > >>Jonathan Wood
    > >>SoftCircuits Programming
    > >>http://www.softcircuits.com
    > >>"Ravi" <mail2grk@yahoo.com> wrote in message news:3af9bea1@news.devx.com...
    > >>>
    > >>> Hi All
    > >>>
    > >>> I have written a VB application (X.Exe/X.Dll).
    > >>>
    > >>> This application will be in "C:\MyApp" folder. This application will
    > >>> accept y.txt as input and generate y.xml.
    > >>>
    > >>> I have another application, which will create y.txt file in "C:\MyApp"
    > >>> folder. If y.txt alreday there, then it will delete the file and create
    > >>> new y.txt. (Note: This application is not developed in VB. Y.txt file

    > >may
    > >>>
    > >>> be created at any point of time)
    > >>>
    > >>> Whenever the y.txt file created, my VB application (i.e. x.EXE/x.DLL)

    > >has
    > >>>
    > >>> to execute.
    > >>>
    > >>> Does any one knows how to execute the application ?
    > >>>
    > >>>
    > >>> Thanks in Advance.
    > >>>
    > >>> Regards,
    > >>> Ravi
    > >>>
    > >>
    > >>

    > >

    >




  6. #6
    Jonathan Wood Guest

    Re: How to Execute VB Application ?

    Try the Shell command.

    --
    Jonathan Wood
    SoftCircuits Programming
    http://www.softcircuits.com
    "Ravi" <mail2grk@yahoo.com> wrote in message news:3af9bea1@news.devx.com...
    >
    > Hi All
    >
    > I have written a VB application (X.Exe/X.Dll).
    >
    > This application will be in "C:\MyApp" folder. This application will
    > accept y.txt as input and generate y.xml.
    >
    > I have another application, which will create y.txt file in "C:\MyApp"
    > folder. If y.txt alreday there, then it will delete the file and create
    > new y.txt. (Note: This application is not developed in VB. Y.txt file may
    >
    > be created at any point of time)
    >
    > Whenever the y.txt file created, my VB application (i.e. x.EXE/x.DLL) has
    >
    > to execute.
    >
    > Does any one knows how to execute the application ?
    >
    >
    > Thanks in Advance.
    >
    > Regards,
    > Ravi
    >




  7. #7
    Ravi Guest

    Re: How to Execute VB Application ?


    I am sorry, I can use shell command to execute the application. But the application
    has to execute automatically, whenever the input xml file created or modified.
    I got some information. Please check "http://www.mvps.org/vbnet/code/fileapi/watchedfolder.htm"

    Thanks,
    Ravi
    "Jonathan Wood" <jwood@softcircuits.com> wrote:
    >Try the Shell command.
    >
    >--
    >Jonathan Wood
    >SoftCircuits Programming
    >http://www.softcircuits.com
    >"Ravi" <mail2grk@yahoo.com> wrote in message news:3af9bea1@news.devx.com...
    >>
    >> Hi All
    >>
    >> I have written a VB application (X.Exe/X.Dll).
    >>
    >> This application will be in "C:\MyApp" folder. This application will
    >> accept y.txt as input and generate y.xml.
    >>
    >> I have another application, which will create y.txt file in "C:\MyApp"
    >> folder. If y.txt alreday there, then it will delete the file and create
    >> new y.txt. (Note: This application is not developed in VB. Y.txt file

    may
    >>
    >> be created at any point of time)
    >>
    >> Whenever the y.txt file created, my VB application (i.e. x.EXE/x.DLL)

    has
    >>
    >> to execute.
    >>
    >> Does any one knows how to execute the application ?
    >>
    >>
    >> Thanks in Advance.
    >>
    >> Regards,
    >> Ravi
    >>

    >
    >



  8. #8
    Guanha Guest

    Re: How to Execute VB Application ?


    There are various means to respond to actions like the one you generate.

    One is creating an NT Service that on regular intervals runs a VB Application
    that polls to see what happens.

    To deal with NT Services you can use AT/WinAT or you can purchase a scheduler
    (top notch ones cost about 20-30$) that can run as an NT Service.

    "Ravi" <mail2grk@yahoo.com> wrote:
    >
    >I am sorry, I can use shell command to execute the application. But the

    application
    >has to execute automatically, whenever the input xml file created or modified.
    >I got some information. Please check "http://www.mvps.org/vbnet/code/fileapi/watchedfolder.htm"
    >
    >Thanks,
    >Ravi
    >"Jonathan Wood" <jwood@softcircuits.com> wrote:
    >>Try the Shell command.
    >>
    >>--
    >>Jonathan Wood
    >>SoftCircuits Programming
    >>http://www.softcircuits.com
    >>"Ravi" <mail2grk@yahoo.com> wrote in message news:3af9bea1@news.devx.com...
    >>>
    >>> Hi All
    >>>
    >>> I have written a VB application (X.Exe/X.Dll).
    >>>
    >>> This application will be in "C:\MyApp" folder. This application will
    >>> accept y.txt as input and generate y.xml.
    >>>
    >>> I have another application, which will create y.txt file in "C:\MyApp"
    >>> folder. If y.txt alreday there, then it will delete the file and create
    >>> new y.txt. (Note: This application is not developed in VB. Y.txt file

    >may
    >>>
    >>> be created at any point of time)
    >>>
    >>> Whenever the y.txt file created, my VB application (i.e. x.EXE/x.DLL)

    >has
    >>>
    >>> to execute.
    >>>
    >>> Does any one knows how to execute the application ?
    >>>
    >>>
    >>> Thanks in Advance.
    >>>
    >>> Regards,
    >>> Ravi
    >>>

    >>
    >>

    >



  9. #9
    Dean Earley Guest

    Re: How to Execute VB Application ?

    You could also try looking up FindFirstChangeNotification in MSDN

    --
    Dean Earley (dean.earley@icode.co.uk)
    Assistant Developer

    iCode Systems
    "Guanha" <guanha@frisurf.no> wrote in message news:3afaeca6$1@news.devx.com...
    >
    > There are various means to respond to actions like the one you generate.
    >
    > One is creating an NT Service that on regular intervals runs a VB Application
    > that polls to see what happens.
    >
    > To deal with NT Services you can use AT/WinAT or you can purchase a scheduler
    > (top notch ones cost about 20-30$) that can run as an NT Service.
    >
    > "Ravi" <mail2grk@yahoo.com> wrote:
    > >
    > >I am sorry, I can use shell command to execute the application. But the

    > application
    > >has to execute automatically, whenever the input xml file created or modified.
    > >I got some information. Please check "http://www.mvps.org/vbnet/code/fileapi/watchedfolder.htm"
    > >
    > >Thanks,
    > >Ravi
    > >"Jonathan Wood" <jwood@softcircuits.com> wrote:
    > >>Try the Shell command.
    > >>
    > >>--
    > >>Jonathan Wood
    > >>SoftCircuits Programming
    > >>http://www.softcircuits.com
    > >>"Ravi" <mail2grk@yahoo.com> wrote in message news:3af9bea1@news.devx.com...
    > >>>
    > >>> Hi All
    > >>>
    > >>> I have written a VB application (X.Exe/X.Dll).
    > >>>
    > >>> This application will be in "C:\MyApp" folder. This application will
    > >>> accept y.txt as input and generate y.xml.
    > >>>
    > >>> I have another application, which will create y.txt file in "C:\MyApp"
    > >>> folder. If y.txt alreday there, then it will delete the file and create
    > >>> new y.txt. (Note: This application is not developed in VB. Y.txt file

    > >may
    > >>>
    > >>> be created at any point of time)
    > >>>
    > >>> Whenever the y.txt file created, my VB application (i.e. x.EXE/x.DLL)

    > >has
    > >>>
    > >>> to execute.
    > >>>
    > >>> Does any one knows how to execute the application ?
    > >>>
    > >>>
    > >>> Thanks in Advance.
    > >>>
    > >>> Regards,
    > >>> Ravi
    > >>>
    > >>
    > >>

    > >

    >




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