|
-
Jun 13th, 2002, 04:51 PM
#1
Thread Starter
New Member
Trickie VB.Net question - still having trouble here ... HELP!!!
I am trying to create a com object on a remote server using:
dim MyObject as Object
MyObject = CreateObject("TheObject.Whatever", RemoteServerName)
It keeps returning the error: Cannot create ActiveX component
Beyond that, there isn't much information given.
I have a RAS connection to the remote server.
Have any of you had any experience with this? Perhaps you can offer some insight and help me get over this confusing problem.
If none of you know the answer, do you know of any other messege boards or forums I might be able to find my answer on?
Last edited by JayJoe; Jun 18th, 2002 at 04:15 PM.
-
Jun 13th, 2002, 08:48 PM
#2
Hyperactive Member
You now use the HttpServerUtility class methinks. Check out the documentation on msdn:-
http://msdn.microsoft.com/library/de...mberstopic.asp
and in particular it's CreateObject method:-
http://msdn.microsoft.com/library/de...bjecttopic.asp
-
Jun 14th, 2002, 10:13 AM
#3
Thread Starter
New Member
Still need help here ...
I looked into it, and it seems that the HttpServerUtility class (and everything in the System.Web namespace) is intended for ASP.Net, not VB.Net. I can add the namespace to my project; however, I have not been able to find a way of specifything the server to connect to. It seems it is supposed to be run server side of a web page and intrinsicly know the server name from there.
Anyone know more about the HttpServerUtility that I'm missing? Or the System.Web namespace ... or any way to create an object on a server over a TCP/IP connection without recieving the above stated error?
Any help much appreciated.
-
Jun 18th, 2002, 04:18 PM
#4
Thread Starter
New Member
Help please ... or any ideas of where I can go to look for help?
-
Jun 18th, 2002, 04:31 PM
#5
Hyperactive Member
Perhaps do a search on msdn on interoperability and how to make your com object available through a namespace. Beyond that I can't help.
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
|