Re: Variable too small? Overflow
- From: richmann@xxxxxxxxxxxx (Richard Jalbert)
- Date: Fri, 03 Feb 2006 01:10:13 GMT
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/
**********************************************************************
.
- Prev by Date: Re: Do we have such a container control?
- Next by Date: Re: RaiseEvent not working (Access 2000, VB6, under Win2K)
- Previous by thread: Algorthim
- Next by thread: Re: RaiseEvent not working (Access 2000, VB6, under Win2K)
- Index(es):
Relevant Pages
|