|
-
Sep 30th, 2002, 06:33 PM
#1
Thread Starter
Member
Vb.net Api
Good day to all,
I would just like to ask where can I find a list of all API in VB.Net. I have a list of API in VB but I want to know its counterpart in VB.NET. Thank you
-
Oct 2nd, 2002, 06:12 AM
#2
Hyperactive Member
In most cases you won't need to use any of the API's you had in VB6 - as they are (for the most part) built in to the .Net Framework.
If you are trying to do something specific - then post the "specific" question - maybe mentioning how you did it with vb6 - and you will (more than likely) be assisted by the very helpful people here.
-
Oct 2nd, 2002, 06:21 PM
#3
Thread Starter
Member
Gee, tnx... actually I don't have a specific question, I just want to know if VB API had a counterpart on VB.NET. Well tnx.
-
Oct 2nd, 2002, 07:14 PM
#4
Fanatic Member
If you want a list of operating system API functions, you can go take a look at http://www.allapi.net. Possibly I don't understand API programming correctly but I don't believe API functions are tied to a specific programming language? Isn't that the point of them?
-
Oct 3rd, 2002, 02:52 AM
#5
Thread Starter
Member
Yes, I already know that. Almost all the APIs listed there are VB6 fnctions while some have VB.NET equivalent. I just thought that there is a list like that in VB.NET equivalent.
Tnx
-
Oct 3rd, 2002, 08:22 AM
#6
Addicted Member
Correct me if I'm wrong, but all the APIs that worked in VB6 should work in VB.Net. The API calls are dependent on the OS your are using, not the programming language. One thing you need to look out for are the return variables in the API calls. For example:
In VB6
Code:
Private Declare Function GetTickCount Lib "kernel32" () As Long
In VB.Net
Code:
Private Declare Function GetTickCount Lib "kernel32" () As Integer
With .Net though, most API calls have a .Net namespace equivallent, so you won't need to call the API.
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
|