Quantcast
Channel: VBForums - CodeBank - Visual Basic 6 and earlier
Browsing all 1512 articles
Browse latest View live
↧

List Processes - Get module and thread information of all processes.

The attached program demonstrates how to gather detailed module, subsystem and thread information of all active processes. This information is then written to a file.

View Article


Simple PSD File Generator

I finally figured out how to do this. It generates a native Photoshop PSD file, 3 channels, 8bits per pixel, 256x256 size image. I set all the header stuff as constants basically (though I didn't use...

View Article


Image may be NSFW.
Clik here to view.

TextBin - Extract text from binary files

The attached program demonstrates how to extract strings containing only specific characters from a binary file. The project contains a class called TextBinClass and a form TextBinDemoWindow. The class...

View Article

[VB6] modShellZipUnzip.bas

Code: Option Explicit 'Decompresses the contents of SrcZip into the folder DestDir. Public Function ShellUnzip(ByRef SrcZip As String, ByRef DestDir As String) As Boolean     Const FOF_NOCONFIRMATION...

View Article

Image may be NSFW.
Clik here to view.

HTML Document Explorer

The attached program demonstrates how to access HTML documents being displayed by other processes. Attached Files HTML Document Explorer.zip‎ (18.1 KB)

View Article


winsock chat general

1: how would i go around adding friends to logged in id's and remove friends from friends list . any answers are acceptable need your idias friends.

View Article

Image may be NSFW.
Clik here to view.

VB6 - Thumbnail view based on WIA 2.0

Background As camera resolutions get higher and higher VB6's native image manipulation can get bogged down. This is especially true if you need to do some processing on he thumbnails such as dealing...

View Article

Image may be NSFW.
Clik here to view.

VB6 - MSChart XY Scatter Demo

MSChart is a very complex control. Sometimes it can be frustrating to get just what you want out of it. An example is a "scatter plot" of the sort shown here. Code: Option Explicit 'Just plop an...

View Article


[VB6] Form-less CommonDialog (comdlg32.ocx)

It is possible to show the common dialogs without using a Form to put the ActiveX control in. Here's how: Code: 'In a BAS module Option Explicit Private Sub Main()     Const cdlCCFullOpen = 2&,...

View Article


Image may be NSFW.
Clik here to view.

[VB6] Uncompressed AVI Writer

Here is a minimalistic cAviWriter class (less than 200 LOC w/ no dependencies) that can be used to create uncompressed AVIs for use in standard animation control. Code: Option Explicit...

View Article

Image may be NSFW.
Clik here to view.

VB6 - ImageListPicker Control

This is a simple GUI UserControl for "picking" from a list of pictures. Your program loads some pictures into it, then the user can scroll the visible list horizontally and click on one to select it....

View Article

[VB6] DownloadURL2File Function (Unicode-aware) + IsInternetConnected Function

Code: Private Declare Function CloseHandle Lib "kernel32.dll" (ByVal hObject As Long) As Long Private Declare Function CreateFileW Lib "kernel32.dll" (ByVal lpFileName As Long, ByVal dwDesiredAccess...

View Article

Image may be NSFW.
Clik here to view.

JACZip Archiver

JACZip is a straight forward ZIP Archive/Unarchive program using the built in facilities within Windows. The Microsoft implementation of the ZIP function into the Windows Explorer is to say the least...

View Article


DataGrid Multiple Row Selection

The Data Bound DataGrid Control provides the ability to select multiple rows using the CTRL key and mouse, but it lacks the ability to use the SHIFT key in conjunction with the mouse. The routines...

View Article

[VB6] Dereferencing Pointers sans CopyMemory

Here are several functions which retrieves the value or data located at the memory address specified by the given pointer. These functions perform the inverse operation of VarPtr, StrPtr and ObjPtr....

View Article


Image may be NSFW.
Clik here to view.

VB6 - DirectShow WebCam Minimal Code

There are a number of possible APIs in Windows for previewing and capturing from webcams. One of the most popular for its broad support on Windows versions and its relative ease of use when...

View Article

Missing Date

i have an issue with my date time picker not displaying month feb unless i set it equal to month feb on form load. any ideas ?

View Article


Simple "Mass on Spring" Simulation

This code simulates oscillation of mass on a spring and graphs that motion. To use this code, just start a new project, place a picture box on the form, paste the code into the form's Load event, and...

View Article

Image may be NSFW.
Clik here to view.

VB6 Real Unicode Display in Rich Edit without installing RICHTX32.OCX

Hi Guys! I combined two nice features for a part of my project and I decided to share it with you. Well, I had three challanges when I was doing this: 1. Use a RichTextBox for unicode display; 2. Use...

View Article

check if internet is connected or not

add this in module Code: Option Explicit Public Declare Function RasEnumConnections Lib "RasApi32.dll" Alias "RasEnumConnectionsA" (lpRasCon As Any, lpcb As Long, lpcConnections As Long) As Long Public...

View Article
Browsing all 1512 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>