Solved

Communication between two separate VB applications

Posted on 2006-07-05
9
695 Views
Last Modified: 2013-12-25
Hello Experts,

I have a VB application on one computer that zips-up some data then transmits it to another computer where another VB application unzips it and puts it where its supposed to go. I communicate between the two applications by creating and deleting text files then having the other application read for instructions. My method works well enough. My question is to know if there is a better more elegant way of communicating?

Keith
0
Comment
Question by:dominica526
  • 3
  • 2
9 Comments
 
LVL 15

Expert Comment

by:JackOfPH
ID: 17048635
what did you use? winsock, ftp, inet etc...? you can read more information at www.vbip.com
0
 
LVL 18

Accepted Solution

by:
JR2003 earned 500 total points
ID: 17065072
If you have the enterprise version of VB6 you can use DCOM.
0
 

Author Comment

by:dominica526
ID: 17067836
JackOfPH,

I use an inet object to transmit the files. I went to the link you provided and was blown away by all the information. I really hope I can find the time to read-up on the WinInet functions. I’m not sure if it is the same thing I am currently using to transmit my files, in any event I can transmit without much problem.
0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 

Author Comment

by:dominica526
ID: 17067838
JR2003,

I don't really know what DCOM is but I am going to take a look right now. Why do you think DCOM would help me?
0
 

Author Comment

by:dominica526
ID: 17069218
Yep I think DCOM is what I am looking for!! How about a some info on how to use it? I found tons of stuff. How about something simple to read??
0
 
LVL 18

Expert Comment

by:JR2003
ID: 17069620
There should be a simple example in the VB sample code that comes with vb.
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

808 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