API Programming Series #2

Foreword

This is the second article in the API Programming series. In the first article we made a quick survey of what API programming means to a Visual Basic Programmer. We also discussed the various pros and cons of using API Programming.

In this article we'll get our hands dirty! Briefly, we'll see how to access the Win32 API from the Visual Basic environment. We'll start with the basics of declaring and using an API function. From there we'll move on to discussing parameter passing, passing by value, passing by reference, aliasing etc. In the course of this we develop a small utility that displays the computer name in a message box.

Funky, isn't it? Let's get cracking!

You might also like...

Comments

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“To iterate is human, to recurse divine” - L. Peter Deutsch