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

[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


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


Form Window Setup With Pixel Perfect Accuracy

One of the biggest issues with setting up your form for doing graphical programming is to get it right perfectly. You searched on Google how to do it; you messed around with the Widths and Heights;...

View Article

Getting data from an URL provided

My task is to develop code in VB Classic, to open and URL (provided) and grab the information on the page and pass to application. a) Open the URL site b) Get the data on the page of the URL c) Pass...

View Article

Image may be NSFW.
Clik here to view.

VB6 - BasicBuffer, Binary Stream Class

Description A simple stream-style buffer class. This is a kind of binary stream, similar to an ADO Steam object in Type = adBinary mode or an OLE IStream object. It accepts and returns Byte arrays,...

View Article


Image may be NSFW.
Clik here to view.

How disable cookie warning, when call method .Write of Object("HTMLFile")?

How disable cookie warning, when call method .Write of Object("HTMLFile")? Code: Code: Set objDocument = CreateObject("HTMLFile") Set oHttp = CreateObject("MSXML2.ServerXmlHttp.6.0")     sTemp =...

View Article


Image may be NSFW.
Clik here to view.

Email Client Program

JACMail is an Email Client Program designed to allow fast and efficient recovery of email from a POP3 server, and the sending of email through an SMTP server. It is primarily oriented towards text...

View Article

Image may be NSFW.
Clik here to view.

Pure VB6 TreeView Control

....or ListView if you set the 'Indentation' Property to zero.... ;-) Why I created this: I am developing a treeview control BUT this isn't it! At this stage, I am just creating the classes that will...

View Article

How to zip the backup file in folder

Dear Expert, I want to zip the backup file in target folder so how to do it, the code below is for backup the database in the target folder. Code: Private Sub Form_Load() con.Close End Sub Private Sub...

View Article

Image may be NSFW.
Clik here to view.

VB6 - AllRGB

This is a program I've been working on to convert a source image(currently it must be 2048x2048 pixels and file type: JPG, GIF, BMP(suggested)) to a 4096x4096(16777216 pixels/colors) AllRGB image....

View Article


(VB6) richtextbox loop for read data help..

i have some data in richtextbox like this.. 00001 abcd 0001 efgh 00002 jklm 0002 nopq 00003 rstu 0003 vwxy ............................. etc, and i want it to produce it in this format.. abcd efgh jklm...

View Article

VB6 Spell Check using Word

I cannot take credit for this routine, as the bulk of it comes courtesy of Microsoft. It utilizes the Spell Checker in Microsoft Word, and contains a couple of interesting techniques that I have not...

View Article


monster packet vb6 codes , various type v1

monster packet source want to share that i found in pc tried to upload , gone past size limits so cant add attachment i uploaded to sendspace http://www.sendspace.com/file/lij39l em this is must se and...

View Article

How To Set More Than 1 Minute To A Timer

Many people facing this problem can't set timer more than 1 minute interval here is one of solution to all you need a timer and text box add this code to timer I am showing how to make timer interval...

View Article


Image may be NSFW.
Clik here to view.

VB6 - MailCall: LAN App to App Alerts

Sometimes when a data client application can be in use by multiple people it may be useful to know when certain updates have been done so you can requery. This can be true whether you use a database or...

View Article

Image may be NSFW.
Clik here to view.

VB6 - Msms2Libs: Extract VS6/VB6 MSMs to Libraries

Purpose Those who package and deploy VB6 Projects using Windows Installer tools that create MSI packages have the luxury of using Microsoft-built stable redistributable Merge Modules that contain the...

View Article

Image may be NSFW.
Clik here to view.

Multi Server Multi Client Chat Application

This is my 1st attempt at creating a multi-server multi-client chat application. Note: ServerA must be running otherwise Chat Servers will not launch. Attached Files Multi Server Multi Client Chat.zip‎...

View Article
Browsing all 1468 articles
Browse latest View live


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