-
May 4th, 2010, 08:34 PM
#1
Thread Starter
Junior Member
VS 2010.execute is not declared.it may be inaccessible due to its protection level
Dim msg As String
msg = "Hello"
Execute(msg)
-
May 4th, 2010, 08:58 PM
#2
Re: VS 2010.execute is not declared.it may be inaccessible due to its protection leve
What exactly do you expect to happen there? Execute doesn't exist and, even if it did, exactly how would you execute "Hello"?
-
May 4th, 2010, 10:07 PM
#3
Thread Starter
Junior Member
Re: VS 2010.execute is not declared.it may be inaccessible due to its protection leve
so theres no equivalent execute command like it exists in vbs?
-
May 4th, 2010, 10:11 PM
#4
Re: VS 2010.execute is not declared.it may be inaccessible due to its protection leve
VB.NET is very different to VBScript.
-
May 4th, 2010, 10:13 PM
#5
Thread Starter
Junior Member
Re: VS 2010.execute is not declared.it may be inaccessible due to its protection leve
so is there a way i can execute an expression that is held within a string variable?
so the variable contains "msgbox("hello")" and execute runs it
is there a way?
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
|
Click Here to Expand Forum to Full Width
|