Languages Visual Basic & VB.NET Visual Basic DDE  

Winsock based inter-application communication

download download  
important code information
author:
Mark Mokoski
minimum requirements:
Winsock based inter-application communication description

This is an example I did for another PSC member. Others might find it useful. Simple application to demonstrate a method of inter-application communication with the use of the Winsock control. Project is in two parts. Part one is the receive or “Host” application. The Host listens in it's IP address on a port that is set from the Host Form (default is port 8000). Part two is the transmit or “Client” application. When the “send” button is pressed, the Client connects to the Host, then sends data contained in the text box controls to the Host. The Host receives data one “control” at a time in a Ping-Pong fashion. First the control ID is sent, then acknowledged to the Client (“ACK”), then the Client sends the controls data and the Host sends a acknowledgement. This is repeated until all control data is sent to the Host. The Client then disconnects from the host. The “Change” event for the controls on the Host can then be used to process the newly arrived data. Both applications can be on the same computer (use the loopback address 127.0.0.1), On different computers on your network, or even used over the public internet (not withstanding router, firewall and NAT translation settings). No API's, no custom controls, just the tools that came with VB6 I hope you fine this useful.


File List:
Receive App/0b
Receive App/ProjectRCV.vbp1Kb
Receive App/frmRCV.frm12Kb
Receive App/frmRCV.frx2Kb
Transmit App/0b
Transmit App/ProjectXMIT.vbp1Kb
Transmit App/frmXMIT.frm15Kb
Transmit App/frmXMIT.frx2Kb

Similar code
Small GOLDMINE DDE Example (Popularity: ) : This small app will show you haw to send DDE instructions to GoldMine. It is intended to show the basic principle of using DDE to control GoldMine and get a foot on the ladder in DDE with GoldMine. GoldMine is ...
A mIRC DDE Example (Popularity: ) : (Added the OCX's. sysmon.ocx is NOT needed for the project to work.) The DDE function of this program was borrowed from another mIRC DDE app. This one goes a few steps further. Those who use DalNET know about the Services, ...
Webcamera MotionDetect (Popularity: ) : It is Surveillance camera. If something is moving front of your webcamera this takes pictures of it.
Check LInks (Popularity: ) : You can be pretty sure that www.microsoft.com will always be a valid link, but many other web links tend to come and go as their authors move on, get bored, or whatever. If you maintain a web page with lots ...
XPize IDE - XP Controls at design time (Popularity: ) : Look at the Screenshot! Give your VB's IDE a new look. Witout writing a single line, you can design your apps in a realtime XPized IDE. All your .vbp projects are also XPized so don't worry.
MSN Chat Script - Exploit (Popularity: ) : This is just a piece of code, for you MSN mIRC Chat Script User's. You just load it on startup of mIRC, and use commands like, /dde -e UltraDDE Login Load Exploit That will load the Exploit (.HTML) File without ...
IRC IP grabber (via DDC) (Popularity: ) : Basicly just grabs IP's via IRC by sending them a DCC request, their mirc connects to your PC, and my IP grabber grabs it. Also uses DDE to communicate directly with mirc
Getright Download checker (Popularity: ) : This code shows how to find out what files you are downloading using getright at what speed and estimated time left... simple code can be modified to make alsorts of programs. cool quick to use. a must have for anyone ...
Prevent more than one instance (Popularity: ) : Prevent other instances of your application from running. When an attempt to open a new instance is made, the first instance of the application is displayed (even if hidden or minimized) and any command line arguments are passed in the ...
Link Monitor (Popularity: ) : This program monitors internet browsers and extracts current web addresses from them by DDE (dynamic data exchange) technology. It's now in version 2.2. Importing & exporting saved link feature has been added.
User reviews

Write a review:
1 2 3 4 5 6 7 8 9 10
1=poor 10=excellent
Write review*
Your name*
Email*
  (Comments are moderated, and will not appear on this site until the editor has approved them)
 
Rate me
supported os
stats
downloads 71
version
size in Kb 9
popularity   2011/7913374
user rating 5/10
ad


New Code
Popular Code