The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
August 2000



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


Using Visual J++ can call a DLL written in Visual Basic

Posted by HLe on January 04, 2002 at 4:05 PM

> is it any different from calling dll's written in c???

Hi Matt,
I just finished a small project that was similar to what you were asking, I used Visual J++ to create a new Project in "Console Application" Then right click on the Class name of that project (eg. Class1) --> add Com Wrap --> Then Browese to select the right DLL (eg. VBDLL) you want to call --> Click OK
--> At the Class Main (Class1)
You can call : VBDLL callDLL = new VBDLL();

Hope this is helpful for you


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us