How to launch a VB program off the back of a non VB program 
Author Message
 How to launch a VB program off the back of a non VB program

Hi,,

This isnt strictly a VB question but..

I have written a small vb app that just appends the time and date to a log
file when its run, This program then closes as soon as its written the log
file.

What i need to be able to do is trigger this vb app when Windows Dial Up
Networking is run.

Now is there a way of doing this??  possibly a registry adjustment etc.

Any help would be appreciated.

Thanks

Scot Jones



Sun, 25 Aug 2002 03:00:00 GMT  
 How to launch a VB program off the back of a non VB program
It isn't actually what you asked for, but for me it looks easier to let your
VB program launch the Windows Dial Up Networking before it closes itself...
(API calls CreateProcess, CreateProcessByNum eg.)
- max



Quote:
> Hi,,

> This isnt strictly a VB question but..

> I have written a small vb app that just appends the time and date to a log
> file when its run, This program then closes as soon as its written the log
> file.

> What i need to be able to do is trigger this vb app when Windows Dial Up
> Networking is run.

> Now is there a way of doing this??  possibly a registry adjustment etc.

> Any help would be appreciated.

> Thanks

> Scot Jones



Sun, 25 Aug 2002 03:00:00 GMT  
 How to launch a VB program off the back of a non VB program
You could have the VB app (or a subset of it) run in the systray and monitor
Dial-up Networking activity. Once detected (through API's), the monitoring
program would lauch the main VB app.

Ant



Quote:
> Hi,,

> This isnt strictly a VB question but..

> I have written a small vb app that just appends the time and date to a log
> file when its run, This program then closes as soon as its written the log
> file.

> What i need to be able to do is trigger this vb app when Windows Dial Up
> Networking is run.

> Now is there a way of doing this??  possibly a registry adjustment etc.

> Any help would be appreciated.

> Thanks

> Scot Jones



Mon, 26 Aug 2002 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Call non-Microsoft programs from VB program

2. VB program on non-vb computer

3. Converting 32bit VB programs to 16 bit VB programs

4. calling a VB program from another VB program

5. Calling A VB Program From another VB Program

6. using VBA or VB with non Microsoft programs

7. Launch Outlook from VB Program

8. using VBA or VB with non Microsoft programs

9. Launch VB Program on Boot

10. Launch program from VB

11. Launching other programs from VB.

12. Writing non-interactive VB programs

 

 
Powered by phpBB® Forum Software