Results 1 to 8 of 8

Thread: Why integer???

Hybrid View

  1. #1
    Shared Member
    Join Date
    May 2005
    Location
    Kashmir, India
    Posts
    2,277

    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

  2. #2
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    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..


    - ØØ -

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2006
    Posts
    413

    Resolved 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
  •  



Click Here to Expand Forum to Full Width