i am creating a simple project in vb6 to send and receive data in the program, but the requirement is to use a class to do all processing work,leaving the main form just to display.
Basically I put a winsock icon on the form1, then thru the class I am able to do connection and disconnection just by using a public sub in the class.
But the dataarrival event could not trigger outside the mainform. Is there a way to do this?
Look at his location: it's not a modern developed country. What type of computers do you think they use?
And by the way, last year one of our customers - in rich Germany! - inquired if we supported Windows 2000.
.Net programs won't run on Windows 95, do they?
Look at his location: it's not a modern developed country
It is just up the road from me and it is not a 3rd world country (I did check first). His requirement to extend a legacy app (not indicated in his first post) is the only reason for trying to build something in VB6.
Bernhard Hiller wrote:
inquired if we supported Windows 2000
I wonder if you build manufacturing apps, I can imagine some control systems still running such ancient equipment.
Never underestimate the power of human stupidity
You need a class where you create the winsock control through code instead of using the one on the form. Then you'll have to wireup the data received event using delegates so that it calls into your class.
Or, you leave it on the form and when it receives data it passes it to a method in your class where all the work is done.
There are only 10 types of people in the world, those who understand binary and those who don't.
After successfully inject .dll file into a target process, i' would like to run it but how can i do this !!
I' know how to do it into my application by adding the dllMain() function ...
But in the target process how can it be achived ??
I read many articles talking about windows Hook but i would like to understand the method !
Hey, hopefully this doesn't come across as the dumbest question ever but anyway ...
I need to make a webpage access and control a visual basics program on the user's computer. A simple example would be upon clicking a button on the website the visual basics program would start/open then execute certain code ...
Also if possible I need this process to not be visible to the user?
Does anyone have any tips/pointers or even direct me to a great tutorial for it somewhere?
If this is is the wrong area - sorry. Was unsure where to post since it involves several languages. If you want to see the site to understand what I mean it's here.
Maybe someone could suggest a different language or solution please.
Thank you in advance!
Gabby Mills - I'm always learning something new
Projects : - Ticket Site
There maybe some acceptable uses of such an architecture. We use it for an integration into a browser-run hospital information system. A web page of that HIS contains a link with a special protocol, and that protocol is connected with our application.
For this to work, you need to install the VB program on the local machine, and also register your protocol. Take a look at the registry at HKEY_CLASSES_ROOT\http or https or ftp for examples how a browser gets started when a webpage is to be opened.
Last Visit: 31-Dec-99 18:00 Last Update: 28-Aug-14 2:29