|
-
Jan 27th, 2005, 02:13 AM
#1
Thread Starter
Fanatic Member
.net class in vbscript
I'm trying to run a vbscript on my web server as a cgi. When the script executes, it's supposed to create an instance to an object I created in vb.net.
CreateObject can't seem to create the object that I wrote in vb.net
Is it possible to create an instance of a .net object in windows scripting host? If not, how would I turn it into an ActiveX object that windows scripting host CAN use?
Note that this is NOT asp... the files end with .vbs, not .asp.
-
Jan 27th, 2005, 07:47 AM
#2
Re: .net class in vbscript
You will need to have the object registered on your system. This should happen automatically if you have created an ActiveX DLL or ActiveX component.
-
Jan 27th, 2005, 02:39 PM
#3
Thread Starter
Fanatic Member
Re: .net class in vbscript
How do I register a .net object for use in vbscript? I've compiled it and accessed it from another .net project so I know it's working.
I think the problem is that .net object != ActiveX object.
-
Jan 27th, 2005, 03:25 PM
#4
Re: .net class in vbscript
 Originally Posted by agent
How do I register a .net object for use in vbscript? I've compiled it and accessed it from another .net project so I know it's working.
I think the problem is that .net object != ActiveX object.
That is the problem. You need to compile it as either an Actix Component or an Active X DLL
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
|