Frustration! Too simple: access a control on another form.
Hello,
This is horrible, I am making quite a difficult program and I can't solve a very basic problem. I hate it when that happend. *sigh*
Anyways, I have two forms: frmMain and frmUpload.
I use frmUpload to upload pictures to an FTP server, but I need to know where on the server. So there is an Internet Transfer Control on frmMain which has a '.URL'-property which contains that information, but somehow I can't seem to get it. All I get is errors.
With VB6 this was easy: sSomeString = frmMain.inet.URL, but everything I try with .NET fails and all my MSDN and VBForums searches did not give me any information about this either.
So, please tell me how to do this, however obvious it is. :)
Thanks.
Re: Frustration! Too simple: access a control on another form.
Hi,
You've been a member of this forum for 4 years and you don't search before posting a question :cry:
This question comes up at least once a week.
http://www.vbforums.com/showthread.php?t=313050
Re: Frustration! Too simple: access a control on another form.
Quote:
Originally Posted by taxes
I did search, a lot of times. With MSDN, VBForums AND Google, but apperantly I kept using the wrong search words...
And thanks for the answer.
Re: Frustration! Too simple: access a control on another form.
Hi,
You're welcome. I tried to make the thread title as wide as possible to enable it to be caught by searches. I'll add a couple more words to see if that helps.
Re: Frustration! Too simple: access a control on another form.
3 years.. but who is counting :bigyello:
Re: Frustration! Too simple: access a control on another form.
Quote:
Originally Posted by kleinma
3 years.. but who is counting :bigyello:
I can count up to 20 if I take my shoes & socks off :wave:
Re: Frustration! Too simple: access a control on another form.
Quote:
Originally Posted by taxes
I can count up to 20 if I take my shoes & socks off :wave:
hmmmm.... what comes after 5? :p
Re: Frustration! Too simple: access a control on another form.
Quote:
Originally Posted by Grunt
hmmmm.... what comes after 5? :p
My left foot infected toenail :bigyello: