Can i use vb.net dll in vb6




















Related Questions. How to write a function in vb6 using this DLL code. Register VB. Vb6 exe calls vb. Can you create a DLL in vb. Who know how to convert code vb6 to VB.

NET Layout: fixed fluid. Web04 2. Strip HTML. Encode HTML. Paste as-is. Code block. Quoted Text. Best guess. Optional Password. Richard MacCutchan. Net Application. This instance is not usable as it is identified as an interface. I know the dll contains useable classes, methods etc as it is being used with VB6 applications. Friday, February 10, AM. Thanks for the quick reply.

My problem is that I can see the methods etc inside the dll but the classes are showing as interfaces and so I cannot create an instance of the class and use the public properties methods etc. I am wondering if this is my problem - i. I don't know how to access it, or a problem withthe dll itself and the way it was constructed.

According the the developer it does not use interfaces so somehow. NET is interpreting the classes it sees as interfaces. Friday, February 10, PM. No I can't create any instances.

I have referenced the dll. The screenshot below shows what happens when I try to create and instance. As you can see intellisense sees the mdlObject as an interface and this is true of all the other items in the list including structures and enumerations.

I need to call a VB. Improve this question. Mitch Wheat k 42 42 gold badges silver badges bronze badges. Add a comment. Active Oldest Votes. Improve this answer. Mitch Wheat Mitch Wheat k 42 42 gold badges silver badges bronze badges. Link is dead. VB6 should be dead as well but here we go, fun fun fun You're right, shouldn't have downvoted for that.

But revenge downvoting DarinH DarinH 4, 2 2 gold badges 20 20 silver badges 32 32 bronze badges. Sign up or log in Sign up using Google. Sign up using Facebook.



0コメント

  • 1000 / 1000