VBScript's Execute statement equivalent in .NET?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all

as I am converting a client's software to asp.net, I encountered a problem with what I used to have with asp, the VBScript's execute/executeglobal statement. What's VB.NET's equivalent to this statement

Thanks
 
Hello,

Thank you for using the community.

Regarding the question, we can still use VBScript and those functions in
ASP.NET code behind. For a .NET solution, you may take a look at
System.Reflection namespace. The classed in this namespace provide more
powerful functions than execute/executeglobal statement. With them, we can
create Type and invoke its method at runtime. For more information about
System.Reflection, you may refer to:

HOW TO: Create An Assembly at Runtime and Call Methods
http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q821778

Discovering Type Information at Run Time
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm
l/cpcondiscoveringtypeinformationatruntime.asp

Hope this help,

Luke
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 
Back
Top