?
Solved

???    Getting 2 VB progs to talk to one another

Posted on 2003-03-25
5
Medium Priority
?
299 Views
Last Modified: 2010-04-17
We have created a single VB program, which we want to split into 2 parts, one part of the program on one computer the other part on another can anybody help on where to start this ???  we are using USB as the transfer medium.

This is Urgent but I havent many points, so any help would be appreciated.

Reegs
0
Comment
Question by:reegs
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 76

Expert Comment

by:GrahamSkan
ID: 8203410
I think you need to give more information about what each part of the program is supposed to do. What sort of interaction is required between them? Also what are the Windows and VB versions? Have you established a successful USB connection?
0
 

Author Comment

by:reegs
ID: 8203995
Hi Graham,

Thank you for your prompt reply, I did not personally write the programs but I will endeavour to anwser the questions.

The OS can be either WinXP or Win 98, at the moment the 2 machines have one on each. The VB program is VB 6 and yes we have USB2 working fine we also have Hi Speed Lan 1Gig, I must admit it really flies the data. We can use either and/or set up the machines to meet any alteration that maybe required.  

Now trying to explain the program,  ha ha

We have  VB (1) program that computes data (info) situated on one machine, (it doesnt matter which one we put it on so long as we have one program one machine) the other VB program (2) is situated on the other machine, its job is to calculate a series of numbers which we want fed to the other program so that it can calculate the final data.

So VB (1) sends a request to VB (2) saying calculate your data and feed it to VB (1)   -   VB (2) takes the request and calcuales out the Data and sends it to VB (1)

I hope this explains it....

Many thanks for your help


0
 
LVL 76

Accepted Solution

by:
GrahamSkan earned 90 total points
ID: 8208671
OK. Assuming that one machines can see a shared folder on the other's machine, you could take a relatively low-tech solution of writing the data into a file in the folder with a flag in the same or another file. The calculating program could use a timer to periodically check for new data and when the flag is set it could do the calculation, post the results in a file with a 'done' flag.

Slightly higher tech would be to use NetDDE. Microsoft's article explains: http://support.microsoft.com/default.aspx?scid=KB;en-us;q181946

0
 

Author Comment

by:reegs
ID: 8216201
Hi,

Thanks will try it out.

Will keep you informed

Reegs
0
 

Author Comment

by:reegs
ID: 8218120
With only a few points to offer Graham offered sound advice and it was really appreaciated

Many thanks again

Reegs
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Introduction to Processes

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question