C
CSharp
C++
Java
Visual Basic
HTML - CSS
Android
Asp
Asp.Net
Php
Python
JavaScript
SQL
XML
Assembly
ActiveX
API
Code Snippets
Database
Files Directories Drives
Forms
Graphics Games
Multimedia
Strings
Windows and Controls
More...
Visual Basic > API and Miscellaneous sample source codes
Visual Basic Code > Use of the API-call
Use of the API-call Declare sub GetLocalTime Lib "Kernel32" (lpSystemTime as SYSTEMTIME) Type SYSTEMTIME wYear as Integer wMonth as Integer wDayOfWeek as Integer wDay as Integer wHour as Integer wMinute as Integer wSecond as Integer wMilliseconds as Integer End Type ... dim MyTime as SYSTEMTIME GetLocalTime MyTime text$="The Date is:" & MyTime.wMonth & "/" & _ MyTime.wDay & "/" & MyTime.wYear MsgBox text$ Return
Privacy Policy
|
Contact
|
Advertising
|
Link to Us
|
Directory