Re: Variable too small? Overflow

Tech-Archive recommends: Fix windows errors by optimizing your registry



On Thu, 26 Jan 2006 21:56:51 GMT, "David J Mark"
<nntp45534-22@xxxxxxxxxxxx> wrote:


"Penelope" <penelope@penelope> wrote in message
news:egCIGhrIGHA.3728@xxxxxxxxxxxxxxxxxxxxxxx
How to cast number: 3874355765 ?
Is it possible to store that as a number (DWORD) in registry
or the only way is to use a string variable?

Of course you can. You just can't express it as 3874355765 in VB.

You cloud store it as a string and do calculations on it by casting
selected parts of it.
See Karen's PowerTools, where she made a small calculator in VB (with
source code) that does not overflow.

**********************************************************************
Richmann@xxxxxxxxxxxx

Dog thinks: they feed me, they take care of me: they are gods.
Cat thinks: they feed me, they take care of me: I am god.
http://www3.sympatico.ca/richmann/
http://www.geocities.com/richmannsoft/
**********************************************************************
.



Relevant Pages

  • Re: anti-stain liquid
    ... about sensitivities. ... Should I care if Ray kill files me? ... the world would you store it somewhere that it can be attacked by ... Youghiogheny stores all their glass OUTSIDE YEAR AROUND!! ...
    (rec.crafts.glass)
  • Re: Info Not updating in table when calculation done in form.
    ... If you store it, it will be wrong ... You can use the table data in a query and can ... perform calculations as well in that query. ... I wanted to use the table as my base to build reports ...
    (microsoft.public.access.forms)
  • Re: Function Vs Expressions
    ... But, also I listen to increase the speed, store calculations results. ... Normally, i don't store the calculations results to save memory, but I ... There is overhead associated with the use of a domain aggregate ... When used singularly in code or a form/report expression this overhead ...
    (microsoft.public.access.formscoding)
  • Formula Calculation Database
    ... I am trying to create a database that will store calculations temporarily ... is the correct way, but on my begining form, I enter todays prices in five ... including todays prices mileage, rate, yield and weight. ...
    (microsoft.public.access.tablesdbdesign)
  • Re: OT: Oprah at Auschwitz (Wed and Thur)
    ... Well they damn well better care who she is. ... American of the 20th century and Forbes international rich list has ... ranked her as the world's ONLY black billionaire for the past three ... It is a store that caters to the rich and famous, ...
    (rec.food.cooking)