VB-Script Execute function!

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Re: VB-Script Execute function!

    Ah!

    "Stefan Hellberg" <stefanhellberg@hotmail.com> wrote in message
    news:07cc01c33d93$f274e5e0$a501280a@phx.gbl...
    > Hello John,
    >
    > Thanks for your reply.
    >
    > I meant the VB-script 5.0 Execute statement.
    > Check the links below:
    >
    > [url]http://www.devguru.com/Technologies/vbscript/quickref/exec[/url]
    > ute.html
    >
    > [url]http://msdn.microsoft.com/library/default.asp?[/url]
    > url=/library/en-us/script56/html/vsstmexecute.asp
    >
    > Regards
    > Stefan Hellberg
    >
    >
    > >-----Original Message-----
    > >Do you mean the Server.Execute function or the
    > ADODBConnection.Execute
    > >function?
    > >
    > >/john
    > >
    > >"Stefan Hellberg" <stefanhellberg@hotmail.com> wrote in
    > message
    > >news:159a01c33d64$c85da4b0$a101280a@phx.gbl...
    > >> Hello all,
    > >>
    > >> Is there any equivalent function in VB .NET for the VB-
    > >> Script function Execute()?
    > >>
    > >> Im converting some ASP 3.0 code where Im using Execute
    > ()
    > >> function to dynamicly call a function(the functions
    > names
    > >> is contained in the database).
    > >>
    > >> Regards
    > >> Stefan Hellberg
    > >
    > >
    > >.
    > >

    John Knoop Guest

  2. Similar Questions and Discussions

    1. Execute Lotus Script
      I have a CF app that sends out e-mails to Lotus Notes e-mail boxes and I want to execute lotus script in those e-mails. Has anyone been able to...
    2. [OT] How do I execute script in different shell?
      Hi, Sorry to post an off topic question, but it's a quick one, hope you can help. Say I have a shell script shell.sh: $!/bin/sh echo $SHELL
    3. How to execute two sql statement in php script
      I tried to execute two sql statements but it failed to execute the second one. What is the proper syntax and method to do that in php script? I...
    4. Anyone know how to execute a Windows Script from ASP?
      I need to execute a Windows script (wscript/cscript) from an ASP page for some administrative functions. Anyone doing this? If so, how? TIA, ...
    5. Execute shell script from a perl script
      Hi, How can I executed a Unix shell script from a Perl script. The shell script is a dump of a oracle table to a file. The perl script is for...
  3. #2

    Default Re: VB-Script Execute function!

    Hi Stefan,

    No, there is no equivalent to the VBScript Execute() (Exec()) function. Why?
    Because VBScript is a scripting language, which is interpreted at run-time,
    and VB.Net is a compiled language. Also, VBScript is procedural in nature,
    while VB.Net is object-oriented. If you think you need this functionality,
    you probably need to rethink your design. You may be thinking procedurally,
    rather than object-oriented.

    HTH,

    Kevin Spencer
    Microsoft FrontPage MVP
    Internet Developer
    [url]http://www.takempis.com[/url]
    Big things are made up of
    lots of Little things.

    "Stefan Hellberg" <stefanhellberg@hotmail.com> wrote in message
    news:159a01c33d64$c85da4b0$a101280a@phx.gbl...
    > Hello all,
    >
    > Is there any equivalent function in VB .NET for the VB-
    > Script function Execute()?
    >
    > Im converting some ASP 3.0 code where Im using Execute()
    > function to dynamicly call a function(the functions names
    > is contained in the database).
    >
    > Regards
    > Stefan Hellberg

    Kevin Spencer Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139