473,405 Members | 2,294 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,405 software developers and data experts.

VB.NET - Placing text in a textbox on a child form from another child form

28
On an MDI application in VB.NET, I have one child form with a multiline text box.

I am opening another child form, from the first form, as a "help" to create a SQL statement on the first form, by double-clickiing on field names in a listview.

In VB6 it was possible to send the field name clicked on to the textbox on the first form, but I can't get that to work in VB.NET.

Has anyone any ideas, please?
Jun 27 '07 #1
2 1996
vinci
62
On an MDI application in VB.NET, I have one child form with a multiline text box.

I am opening another child form, from the first form, as a "help" to create a SQL statement on the first form, by double-clickiing on field names in a listview.

In VB6 it was possible to send the field name clicked on to the textbox on the first form, but I can't get that to work in VB.NET.

Has anyone any ideas, please?
i really didnt understood ur question but i think u want to place the text value from the mdichild1 to another mdichild2...

i think u need to create an instance of the mdichild2 in mdichild1 in order to access any control in mdichild2 like the textbox...

i dont know if this is what ur looking for but i hope this helps

enjoy coding,

vinci
Jun 29 '07 #2
MickT
28
i really didnt understood ur question but i think u want to place the text value from the mdichild1 to another mdichild2...

i think u need to create an instance of the mdichild2 in mdichild1 in order to access any control in mdichild2 like the textbox...

i dont know if this is what ur looking for but i hope this helps

enjoy coding,

vinci
Thanks Vinci. I have tried "frmQueries = new frm Query" but although the textbox seems to hold the value inserted, it isn't displayed. I've tried "Application.DoEvents" but that doesn't help either.
Jun 29 '07 #3

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

Similar topics

2
by: JayDee | last post by:
After a user enters data into a field, I need to populate other controls on the form, based on the user entry. I have to use either Leave, Validating or Validated, and I take it I can't use...
11
by: bala | last post by:
hi!!! i need to display a disclaimer which is two page in length in a word document. i also need to format the text. the idea is something as follows on opening the application, a form which...
16
by: Adda | last post by:
If I cycle through the MdiChildActivate event of the parent form I can read text in a textbox on the child mdiform -- console.writeline(Me.ActiveMdiChild.Controls(1).Text) But if I have a sub...
2
by: Nathan Sokalski | last post by:
I have a multiline TextBox that I want to display the text used to create a control in an apsx file. I want each of these to be on a separate line in the TextBox. The only way I know of to place...
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
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
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
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.