Results 1 to 8 of 8

Thread: Frustration! Too simple: access a control on another form.

  1. #1

    Thread Starter
    Fanatic Member arsmakman's Avatar
    Join Date
    Dec 2001
    Location
    Leiden, Netherlands.
    Posts
    719

    Angry 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.
    No matter how fool-proof your program is, there will always be a better fool.

    Was a post helpful to you? Rate it!

  2. #2
    PowerPoster
    Join Date
    Dec 2003
    Location
    Bristol, England (but heart is in Virginia)
    Posts
    2,949

    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

    This question comes up at least once a week.

    http://www.vbforums.com/showthread.php?t=313050
    Taxes
    The more I learn about VB.NET the more I like dBaseIII Plus

    The foregoing, whilst believed to be correct, is given without guarantee as to it's accuracy and entirely without recourse. You are required to decide for yourself whether or not it is suitable for your purposes and no liability for loss of any nature can be entertained.

  3. #3

    Thread Starter
    Fanatic Member arsmakman's Avatar
    Join Date
    Dec 2001
    Location
    Leiden, Netherlands.
    Posts
    719

    Re: Frustration! Too simple: access a control on another form.

    Quote Originally Posted by taxes
    Hi,

    You've been a member of this forum for 4 years and you don't search before posting a question

    This question comes up at least once a week.

    http://www.vbforums.com/showthread.php?t=313050
    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.
    No matter how fool-proof your program is, there will always be a better fool.

    Was a post helpful to you? Rate it!

  4. #4
    PowerPoster
    Join Date
    Dec 2003
    Location
    Bristol, England (but heart is in Virginia)
    Posts
    2,949

    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.
    Taxes
    The more I learn about VB.NET the more I like dBaseIII Plus

    The foregoing, whilst believed to be correct, is given without guarantee as to it's accuracy and entirely without recourse. You are required to decide for yourself whether or not it is suitable for your purposes and no liability for loss of any nature can be entertained.

  5. #5
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: Frustration! Too simple: access a control on another form.

    3 years.. but who is counting

  6. #6
    PowerPoster
    Join Date
    Dec 2003
    Location
    Bristol, England (but heart is in Virginia)
    Posts
    2,949

    Re: Frustration! Too simple: access a control on another form.

    Quote Originally Posted by kleinma
    3 years.. but who is counting
    I can count up to 20 if I take my shoes & socks off
    Taxes
    The more I learn about VB.NET the more I like dBaseIII Plus

    The foregoing, whilst believed to be correct, is given without guarantee as to it's accuracy and entirely without recourse. You are required to decide for yourself whether or not it is suitable for your purposes and no liability for loss of any nature can be entertained.

  7. #7
    Hyperactive Member Grunt's Avatar
    Join Date
    Oct 2004
    Location
    Las Vegas
    Posts
    499

    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
    hmmmm.... what comes after 5?

  8. #8
    PowerPoster
    Join Date
    Dec 2003
    Location
    Bristol, England (but heart is in Virginia)
    Posts
    2,949

    Re: Frustration! Too simple: access a control on another form.

    Quote Originally Posted by Grunt
    hmmmm.... what comes after 5?
    My left foot infected toenail
    Taxes
    The more I learn about VB.NET the more I like dBaseIII Plus

    The foregoing, whilst believed to be correct, is given without guarantee as to it's accuracy and entirely without recourse. You are required to decide for yourself whether or not it is suitable for your purposes and no liability for loss of any nature can be entertained.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width