Discussion Locked

vb to java

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

hello friends
Thanks for your reply for my question.

But i want to give a clear picture about my project.i hope,you can give a clear solution for problem.

I have a problem in our project.we have a software which is developed in "Visual Basic" and a chat application which is in "JAVA ".

******Details about our project******
1.vb application (using this our admin has to chat with our client who is chatting from net and clearing his doubts)
2.server class file(it is writtenin java by using ServerSocket)
3.chat applet (it is written in java.by using this only the client can chat with our admin from Internet)

vb ----->server------>client
<---- <-----

******** Queries*******

1.is it possible to connect a "VisualBasic" application to "JAVA"?
2.how can i communicate with the server from VB application?
3.how can i retrive the client's information from server?

1 reply

by rrv

1. Connecting VB to Java App independently is quite easily possible with Link Poke in VB if you know the class or window name of the java app which also you can programatically find from VB.
2. However you like you can communicate to server from VB. Ideally use Winsock. It is very easy in VB compared to anyother language, including java.
3. If the servers are non windows, use ADODB from VB. If it is windows use "Active DS Type Library" in VB to get any server, file structure and user and workstation information. Client window information can be taken from local PC using APIs from VB itself.

All the best.
RV

This discussion is closed to new replies.