473,396 Members | 1,772 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

passing a label value from webform(.aspx) page to a vb6 form

Hi,

I have a vb6 form which has a label on it. When they click on that label it
will display the new web form and ask them to fill details. Once they fill
details it will give confirmation number. Can i pass this confirmation number
back to windows form and display it using Message box?

please let me know

Thanks,
Sridhar.
Dec 9 '05 #1
4 1462
You can save the confirmation number to the database from the webform and
then have the VB6 Windows application query the database record for this
confirmation number then display it.
--
HTH,
Phillip Williams
http://www.societopia.net
http://www.webswapp.com
"Sridhar" wrote:
Hi,

I have a vb6 form which has a label on it. When they click on that label it
will display the new web form and ask them to fill details. Once they fill
details it will give confirmation number. Can i pass this confirmation number
back to windows form and display it using Message box?

please let me know

Thanks,
Sridhar.

Dec 9 '05 #2
Hi,

I cannot do that because the database resides on the server. we install
this vb6 application on the client's computer and it does not have access to
the database.

Thanks,
Sridhar.

"Phillip Williams" wrote:
You can save the confirmation number to the database from the webform and
then have the VB6 Windows application query the database record for this
confirmation number then display it.
--
HTH,
Phillip Williams
http://www.societopia.net
http://www.webswapp.com
"Sridhar" wrote:
Hi,

I have a vb6 form which has a label on it. When they click on that label it
will display the new web form and ask them to fill details. Once they fill
details it will give confirmation number. Can i pass this confirmation number
back to windows form and display it using Message box?

please let me know

Thanks,
Sridhar.

Dec 9 '05 #3
The VB6 app is launching a web page that is also on the server, correct? That
means the page gets processed server side and thus it can indeed access the
database if the proper connection string is supplied to it (suggested to
store the con string in the web.config file).

--
-Demetri
"Sridhar" wrote:
Hi,

I cannot do that because the database resides on the server. we install
this vb6 application on the client's computer and it does not have access to
the database.

Thanks,
Sridhar.

"Phillip Williams" wrote:
You can save the confirmation number to the database from the webform and
then have the VB6 Windows application query the database record for this
confirmation number then display it.
--
HTH,
Phillip Williams
http://www.societopia.net
http://www.webswapp.com
"Sridhar" wrote:
Hi,

I have a vb6 form which has a label on it. When they click on that label it
will display the new web form and ask them to fill details. Once they fill
details it will give confirmation number. Can i pass this confirmation number
back to windows form and display it using Message box?

please let me know

Thanks,
Sridhar.

Dec 9 '05 #4
Never mind my last post, I was interpreting something else. Anyway, you can
have the vb6 app execute and parse the response of another web page who's
sole job is to get the new confirmation number and write it out for the vb6
app to parse.

Another solution would be the soap tool kit in the vb6 app and execute a web
service that returns the confirmation in xml.

Hope that gives you some ideas.

--
-Demetri
"Sridhar" wrote:
Hi,

I cannot do that because the database resides on the server. we install
this vb6 application on the client's computer and it does not have access to
the database.

Thanks,
Sridhar.

"Phillip Williams" wrote:
You can save the confirmation number to the database from the webform and
then have the VB6 Windows application query the database record for this
confirmation number then display it.
--
HTH,
Phillip Williams
http://www.societopia.net
http://www.webswapp.com
"Sridhar" wrote:
Hi,

I have a vb6 form which has a label on it. When they click on that label it
will display the new web form and ask them to fill details. Once they fill
details it will give confirmation number. Can i pass this confirmation number
back to windows form and display it using Message box?

please let me know

Thanks,
Sridhar.

Dec 9 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Ester | last post by:
I would like to accomplish the following task in WebForm.aspx I have a SQL SELECT query that INNER JOIN two tables (Device_Tbl and Detail_Tbl) which will return Device_BtnID Status Z_Index ...
2
by: Jaygo | last post by:
I want to get the values from various page links to a hidden field in a single online form. So if visitor A links to the form from apples.htm and visitor B links to the form from oranges.htm the...
2
by: sindre | last post by:
Hi, I have a form with many fields. And then I thought I could have two other forms similar but here is only the submit button visible. What I want is: if the user click on a submit button on a...
9
by: sifar | last post by:
Hi, I am right now learning PHP & want to know if there is a way to send web form data to an Excel sheet located on a network. My windows xp PC doesnot have a copy of Excel. Also i am not...
1
by: bill | last post by:
There are two buttons and a textbox in a webform page. I want to store the text in textbox to the database when the user type 'enter' in the textbox. How to make the button2_click event fired when...
1
by: LidorP | last post by:
Hello All, My problem is as follows: I have an assembly which holds a number of WebForms. In order to use these WebForms in my WebApplication i have to extract them out of the assembly (using...
1
by: Jim Bancroft | last post by:
I have a .Net component I'm experimenting with that has a method like so: public void CTest(System.Web.UI.Control myPage) { DataGrid myGrid= (DataGrid) myPage.FindControl("DataGrid1"); foreach...
2
by: Bob [BVP] | last post by:
I have a need to pass hidden form data on a Aspx form to a plain vanilla Asp page.. with it remaining hidden, and not using session/state cludges.. Thanks for any info. Bob
4
by: studentofknowledge | last post by:
I have a local html webform page and I would like to send this data to a local sql database. Is this even possible?
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.