473,394 Members | 1,817 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,394 software developers and data experts.

Functions between forms

How can i access to another form
Jun 26 '07 #1
9 1104
How can i access to another form


first u create one object

dim fr as new form2

button--click

fr.show()
Jun 26 '07 #2
Lokean
71
How can i access to another form
You need to use an event handler.

http://www.xtremevbtalk.com/archive/index.php/t-147563.html
Jun 26 '07 #3
Motoma
3,237 Expert 2GB
How can i access to another form
Your question is quite obtuse. If the answers you have received are not sufficient, please elaborate on what you are trying to accomplish. Giving more detail allows the experts to better understand and solve your problem.
Jun 26 '07 #4
You need to use an event handler.

http://www.xtremevbtalk.com/archive/index.php/t-147563.html
in te active form, the function of the form behind (non-active) using. refresh or update of the form.
the application is a schedule, you give a new appiontment, de form behind must refresh
Jun 27 '07 #5
n te active form, the function of the form behind (non-active) using. refresh or update of the form.
the application is a schedule, you give a new appiontment, de form behind must refresh
Jun 27 '07 #6
Motoma
3,237 Expert 2GB
n te active form, the function of the form behind (non-active) using. refresh or update of the form.
the application is a schedule, you give a new appiontment, de form behind must refresh
There are a number of ways to do this, you can use a callback, pass a message, or give the child form access to the parent form's functions.
Jun 27 '07 #7
There are a number of ways to do this, you can use a callback, pass a message, or give the child form access to the parent form's functions.
in c# is there a callback, and how cna you give access to a parent form
Jun 27 '07 #8
thanks to all
I resolve the problem with this code
_parentopendatabestand is the function I need in the form1

private Form1 _parent;

public new_( Form1 Form1)
{
InitializeComponent();
_parent = Form1;

}
btt_click()
_parent.opendatabestand(dat2, tabelnamen._QR_naam, tabelnamen.selct_naam);
Jun 28 '07 #9
Motoma
3,237 Expert 2GB
Glad to hear you have found the answer to your question. Thank you for posting the solution, and come back any time you have a question or feel like helping out.
Jun 28 '07 #10

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

Similar topics

99
by: David MacQuigg | last post by:
I'm not getting any feedback on the most important benefit in my proposed "Ideas for Python 3" thread - the unification of methods and functions. Perhaps it was buried among too many other less...
0
by: Anthony Baxter | last post by:
To go along with the 2.4a3 release, here's an updated version of the decorator PEP. It describes the state of decorators as they are in 2.4a3. PEP: 318 Title: Decorators for Functions and...
5
by: Sue | last post by:
After finishing up my first quarter JavaScript on 12/12/03, I decided to improve character checking on my project. In my project I only had to do very basic validation. Therefore, I only had one...
4
by: Leon | last post by:
Hi! Is it possibile to get names and types of functions, subs and variables included in modules and forms VB code? The reason - I must to create documentation of application. I would to...
30
by: Will Pittenger | last post by:
Does C# inline functions? I do not see a inline keyword. Is there an implicit inline? Can the compiler select functions for auto-inlining? I am more used to C++ where all these things are...
19
by: juli jul | last post by:
Hello, I would like to know if there is a function which is running during the runtime of my program all the time and where I could place events overloading and things I need to check during the...
7
by: Gustavo L. Fabro | last post by:
Greetings! Some classes that once compiled without problems on VS 2003 have now problems on VS 2005 Beta 1. I'm talking about a __nogc class that is exported with __declspec(dllexport). The...
0
by: Toby Inkster | last post by:
Like me, you are probably confronted with many requests for surveys, questionnaires, feedback forms, registration forms and so forth: forms where the processing requirements are very simple (store...
13
by: Mark | last post by:
are there functions in c# for just members of a class myclass.Method/function Thanks Mark
20
by: J de Boyne Pollard | last post by:
MThe library functions which are included to allow process Mlaunch, forking, and termination, imply that it is both Mpossible and desirable for a process to fork itself. This is Ma fundamental...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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
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
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.