473,399 Members | 3,832 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,399 software developers and data experts.

[How] return objects from FORM_A to FORM_B

Before, I post the quesiton about"how to pass parameter between two forms",
according to those kind people who answer my question. I did it sucessfully.
Now, I face another question is that.
Form A call Form B , and then FormB need to return the object or "string" to
form A and then dispose itself.
How can Form A get the return value ??

Thanks
FromAgnes

Nov 20 '05 #1
2 981
you could use parameters in your form a. But if you are passing and
returning a lot personnally i would use global variables in a module (quick
and dirty ;) ).

eric

"Agnes" <ag***@dynamictech.com.hk> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Before, I post the quesiton about"how to pass parameter between two forms", according to those kind people who answer my question. I did it sucessfully. Now, I face another question is that.
Form A call Form B , and then FormB need to return the object or "string" to form A and then dispose itself.
How can Form A get the return value ??

Thanks
FromAgnes

Nov 20 '05 #2
* "Agnes" <ag***@dynamictech.com.hk> scripsit:
Before, I post the quesiton about"how to pass parameter between two forms",
according to those kind people who answer my question. I did it sucessfully.
Now, I face another question is that.
Form A call Form B , and then FormB need to return the object or "string" to
form A and then dispose itself.
How can Form A get the return value ??


The sample will show how to do it with a 'DateTime' variable:

<URL:http://www.google.de/groups?selm=u5Y8SnOXDHA.1872%40TK2MSFTNGP12.phx.gb l>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #3

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

Similar topics

30
by: Christian Seberino | last post by:
How does Ruby compare to Python?? How good is DESIGN of Ruby compared to Python? Python's design is godly. I'm wondering if Ruby's is godly too. I've heard it has solid OOP design but then...
23
by: stewart.midwinter | last post by:
No doubt I've overlooked something obvious, but here goes: Let's say I assign a value to a var, e.g.: myPlace = 'right here' myTime = 'right now' Now let's say I want to print out the two...
25
by: cppaddict | last post by:
I'd like to know what goes on under the hood when methods return objects. Eg, I have a simple Point class with two members _x and _y. It's constructor, copy constructor, assignment operator and...
10
by: PengYu.UT | last post by:
Hi, Maybe this is an simple question. How can I insure that the objects of a class must be allocated in the heap? Thanks, Peng
1
by: ALI-R | last post by:
I have two different classes as follow and in my application I create two diiferent objects of them and I want to srialize those two objects into one XML file because they are related ,Is there an...
14
by: krishna1412 | last post by:
Currently i am working in a project of report generation in MS ACCESS. The tables are in sql server 2000. I have to write stored proc in ms access. Illustration: I am having a stored proc...
9
by: | last post by:
I am interested in scanning web pages for content of interest, and then auto-classifying that content. I have tables of metadata that I can use for the classification, e.g. : "John P. Jones" "Jane...
5
by: davenet | last post by:
Hi, I'm new to Python and working on a school assignment. I have setup a dictionary where the keys point to an object. Each object has two member variables. I need to find the smallest value...
2
by: Mysterydave | last post by:
Hi, I'm editing a database to make it easier for the user to input data. I have a large form (FORM_A), where a section is to fill in a contact name, address, telephone number and email. I have...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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
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
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.