Results 1 to 4 of 4

Thread: making win32dll in java

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 2002
    Location
    india
    Posts
    63

    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

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    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.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  3. #3

    Thread Starter
    Member
    Join Date
    Aug 2002
    Location
    india
    Posts
    63
    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.

  4. #4
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    No and no. I've never done it, only read of it somewhere. And I don't use VB.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width