View Single Post
Old 05-22-2006, 10:52 AM   #1 (permalink)
SirLance
Junkie
 
SirLance's Avatar
 
Location: In the middle of the desert.
VB .Net -- manipulating a status bar from a module

I'm new to .net and I'm a bit frustrated by something.

In VB 6, if I put a status bar on a form, and I want to change it's .txt property from another form or a module, I'd say form1.statusbar.txt = "The Text".

If I try something similar in .net, it doesn't work. The message is "reference to a non-shared member requires an object reference."

OK, fine. I don't give a crap. All I'd like to do is change the form's status bar's text from someplace other than in the form. Can someone give me an example?

TIA!
__________________
DEMOCRACY is where your vote counts, FEUDALISM is where your count votes.
SirLance is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73