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
Printable View
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
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.
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.
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?
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
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
In VB.NetCode:Private Declare Function GetTickCount Lib "kernel32" () As Long
With .Net though, most API calls have a .Net namespace equivallent, so you won't need to call the API.Code:Private Declare Function GetTickCount Lib "kernel32" () As Integer