473,473 Members | 1,816 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

conncting a form with another form

66 New Member
how to connect one from with another form .
for eg: if i adding 2 numbers; the numbers are given in the text boxes of one form and the result should be displayed in the 2nd form
Oct 15 '07 #1
4 980
debasisdas
8,127 Recognized Expert Expert
store the value of outout in a public variable declared in module
or
access the controls by the form name, while the first form is till loaded.
Oct 15 '07 #2
nev
251 Contributor
There's alot of approach to this. 1 is...

If you have TextBox1 & TextBox2 in Form1 and TextBox3 in Form2...

You can place code in a button in Form1 such that...

Private sub butt_clicked() handles butt.clicked()
Form2.TextBox3.Text = Cstr(val(Textbox1.Text) + val(TextBox2.Text))
End sub
Oct 15 '07 #3
rekhasc
66 New Member
There's alot of approach to this. 1 is...

If you have TextBox1 & TextBox2 in Form1 and TextBox3 in Form2...

You can place code in a button in Form1 such that...

Private sub butt_clicked() handles butt.clicked()
Form2.TextBox3.Text = Cstr(val(Textbox1.Text) + val(TextBox2.Text))
End sub
in my proj i have to display a graph in another form..
when i enter 2 dates in one form it should show the corresponding graph details in another form....
if u know the code plz send me
Oct 15 '07 #4
Ali Rizwan
925 Contributor
in my proj i have to display a graph in another form..
when i enter 2 dates in one form it should show the corresponding graph details in another form....
if u know the code plz send me
I think debasisdas's way is good.
But you can use the alternate ones.
Which way you want to use?

Now come to the second question.
in which way you want to show the graph?
Are you using some controls?
Making manually?

You can find some articles from articles.
Heres some links for this.
Manuall
Using Control

In case of any problem contact with debasisdas because these both articles are of debasis.

GOODLUCK
ALI
Oct 15 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: William Wisnieski | last post by:
Hello Everyone, Access 2000 I have a form with multiple pages on it. There is one text field on the third page of the form that I need the user to complete before leaving the form or moving...
2
by: ColinWard | last post by:
Hi. I have a form which has as its recordsource an SQL string. The SQL String is as follows: SELECT * from CONTACTS where false. this ensures that there is no data loaded in the form when the...
1
by: meganrobertson22 | last post by:
hi everybody- what is the best way to add data from one form to another? i have 2 tables: person and contract. here are some of the fields. table: person personid (autonumber and primary...
6
by: MP | last post by:
Hello I want to have a public property (and Brows able) in one control, I use this code: public System.Windows.Forms.Form recordForm get { return _recordForm;} set {_recordForm = value;}
8
by: Mike Caputo | last post by:
In VB.NET, need to be able to access certain properties on my main form from other forms. These are properties that may be changed by the user, so I have to be able to get to them throughout the...
18
by: Colin McGuire | last post by:
Hi - this was posted last weekend and unfortunately not resolved. The solutions that were posted almost worked but after another 5 days of working on the code everynight, I am not further ahead....
5
by: ortaias | last post by:
I have a form which calls up a second form for purposes of data entry. When closing the data entry form and returning to the main form, things don't work as expected. When I return to the main...
16
by: Mike | last post by:
Hi, I have a form with some controls, and a different class that needs to modify some control properties at run time. Hoy can I reference the from so I have access to its controls and...
5
by: Neil | last post by:
"lyle" <lyle.fairfield@gmail.comwrote in message news:48c3dde7-07bd-48b8-91c3-e157b703f92b@f3g2000hsg.googlegroups.com... Question for you. I'm doing something similar, only, instead of opening...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.