|
 |
asp_components thread: how to read/write value to object in VB6
Message #1 by "syahril" <mrshay@y...> on Mon, 5 Mar 2001 05:06:15
|
|
Hi!
I've created an exe file using VB6. It has a form with objects (such as
text box) and properties that change its text value using dde to
communicate to outside application. This seems to be no problem but how
can I read and write its value using ASP?
I'm trying to create a web application using ASP to read and write certain
value to the properties of the objects of my VB project (or .exe file) so
that it can send the value to another aplication using DDE property in VB.
So the webpage will view status it get from VB (or exe file) and update
when the file is running its dde service. Also, the webpage will allow
users to send certain value to the file (exe file) to change the property
of certain object so the file will update the outside aplication thru dde.
How do I :
- read a value from the object in the VB project (or .exe file)
- write a value to the object in the VB project (or .exe file)
Is it possible? Or is there any other way to do this?
I really need help...
Thanks...
Message #2 by "Peter Lanoie" <planoie@e...> on Mon, 5 Mar 2001 09:48:19 -0500
|
|
I suggest you create some classes for the tasks you want to perform (all
that DDE stuff) and package your code into a component DLL. This way, you
can create class objects in ASP and Assign/Retrieve data and call the
methods you need to perform your DDE functions. If you want to still be
able to use this code package locally on the server, you can just create a
EXE program that does basically the same thing that the ASP pages do, but
interfaces through VB forms instead of the web pages.
Look into some books on components. Or poke around some of the ASP sites and
you should be able to get a start on what you want to do.
Good Luck.
Peter
-----Original Message-----
From: syahril [mailto:mrshay@y...]
Sent: Monday, March 05, 2001 9:59 AM
To: ASP components
Subject: [asp_components] how to read/write value to object in VB6
Hi!
I've created an exe file using VB6. It has a form with objects (such as
text box) and properties that change its text value using dde to
communicate to outside application. This seems to be no problem but how
can I read and write its value using ASP?
I'm trying to create a web application using ASP to read and write certain
value to the properties of the objects of my VB project (or .exe file) so
that it can send the value to another aplication using DDE property in VB.
So the webpage will view status it get from VB (or exe file) and update
when the file is running its dde service. Also, the webpage will allow
users to send certain value to the file (exe file) to change the property
of certain object so the file will update the outside aplication thru dde.
How do I :
- read a value from the object in the VB project (or .exe file)
- write a value to the object in the VB project (or .exe file)
Is it possible? Or is there any other way to do this?
I really need help...
Thanks...
|
|
 |