Solved

.NET - API calls

Posted on 2002-04-26
5
188 Views
Last Modified: 2010-05-02
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).
0
Comment
Question by:Azmodan
  • 2
  • 2
5 Comments
 
LVL 3

Expert Comment

by:Elmo_
Comment Utility
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.
0
 
LVL 3

Accepted Solution

by:
Elmo_ earned 50 total points
Comment Utility
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.
0
 

Author Comment

by:Azmodan
Comment Utility
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?
0
 
LVL 2

Expert Comment

by:gallaghe
Comment Utility
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.
0
 

Author Comment

by:Azmodan
Comment Utility
yeah..that site had just what i needed.
To bad is closing down :(
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now