Re: VB6: How can I to convert text control value to a numeric value?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



"Carlos Villaseñor M." <cvmdiseno@xxxxxxxxxxx>'s wild
thoughts were released on Wed, 26 Jul 2006 01:53:53 -0500
bearing the following fruit:

Hi everybody!

I tried to using a text control and I need to use its numeric value, first I
need to know wich function can converts a numeric text value to integer
and/or decimal. I tried to use n=CInt(Val(textControl.text)), but appears
the error number 6 (overflow error).


please do not Mulipost - please read up on what multiposting
is and you'll see why you should not do it.


Jan Hyde (VB MVP)

--
Realize: Those you can see with. (Stan Kegel)

.



Relevant Pages

  • Re: ListView selection problem
    ... bearing the following fruit: ... >Now, the list view keep the selection, but when control loses focus, the ... >item selection becomes gray.... ...
    (microsoft.public.vb.general.discussion)
  • Re: ListView selection problem
    ... bearing the following fruit: ... >Now, the list view keep the selection, but when control loses focus, the ... >item selection becomes gray.... ...
    (microsoft.public.vb.controls)
  • Re: ListView selection problem
    ... bearing the following fruit: ... >Now, the list view keep the selection, but when control loses focus, the ... >item selection becomes gray.... ...
    (microsoft.public.vb.winapi)
  • Re: VB6: How can I to convert text control value to a numeric value?
    ... bearing the following fruit: ... I tried to using a text control and I need to use its numeric value, ... need to know wich function can converts a numeric text value to integer ...
    (microsoft.public.vb.general.discussion)
  • Re: Is a prescription needed to buy test strips?
    ... that in a large enough study there'll be enough correlation for the ... Normal healthy unimpaired BG control not only can't easily be ... Even fruit in the wild is scrawny and much less sweet than our commercial ...
    (alt.support.diabetes)