Running a VB Script from Visual Basic 
Author Message
 Running a VB Script from Visual Basic

I want to run a vb script from a Visual Basic
program and I don't know the code to do this, or
even if it can be done.  I'm new to this so if
anyone can help it would be appreciated.

Sent via Deja.com http://www.*-*-*.com/
Before you buy.



Tue, 07 Jan 2003 03:00:00 GMT  
 Running a VB Script from Visual Basic
You can use the script control for this purpose. It is included on the
VS CD's and comes with on-line help, or download it from microsoft:

http://msdn.microsoft.com/scripting


Quote:

> I want to run a vb script from a visual basic
> program and I don't know the code to do this, or
> even if it can be done.  I'm new to this so if
> anyone can help it would be appreciated.

> Sent via Deja.com http://www.deja.com/
> Before you buy.

Sent via Deja.com http://www.deja.com/
Before you buy.


Tue, 07 Jan 2003 03:00:00 GMT  
 Running a VB Script from Visual Basic
You can use the script control for this purpose. It is included on the
VS CD's and comes with on-line help, or download it from microsoft:

http://msdn.microsoft.com/scripting


Quote:

> I want to run a vb script from a visual basic
> program and I don't know the code to do this, or
> even if it can be done.  I'm new to this so if
> anyone can help it would be appreciated.

> Sent via Deja.com http://www.deja.com/
> Before you buy.

Sent via Deja.com http://www.deja.com/
Before you buy.


Tue, 07 Jan 2003 03:00:00 GMT  
 Running a VB Script from Visual Basic
Shell("wscript.exe myscript.vbs")

-Chad

Quote:

> I want to run a vb script from a visual basic
> program and I don't know the code to do this, or
> even if it can be done.  I'm new to this so if
> anyone can help it would be appreciated.

> Sent via Deja.com http://www.deja.com/
> Before you buy.



Tue, 07 Jan 2003 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. How to run VB-Scripts in Visual Studio - Visual Basic 6

2. Running Visual Basic Program from VB script

3. Converting Visual Basic to VB Script

4. Running a Visual Basic Script During Logon

5. How to run VBScript in Visual Basic ???

6. Run a vbs file from Visual Basic

7. Running WSH VBScripts in Visual Basic

8. Embedding A Visual Basic Script Into A VB App

9. VB Script - Can a running script derive it's own path

10. Learning Visual Basic Script

11. message: Visual Basic Scripting Support

12. visual basic scripting host

 

 
Powered by phpBB® Forum Software