-
Jul 19th, 2018, 08:39 AM
#1
Thread Starter
Fanatic Member
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!]
-
Jul 19th, 2018, 09:28 AM
#2
Thread Starter
Fanatic Member
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!]
-
Jul 19th, 2018, 09:28 AM
#3
Thread Starter
Fanatic Member
Re: MS Script Control > 64 Bit
Last edited by kurtsimons; Jul 19th, 2018 at 03:49 PM.
Kurt Simons
[I know I'm a hack but my clients don't!]
-
Jul 20th, 2018, 03:22 AM
#4
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|