Results 1 to 4 of 4

Thread: MS Script Control > 64 Bit

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2000
    Location
    Manchester NH
    Posts
    833

    MS Script Control > 64 Bit

    can someone point me towards how to add a scripting language into my vb.net application?


    an example that shows something as simple as

    D=<scriping object>

    d.addcode("return 7")

    X=d.execute



    I am just trying to get a simple example of how to do scripting

    thanks
    Kurt Simons
    [I know I'm a hack but my clients don't!]

  2. #2

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2000
    Location
    Manchester NH
    Posts
    833

    Re: MS Script Control > 64 Bit

    I found a solution

    instead of

    myscriptcontrol=New MSScriptControl.ScriptControl

    I used

    dim myscriptcontrol as object
    myscriptcontrol= CreateObject("ScriptControl")



    I did not need to change anything else in my project

    so I am now 64 bit!

    I had to download and register
    tsc64.dll

    https://helloacm.com/quick-tutorial-...pting-control/
    Last edited by kurtsimons; Jul 19th, 2018 at 03:47 PM.
    Kurt Simons
    [I know I'm a hack but my clients don't!]

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2000
    Location
    Manchester NH
    Posts
    833

    Resolved Re: MS Script Control > 64 Bit

    xxxx
    Last edited by kurtsimons; Jul 19th, 2018 at 03:49 PM.
    Kurt Simons
    [I know I'm a hack but my clients don't!]

  4. #4
    Frenzied Member
    Join Date
    May 2014
    Location
    Central Europe
    Posts
    1,372

    Re: MS Script Control > 64 Bit

    i do not know tsc64.dll and what it does but i know that the MS Script Control does not work under 64bit and that seems to be the reason why tsc64.dll was created.

    However, you should be aware that you now have a VBC like script language incorporated to your .net app which might not be ideal.
    instead you could use CodeDOM to compile .net code at runtime and thus make your app support .net code for script extensions.

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