XPFrame User Control
XPFrame solves well known problem of standard frame’s behaviour with XP styles (see screenshot bellow). This control looks like .NET GroupBox under Windows XP or like VB Frame under early systems. Demo project is included.
XPFrame solves well known problem of standard frame’s behaviour with XP styles (see screenshot bellow). This control looks like .NET GroupBox under Windows XP or like VB Frame under early systems. Demo project is included.
This class encrypts/decrypts data with MD5 hashing and RC4 encrypting algorithms using Windows CryptoAPI functions.
Get information on the CPU using Active Directory ‘ Get a description of the processor using Active Directory” NOTE: requires a reference to the Active DS Type library Function GetCpuDescription() As String Dim thisComputer As ActiveDs.IADsComputer Dim thisService As ActiveDs.IADsServiceOperations ‘ we need this object to retrieve computer name Dim sysInfo As New ActiveDs.WinNTSystemInfo ‘ retrieve the AD object corresponding to this… Read More »
Gets the handle of the window under the mouse cursor. Private Type POINTAPI X As Long Y As LongEnd TypePrivate Declare Function GetCursorPos Lib “user32” (lpPoint As POINTAPI) As LongPrivate Declare Function WindowFromPoint Lib “user32” (ByVal xPoint As Long, _ ByVal yPoint As Long) As Long ‘ Return the handle of the window under the mouse cursor. Function WindowFromMouse() As Long Dim… Read More »
This example show a way you can fake a drag/drop with listboxes. It does not use the official Drag/Drop features of VB.
Shows you a couple very easy ways to download files from the internet using the url. Uses api, no controls. You can download files, webpages ect.. If someone has right clicking disabled. Recovered from the remains of vbcodesource.com.
You have already learned about various data types in this tutorial site. Now I’m going to explore the concept of data type conversion also known as type casting.
Clipboard object is a simple object in Visual Basic 6 that stores data. You can retrieve the data from the clipboard using appropriate methods of the clipboard object.
In this lesson, I’ll talk about error handling in Visual Basic 6. I will discuss, in brief, how you can handle errors in your Visual Basic program.
Validation is a very useful feature in VB6, which you implement in a variety of situations.