visual basic and stamp values
Archiver
Posts: 46,084
Hi!
I have managed to get the values from the stamp into vb....
but now i wonder how i get 1 value to show in "label1" and 2:nd
value to show in label2
regards
Robert
I have managed to get the values from the stamp into vb....
but now i wonder how i get 1 value to show in "label1" and 2:nd
value to show in label2
regards
Robert
Comments
where lblLabel1 is the exact name of your label and XXXXXX is the name of the
variabe / string that holds your value.
If this is numeric you may want to use
lblLabel1.Caption = CInt(XXXXXXX)
which is convert to integer
ken
Hi!
I have managed to get the values from the stamp into vb....
but now i wonder how i get 1 value to show in "label1" and 2:nd
value to show in label2
regards
Robert
[noparse][[/noparse]Non-text portions of this message have been removed]
-- Jon Williams
-- Parallax
Original Message
From: robanowitch2000 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=EI7_Y12qf8167EiCWJYf58bvrW21Y6BXfxxl2p472-vz5O2LkYHZfYftDgEGDeE7ZKMWMybC7vOIMqhYPqq4frgNPg]robert.bohlin@b...[/url
Sent: Monday, March 22, 2004 12:16 PM
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] visual basic and stamp values
Hi!
I have managed to get the values from the stamp into vb....
but now i wonder how i get 1 value to show in "label1" and 2:nd
value to show in label2
regards
Robert
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject
and Body of the message will be ignored.
Yahoo! Groups Links
This message has been scanned by WebShield. Please report SPAM to
abuse@p....
http://www.rentron.com/VisualBasic.htm
for an excellent tutorial on working with stamps and VB.
ken
Hi!
I have managed to get the values from the stamp into vb....
but now i wonder how i get 1 value to show in "label1" and 2:nd
value to show in label2
regards
Robert
[noparse][[/noparse]Non-text portions of this message have been removed]
Is it correct with the commandstring "serout 16,84,[noparse][[/noparse]dec,temp,",",dec
light,cr] in pbasic?
or do i have to use another string to then split it in VB?
Robert
--- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
wrote:
> That's a VB question -- please take it to a VB forum.
>
> -- Jon Williams
> -- Parallax
>
>
>
Original Message
> From: robanowitch2000 [noparse][[/noparse]mailto:robert.bohlin@b...]
> Sent: Monday, March 22, 2004 12:16 PM
> To: basicstamps@yahoogroups.com
> Subject: [noparse][[/noparse]basicstamps] visual basic and stamp values
>
>
> Hi!
>
> I have managed to get the values from the stamp into vb....
> but now i wonder how i get 1 value to show in "label1" and 2:nd
> value to show in label2
>
> regards
> Robert
>
>
>
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the
Subject
> and Body of the message will be ignored.
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
> This message has been scanned by WebShield. Please report SPAM to
> abuse@p...
receive the values as a string and then use the VAL function to extract
the numeric values if you want to do any processing with them. If just
for display in a label, you can assign the string to the label's
caption.
-- Jon Williams
-- Applications Engineer, Parallax
-- Dallas Office
Original Message
From: robanowitch2000 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=R2nA7OB-udBeA_W4yEUyD9M90j5WkhEr7jq8vdnjI0G5HdbpaqEJrjoZ0czoHQL3THv4LeA9vUdcNqspey1HeZ_wq3iz]robert.bohlin@b...[/url
Sent: Tuesday, March 23, 2004 3:02 AM
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] Re: visual basic and stamp values
ok,i will,just one question.
Is it correct with the commandstring "serout 16,84,[noparse][[/noparse]dec,temp,",",dec
light,cr] in pbasic?
or do i have to use another string to then split it in VB?
Robert
--- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
wrote:
> That's a VB question -- please take it to a VB forum.
>
> -- Jon Williams
> -- Parallax
>
>
>
Original Message
> From: robanowitch2000 [noparse][[/noparse]mailto:robert.bohlin@b...]
> Sent: Monday, March 22, 2004 12:16 PM
> To: basicstamps@yahoogroups.com
> Subject: [noparse][[/noparse]basicstamps] visual basic and stamp values
>
>
> Hi!
>
> I have managed to get the values from the stamp into vb.... but now i
> wonder how i get 1 value to show in "label1" and 2:nd value to show in
> label2
>
> regards
> Robert
>
>
>
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the
Subject
> and Body of the message will be ignored.
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
> This message has been scanned by WebShield. Please report SPAM to
> abuse@p...
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject
and Body of the message will be ignored.
Yahoo! Groups Links
This message has been scanned by WebShield. Please report SPAM to
abuse@p....
connection. You could, of course, send raw values and process them in VB
accordingly. This article will help:
http://www.parallax.com/dl/docs/cols/nv/vol3/col/nv89.pdf
-- Jon Williams
-- Applications Engineer, Parallax
-- Dallas Office
Original Message
From: Robert Bohlin [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=F3yyMeC420OYi-rcHSLPBers79LGcQC80O7lJP93UhzFGk7xks1tCuM_bwKKRfsjsYRzuv_xDTrRpIj1OaeLRM-K6jRw]robert.bohlin@b...[/url
Sent: Tuesday, March 23, 2004 2:22 PM
To: basicstamps@yahoogroups.com
Subject: SV: [noparse][[/noparse]basicstamps] Re: visual basic and stamp values
Is there more simple ways exept the dec modifiers?
Ursprungligt meddelande
Fr
* What's A Microcontroller?
* StampWorks
Please download and peruse ... they'll get you a long way.
-- Jon Williams
-- Applications Engineer, Parallax
-- Dallas Office
Original Message
From: Robert Bohlin [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=EAdX_Q9sptOW-1Pr4Do4L6ixjRy73OVzQeg1_DztBJN-wGVb74Y9T2tn8zgh7xzbsenky8QVP4b689kiZuoh_VCcU2o]robert.bohlin@b...[/url
Sent: Tuesday, March 23, 2004 12:02 PM
To: basicstamps@yahoogroups.com
Subject: SV: [noparse][[/noparse]basicstamps] Re: visual basic and stamp values
Could you give me an example....i am pretty new at this
Ursprungligt meddelande
Fr