HardwareHeaven.com

HardwareHeaven.com

Looking for the skin chooser?
 
 
  • Home

  • Hardware reviews

  • Articles

  • News

  • Tools

  • Gaming at HardwareHeaven

  • Forums

 

Go Back   HardwareHeaven.com > Forums > Software / Tools > Programming, Coding, (Web)Design


Programming, Coding, (Web)Design Discuss all your programming or design needs with likeminded people.

Reply
 
Thread Tools
Old Apr 27, 2009, 01:35 PM   #1
HardwareHeaven Senior Member
 
dawgXdenta's Avatar
 
Join Date: Apr 2008
Location: Gabz
Posts: 1,995
Rep Power: 135
dawgXdenta is godlike in his statusdawgXdenta is godlike in his statusdawgXdenta is godlike in his statusdawgXdenta is godlike in his statusdawgXdenta is godlike in his statusdawgXdenta is godlike in his statusdawgXdenta is godlike in his statusdawgXdenta is godlike in his statusdawgXdenta is godlike in his statusdawgXdenta is godlike in his statusdawgXdenta is godlike in his status
System Specs

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/
dawgXdenta is offline   Reply With Quote


Old Apr 29, 2009, 09:19 PM Threadstarter Thread Starter   #2
HardwareHeaven Senior Member
 
dawgXdenta's Avatar
 
Join Date: Apr 2008
Location: Gabz
Posts: 1,995
Rep Power: 135
dawgXdenta is godlike in his statusdawgXdenta is godlike in his statusdawgXdenta is godlike in his statusdawgXdenta is godlike in his statusdawgXdenta is godlike in his statusdawgXdenta is godlike in his statusdawgXdenta is godlike in his statusdawgXdenta is godlike in his statusdawgXdenta is godlike in his statusdawgXdenta is godlike in his statusdawgXdenta is godlike in his status
System Specs

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/
dawgXdenta is offline   Reply With Quote
Old Apr 30, 2009, 12:39 AM   #3
DriverHeaven Extreme Member
 
Mac Daddy's Avatar
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 7,950
Rep Power: 79
Mac Daddy is a glorious beacon of lightMac Daddy is a glorious beacon of lightMac Daddy is a glorious beacon of lightMac Daddy is a glorious beacon of lightMac Daddy is a glorious beacon of light
System Specs

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
Mac Daddy is offline   Reply With Quote
Old Apr 30, 2009, 01:38 PM Threadstarter Thread Starter   #4
HardwareHeaven Senior Member
 
dawgXdenta's Avatar
 
Join Date: Apr 2008
Location: Gabz
Posts: 1,995
Rep Power: 135
dawgXdenta is godlike in his statusdawgXdenta is godlike in his statusdawgXdenta is godlike in his statusdawgXdenta is godlike in his statusdawgXdenta is godlike in his statusdawgXdenta is godlike in his statusdawgXdenta is godlike in his statusdawgXdenta is godlike in his statusdawgXdenta is godlike in his statusdawgXdenta is godlike in his statusdawgXdenta is godlike in his status
System Specs

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/
dawgXdenta is offline   Reply With Quote
Reply

Thread Tools