|
-
Mar 16th, 2006, 05:24 AM
#1
Re: Why integer???
If you are using VB.NET then you should be using IntPtr rather than Integer.
FindWindow API returns the handle of the window and handles are stroed in IntPtr datatypes unlike VB 6.
Use [code] source code here[/code] tags when you post source code.
My Articles
-
Mar 16th, 2006, 06:41 AM
#2
Re: Why integer???
Are you sure you have not looked at code for Classic VB rather then VB.NET? In classic VB (meaning version 6 and some of the earlier) integer was 16bit, while long was 32bit.
Today in VB.NET, an integer is finaly 32bit, hence an integer in VB.NET is the same as a long in VB 6.
PS: DOn't ask me why I know these things. I have never touched VB.NET..
- ØØ -
-
Mar 16th, 2006, 01:16 PM
#3
Thread Starter
Hyperactive Member
Re: Why integer???
Thanks, thats what I needed.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|