|
|||||||
| Programming, Coding, (Web)Design Discuss all your programming or design needs with likeminded people. |
![]() |
|
|
Thread Tools |
|
|
#1 |
|
HardwareHeaven Senior Member
|
VB problem, writing to a label object
I've been to the VB threads , i didn't find what i was looking for,
i want to write to a form object (I'm using excel) from within the code kindof something like: labelObject.write(someText) this is how excel says i should do it labelObeject.Caption = someString this doesnt work however it doesnt write to the label object at all the reason I have the "someString" variable is because i want the label to change depending on conditions i wont mention here, coz that is a problem i got on lock Why is VB so annoying isnt it an OO its hierachy is so weird to me
__________________
Today's world is of public opinion and the fates of nations are determined through its pressure. Once the tools for building public opinion are obtained, everything that you asked for can be done. --- Osama bin Laden when relating how global media has the minds of the masses. ______________________________________ http://dawgxdenta.deviantart.com/gallery/ |
|
|
|
|
|
|
|
HardwareHeaven Senior Member
|
Re: VB problem, writing to a label object
Case anyone ends up here: here is how i managed
labelObject.Caption = Str$(someString) had to parse it works though
__________________
Today's world is of public opinion and the fates of nations are determined through its pressure. Once the tools for building public opinion are obtained, everything that you asked for can be done. --- Osama bin Laden when relating how global media has the minds of the masses. ______________________________________ http://dawgxdenta.deviantart.com/gallery/ |
|
|
|
|
|
#3 |
|
DriverHeaven Extreme Member
|
Re: VB problem, writing to a label object
Thanks for the feedback and cool. I was going to look at this on the weekend for ya the only time I have for this stuff.
Cheers
__________________
"My mom said the only reason men are alive is for lawn care and vehicle maintenance." - Tim Allen |
|
|
|
|
|
|
|
HardwareHeaven Senior Member
|
Re: VB problem, writing to a label object
vb is mindboggling, whats the deal with the dollar sign pfffffffff
__________________
Today's world is of public opinion and the fates of nations are determined through its pressure. Once the tools for building public opinion are obtained, everything that you asked for can be done. --- Osama bin Laden when relating how global media has the minds of the masses. ______________________________________ http://dawgxdenta.deviantart.com/gallery/ |
|
|
|
![]() |
| Thread Tools | |
|
|