Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows API question

Status
Not open for further replies.

itmasterw

Programmer
Apr 13, 2003
147
US
Hi recently I was looking for a VB job, and they asked what version of VB have you used, and was this used with Windows API? I know what version VB I used but could someone tell me what they ment by was this used with Windows API? I think I have an idea but am not sure. Could someone explain what windows API is.
Thank You
 
Hi,

Maybe what they meant was, were you familiar with Windows API programming in VB.

Windows API stands for Windows Advanced Programming Interface. It's a huge collection of functions provided by Windows and ready to use from any language.

For example "MessageBox" API, you can just declare and call it from VB.

Const MB_OK = &H0
Private Declare Function MessageBox Lib "user32" _
Alias "MessageBoxA" _
(ByVal hwnd As Long, ByVal lpText As String, _
ByVal lpCaption As String, ByVal wType As Long) As Long

Private Sub Form_Load()
'Show a messagebox
MessageBox Me.hwnd, "Win32API MessageBox", App.Title, MB_OK
End Sub

I am sorry if there is a mistake in code, cos I'm no good in VB :)
I'm sure someone can give you more info or sample code

Regards

-- AirCon --
 
Is it Advanced Programming Interface or is it Application Program Interface?

Good Luck
--------------
As a circle of light increases so does the circumference of darkness around it. - Albert Einstein
 
Yes, I think that is what they ment. This really cleared that up for me. I have looked in a number of books and on the web, and could not find anything.
Thank you
 
itmasterw
Glad it helps you

Cajun & timmay
Yes it is Application Programming Interface. Sometimes I get confused between "Advanced" and "Application" :-D


-- AirCon --
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top