Results 1 to 6 of 6

Thread: Vb.net Api

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 2002
    Posts
    33

    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

  2. #2
    Hyperactive Member Bananafish's Avatar
    Join Date
    Jan 2001
    Posts
    394
    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.

  3. #3

    Thread Starter
    Member
    Join Date
    Sep 2002
    Posts
    33
    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.

  4. #4
    Fanatic Member
    Join Date
    Sep 2002
    Posts
    518
    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?

  5. #5

    Thread Starter
    Member
    Join Date
    Sep 2002
    Posts
    33
    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

  6. #6
    Addicted Member
    Join Date
    Feb 2001
    Location
    NJ
    Posts
    148
    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.



    ADO, SQL, Access, HTML, ASP, XML
    Visual Basic 6.0 SP5 Enterprise Edition
    VB.Net


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