|
-
Jul 29th, 2002, 11:18 PM
#1
Thread Starter
New Member
-
Jul 30th, 2002, 08:35 AM
#2
that is because in VB6, data types where a$$ backwards and not standard with C data types. In VB .NET they are corrected. In the case of that API change all the Longs to Integer and it should work
in comparison of data types
VB6 VB .NET
Integer - Short
Long - Integer
VB.NET has Long but it holds even higher values than VB6.
You may want to search and read up more on using API in .NET also. This example is another reason why I keep telling people, you need to understand more about .NET, not just jump right in and start pasting your old VB6 code and expect it to work.
Good Luck
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
|