Results 1 to 4 of 4

Thread: executing a string?

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2004
    Posts
    6

    executing a string?

    Hello there :

    I've got a string that contains VBScript that I want to execute, how do execute it in ASP.net ?

    in my old ASP version I just used to execute(string) ,.. now it seems to want to sever.execute({file}) ,.. so any ideas on how I execute a string? Thanks.

  2. #2
    Addicted Member rdove's Avatar
    Join Date
    Dec 2002
    Location
    Indianapolis
    Posts
    251

    Re: executing a string?

    The execute, executeglobal, and eval functions are not part of ASP. They are part of the VBScript engine:

    http://msdn.microsoft.com/library/de...scriptinga.asp

    ASP.NET does not rely on parts of that technology as ASP does. So in order to use those functions will will need to add a reference to it in your program.
    ~Ryan





    Have I helped you? Please Rate my posts.

  3. #3

    Thread Starter
    New Member
    Join Date
    Nov 2004
    Posts
    6

    Re: executing a string?

    Great,.. thanks for that.

  4. #4
    Fanatic Member Graff's Avatar
    Join Date
    Jan 2002
    Location
    Calgary
    Posts
    668

    Re: executing a string?

    I'll execute the string for you for 100 bucks if you want me to make it look like an accident it will cost you more... sorry couldn't resist.
    If wishes were fishes we'd all cast nets.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width