-
making win32dll in java
Hi,
I am currently working on project in Visual Basic(VB) that generates some code in Java. The generated Java code need to connect to different databases. We can do so by using JDBC Driver. However, while working in my application (which is in VB) we need ODBC Drivers/OLEDB Provider. Thus, point is we need two drivers one for connecting from VB and another from Java.
So, I need a way to call java code (that connects to database ) from VB either by making win32 dll from java or by making some component or any other method.
I need it urgently.
Thank You
-
You can't make a Win32DLL from Java.
However, there's the bean bridge from Sun. It's a DLL that reflects JavaBeans into ActiveX components that you should be able to use from VB.
-
Thanks . Can you give a sample bean made in java that I can call in VB. Also, if you can tell me how to use in Visual Basic project.
-
No and no. I've never done it, only read of it somewhere. And I don't use VB.