|
-
May 29th, 2000, 10:33 PM
#1
Thread Starter
Addicted Member
I have created an ActiveX DLL in VB6 and created a class called Visit.
I am calling it in ASP:
<%@ Language=VBScript %>
<html>
<%
Dim objVisit
set objVisit = server.CreateObject("Project1.Visit")
%>
</HTML>
However I get the following Error:
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/local/Test.asp, line 12 800401f3
Does anybody know what I am doing wrong ?
-
May 30th, 2000, 12:13 AM
#2
Addicted Member
did you register the dll first?
-
May 30th, 2000, 01:20 AM
#3
Thread Starter
Addicted Member
Thanks for your reply dvst8.
I created the dll but I don't think I have registered it. How do I go about registering my dll ?
nmretd.
-
May 31st, 2000, 01:27 AM
#4
Lively Member
since you are using VB6, to create your dll file, you just simply select "Make <project>.dll" in the "file" menu. VB6 will create the dll file and register it at the same time.(maybe you did), or you can register it yourself.
go to windows "start"->"Run"-> enter "regsvr32 <project>.dll" (make sure you target where the file is.).
that should do it.
I hope this will help
Cerebrate
[Edited by Cerebrate on 05-31-2000 at 02:30 PM]
-
May 31st, 2000, 01:36 AM
#5
Thread Starter
Addicted Member
That's excellent, thanks a lot !
nmretd
-
Jun 2nd, 2000, 12:49 AM
#6
Addicted Member
did you get it working nm?
-
Jun 2nd, 2000, 12:58 AM
#7
Thread Starter
Addicted Member
Yes I got it working, you were right I hadn't registered the dll file. It's working fine now.
nmretd.
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
|