C
Chris
Hello,
I am a newbie learning COM. I used the below sample to build a
prototype.
http://www.stardeveloper.com/articles/display.html?article=2000041001&page=1
I was able to create the .dll using VB6. The .dll wasn't automatically
registered as I am using OS - Vista. I registered the .dll manually
using regsvr32 command.
After registering, when I tried to use it in ASP application using the
below code, and it gave me an error. The error was on the line "Set sd
= Server.CreateObject("Stardeveloper.Author")"
I tried googling around, but did not find any solution. Am I missing
something?
Code:
---------
<html>
<head>
</head>
<body>
<%
' Declaring variable
Dim sd
' Creating instance of our Component
Set sd = Server.CreateObject("Stardeveloper.Author")
Response.Write "Name of author is : " & sd.Author
Set sd = Nothing
%>
Error:
--------
An error occurred on the server when processing the URL. Please
contact the system administrator
Thank you!
Christina
I am a newbie learning COM. I used the below sample to build a
prototype.
http://www.stardeveloper.com/articles/display.html?article=2000041001&page=1
I was able to create the .dll using VB6. The .dll wasn't automatically
registered as I am using OS - Vista. I registered the .dll manually
using regsvr32 command.
After registering, when I tried to use it in ASP application using the
below code, and it gave me an error. The error was on the line "Set sd
= Server.CreateObject("Stardeveloper.Author")"
I tried googling around, but did not find any solution. Am I missing
something?
Code:
---------
<html>
<head>
</head>
<body>
<%
' Declaring variable
Dim sd
' Creating instance of our Component
Set sd = Server.CreateObject("Stardeveloper.Author")
Response.Write "Name of author is : " & sd.Author
Set sd = Nothing
%>
Error:
--------
An error occurred on the server when processing the URL. Please
contact the system administrator
Thank you!
Christina