Howdy, Stranger!

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

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

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?

IN ASP
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.