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

Pass form2 button click "date time" to a text box on form 1 that is within a user con

I have tried so many different ways to do this.
I am using vb I'm a newbie but resourceful, this has to have been answered elsewhere but I wasn't able to it.

Basically I have. A button on form2 when clicked I need it to date stamp a text box that is in a user control " user control being a child form on form1 there are 7 total that are called and removed as the ap is used" mainformname.usercontrolname.textboxname.text = date time now
It refuses to allow it
But if I put that text box directly on the main form
Mainformname.textboxname.text = date time now it works perfectly fine

How do I point to the text box that is on a user control
I tried usercontrolname.textbox.text with no luck.
May 8 '14 #1
1 1134
Robin25
22
Try to post your code
May 13 '14 #2

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

Similar topics

3
by: Cary Linkfield | last post by:
I have a standard form I use. It inherits from Windows.Forms.Form. I usually add a Cancel button the form in the designer. I want to raise the Cancel button's Click event when the user presses...
6
by: Saso Zagoranski | last post by:
Hi! I have a question regarding Windows Forms... Let's say I have two forms... MainForm and FormTwo... is it possible, when I open FormTwo from MainForm, to display FormTwo inside MainForm...
1
by: sachin | last post by:
How to check Maximize button click event of a Form or how to check whether present size of form is maximum available size
7
by: Jon | last post by:
I am having a brain drought here. I used to code in VB until about 3 years ago. I guess it's not quite like a bicycle because man i feel dumb :) Here, quickly, is what i am trying to...
3
by: GauravGupta | last post by:
i want to know that is it posible to call button click event before page load event on post back.... please help me....
5
by: =?Utf-8?B?Umljaw==?= | last post by:
I have a form FormA with a button Button1; I use SetParent(FormB.Handle, this.Handle) to load FormB inside FormA. FormB also has a button Button1 which displays a messagebox. When Button1 is...
1
by: ChiLurker | last post by:
I want to have the browser to be directed to a certain url upon button click with the text inserted into the textbox place into the url, and I'm stumped. for example-...
0
by: indona | last post by:
hi....i have a form on which i have a button, on button click another form opens. now i want to add a grid view control to the second form which opens on button click. the code is like this: ...
1
by: snehasismishra1 | last post by:
Hi, I have two forms. Let say, form1 and form2. in form1 class, i have method ChangeColor() and i am calling this method in button click event of form2. But it is not changing the color of form2....
3
by: Celal | last post by:
Hello, I'm still using Access 2003 as I find it more "developer friendly" than "user friendly". I really didn't use openargs much, only to pass variables but not to do an action. Now I have a...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
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...
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...

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.