11-09-2004, 08:52 AM
I wish to allow a user to execute a small VBScript that they write within my app. I though i could get what i want vai the Windows Scripting Host but am unable to achive my aims. can any one help.
11-09-2004, 09:08 AM
See the Microsoft Script Control component.
Private Sub Command1_Click()
strcode = "Sub VBSMain() " & vbNewLine & "MsgBox " & Chr(34) & "Foo" & Chr(34) & vbNewLine & "End Sub"
11-09-2004, 09:23 AM
Thanks alot mate that is great, just what i wanted!!
:D :D :D :D