Updating a simple dll from VB6 to .NET - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Updating a simple dll from VB6 to .NET

mtmind80mtmind80 Posts: 1Member
I had a simple dll developed in VB6 that returned a string from a public function. In ASP you created the object and set a local variable to the string returned from the dll. I migrated to .Net Mostly because I cannot find my VB6 install disk. (dont laugh) Ok so now I get an error when trying to register the dll, DllRegisterserver entry point not found.
Any ideas?

Dim objNew , MyConnect
'Server name
MyConnect = "sometext"

Set objNew = Server.CreateObject("Cyclops.WebData")
'servername inserted into larger string
Application("Variable") = objNew.WebConnect(MyConnect)
Set objNew = Nothing

The VB function was something like this
Public Function SensitiveData(ByRef strInput As String) As String
SensitiveData = "some sensitive data here:" & strInput

End Function

Sign In or Register to comment.