Re: reference a vb.net windows form control from a module sub
From: Mike McIntyre [MVP] (mikemc_at_dotnetshowandtell.com)
Date: 06/25/04
- Next message: The Grim Reaper: "Re: Have you noticed ?"
- Previous message: Greg Young: "Re: Calling C DLL in Web Service using LoadLibrary/GetProcAddress?"
- In reply to: Mark D: "reference a vb.net windows form control from a module sub"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 25 Jun 2004 14:18:50 -0700
Do you know how to make a form variable visible to a module or class other
than the form?
If not this article should help:
-- Mike Mike McIntyre Visual Basic MVP www.getdotnetcode.com "Mark D" <anonymous@discussions.microsoft.com> wrote in message news:2ae401c4594a$5ff3c640$7d02280a@phx.gbl... > Hi > > Relative vb.net newbie here... I have a Windows Form > application with a few subroutines in a separate module. > From one of the subroutines, I want to get the value of a > label or text box on the form. As it is, I get > a "Reference to a non-shared member requires an object > reference." error message. I can't seem to figure out how > to tell the subroutine how to find and use the labels or > text boxes on the form. > > I'm sure there's an simple command I need to include, > just can't seem to find it, can someone help? > > Mark D > LandAmerica Data Center - Dallas >
- Next message: The Grim Reaper: "Re: Have you noticed ?"
- Previous message: Greg Young: "Re: Calling C DLL in Web Service using LoadLibrary/GetProcAddress?"
- In reply to: Mark D: "reference a vb.net windows form control from a module sub"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|