cancel
Showing results for 
Search instead for 
Did you mean: 

how to use VBS in Microsoft visual basic 2008

Former Member
0 Kudos

Hi,

i have create a little VBS with GUI-scipting.

Now i want to use this script in Microsoft visul basic 2008 but i have some problems.

Has anyone experiance to do this?

Or has anyone an idea to get Information?

Thanks.

regards, Dieter

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

May be you can use the Shell command in VBA to call the vbs:

Shell "wscript " & Chr(34) & "file_path\file_name.vbs" & Chr(34)

thomas_brutigam2
Active Participant
0 Kudos

then better use "CreateProcess"

thats the replacement for Shell in .NET

Answers (0)