-
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
-
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
>
-
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
>
-
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
>>
>
>
-
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
>>
>
>
-
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
>>>
>>
>>
>
-
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
>>>
>>
>>
>
-
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
> >>>
> >>
> >>
> >
>
-
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
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks