By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,730 Members | 1,567 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,730 IT Pros & Developers. It's quick & easy.

Please help with .net problem

P: n/a
Greetings

I'm a .net newbie with a real problem.

In VB6, in order to change a property of an object on the Main Form from a
module, all you had to do was to implement something that looks like this:

MainForm.txt_MyData.Text="Change the Data"

How do you do this from a .net module.

I don't seem to be able to see any of the objects on the MainForm at all.

Thanks
Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"Tim Smith" <cu**********@yahoo.com> schrieb:
In VB6, in order to change a property of an object on the Main Form from a
module, all you had to do was to implement something that looks like this:

MainForm.txt_MyData.Text="Change the Data"

How do you do this from a .net module.


Providing a reference to an application's main form
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=accessmainform&lang=en>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.