Hey folks. I've written a database management system and all is going well but my father is working with me by writing functions and such to a vb6 activex dll that I have referenced. After so I've accessed the .dll class called primary and instanced it properly. Now when I run the application it gives me an error telling me the interface which is the class in the dll causes an exception. Ive tried manually adding a runtime wrapper for the activex com dll but doesn't work. Now when I publish the application where does this dll need to be? I've tried the bin and I've fried manual function declarations directly to the path of the dll but to no avail. I'm all out of ideas and I apologize for the messiness that is this message. I've got a lot to say and all on a phone lol.
Page 1 of 1
1 Replies - 3271 Views - Last Post: 27 February 2013 - 01:33 PM
Replies To: Asp.net and reference to activex vb6 dll
Re: Asp.net and reference to activex vb6 dll
Posted 27 February 2013 - 01:33 PM
Solved it! Turns out since it's a com object.
Dim KDLL As New KDLLT.Primary
Dim KDLL As Object = CreateObject("KDLLT.Primary")
This post has been edited by trevster344: 27 February 2013 - 01:34 PM
Page 1 of 1