Library tutorials & articles
API Programming Series #1
Foreword
The API programming series is a set of articles dealing with a common theme: API programming in Visual Basic. Though there are no hard and fast rules regarding the content of these articles, generally one article can be expected to contain issues related to API programming, explanation of one or more API calls with generously commented code snippets or bug reports. Depending on the subject, these code samples may expand to become a full-fledged application.
In this article we’ll look at the concept of API as applied to Win32 programming.
Note 1: This article is meant for absolute newbies. If you are even
slightly familiar with API programming I strongly suggest that you skip this
article.
Note 2: With the arrival of VB.net, API calls are now being
phased out. You should only use API calls in VB 6 or earlier
Related articles
Related discussion
-
Automating Excel from VB6.0
by epurdy (0 replies)
-
VB6 system conversion using VBA to Word 2007
by b.macgregor@vodamail.co.za (0 replies)
-
video not working with visual basic
by Jupiter 2 (9 replies)
-
Hyperterminal Data
by sengreen (1 replies)
-
vb6 - custom font
by Ruffsta3 (0 replies)
Related podcasts
-
Christian Beauclair
14 mai 2008 (�mission #0074) ::.Christian Beauclair: Stratégies de migration VB6 vers .NET Nous discutons avec Christian Beauclair des stratégies de migration VB6 vers .NET. Entre autres, nous discutons comment utiliser le "VB 6 Code Advisor" et le "Interop Forms Toolkit" pour ajouter la puiss...
hey ther, can anyone gve me an idea how to retrive the system's information in vb so that i could create a system dedicated application. or any other method
Look in the registry:
For WinNT/2K (I assume this works on XP too...)
You'll need to find a way to read this key as VB can't do it on it's own. You can use API Routines Reg*. Check msdn (http://msdn.microsoft.com/library) for more details.
Hey
just wondering if anyone has an advice for a problem tha i'm trying to solve:
I need to make an API call from VBA within Excel to get information about the compnany that the machine is registered to. I was wondering if anyones knows the DLL file it's in or any other way of getting this informmation into Excel
Really appreciate anyone's input.
Thanks RT
this looks quite promising, at least if he keeps goin' and wud be nice if he exposes some calls... for guys who want to expand their "Database"
This thread is for discussions of API Programming Series #1.