Link to home
Start Free TrialLog in
Avatar of Azmodan
Azmodan

asked on

.NET - API calls

in VB6 there was a very handy add-in, the API viewer and it's trusty companion WIN32API.TXT which contained all the API declarations for VB6.
Is there something similar for VB7 (or C#)?

The Declare statement still exists, and I found out that by using the vb6 declarations and replacing the Long with Integer, some functions work (like Beep). But not those who worked with handles declared as Long. No errors are generated, but they just don't work.

A code sample of a complex API call would be nice. (i would prefer GetDC and SetPixel).
Avatar of Elmo_
Elmo_
Flag of Ireland image

You could Try the www.AllAPI.net website

Has a list of all vb APIs For all versions of VB and also gives code examples for each API

Cheers.
ASKER CERTIFIED SOLUTION
Avatar of Elmo_
Elmo_
Flag of Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Azmodan
Azmodan

ASKER

That site is good, but I was asking for a local file and/or tool. Like VB6 API viewer add-in. Is there something like this?
AllApi has a downloadable program to permit local viewing. Get it while you can, seems they are not doing anything new at the site and you never know when they will stop the site.

If all else fails, get a cheap copy of Borland Delphi (Personal edition) which has these files. Also Delphi is great for doing some jobs which .NET or VB simply can not.
Avatar of Azmodan

ASKER

yeah..that site had just what i needed.
To bad is closing down :(