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

VB6 Date Validation

Hi I'm using maskEdBox to accept date from the user in this format yyyymmdd, Now I want to validate this date to be a valid date, (i.e the user might input 1234/12/12), and also the date shouldn't be...

View Article


convert numbers to words (SPANISH)

Here is a function to convert an integer to Spanish words. Maybe it will be of some use to somebody. There is probably a much more elegant way to do this but this worked for me and is correct as far as...

View Article


Command() - Unicode aware

Usually when you want to get the argument portion of the command line you use the intrinsic Command$() function. But that function is not supporting unicode. In order to supply your .exe with a unicode...

View Article

Image may be NSFW.
Clik here to view.

[VB6] SNTPClient UserControl

This is a basic Simple Network Time protocol (SNTP) client UserControl based on a Winsock control that can be used to retrieve time from NIST Internet Time Servers or local NTP servers on your LAN. It...

View Article

Image may be NSFW.
Clik here to view.

VB6 - Web Service Calls via WinHTTP POST

This is a simple example of using the WinHTTPRequest object to make calls to a simple REST-like web service that processes database queries. In order to make it a standalone demonstration, the attached...

View Article


64 bit Integer

There is the odd time that you need a 64 bit integer when interfacing with library files. This is easy to do with C++. You simply create a 64 bit unsigned integer. But VB6 does not offer such as...

View Article

Image may be NSFW.
Clik here to view.

How To Move An Image Using BitBlt

This simple example shows you how to move an image across a canvas using BitBlt API. This example uses a Picturebox control where you move the image using the command buttons or the up, down, left, and...

View Article

Image may be NSFW.
Clik here to view.

RPG Game using BitBlt

The filesize of this RPG Game is around 20MB, so I put it here: http://www.udontknowtech.com/rpgGame.zip Screenshots This example uses BitBlt and On-The-Fly Masking so you don't have to mask the...

View Article


Image may be NSFW.
Clik here to view.

VB6 Simple EMF-based FlexPrint-Reporting (incl. Print-Preview)

Both of the MS FlexGrids which come with VB6 (also the hierarchical one), support the VP_FORMATRANGE command, and this allows a relative simple interaction with regards to printer- (and multi-page-)...

View Article


Image may be NSFW.
Clik here to view.

[VB6] Extract JPEG EXIF Data with WIA 2.0

The attached program is meant to show how to use WIA 2.0 to extract many extended attributes from JPEG photos. It is not a "finished" program but more of a code sample and a testbed for working out the...

View Article

Image may be NSFW.
Clik here to view.

VB6 TLSCrypto

SSLClient and SSLServer are companion programs designed to demonstrate Transport Layer Security (TLS) Version 1.0. At the present time, they only support 2 cipher suites: TLS_RSA_WITH_RC4_128_MD5...

View Article

Accessing MS Access 2003 from VB6

It has been a long time since I wrote any code so please excuse the naming conventions and the novice coding. In VB6 I have successfully opened an MS Access 2003 database with the following code Public...

View Article

Image may be NSFW.
Clik here to view.

1 or 2 Player Score Four Game + Chat

This is a game of Score Four that you can play against yourself or go online and play your opponent. It also includes a chat window. This VB6 project was written and tested on Windows XP only. I cannot...

View Article


Get The Current Hebrew Date using Visual Basic 6.0 and mscorlib

Most systems have the Microsoft.NET Framework installed. This Visual Basic 6.0 program shows how to call functions from the mscorlib.dll (mscorlib.tlb) from Visual Basic 6.0 to obtain the current...

View Article

Image may be NSFW.
Clik here to view.

VB6 Simple Property-Grid (ADO-Rs-Binding)

Just a very basic Property-Grid, thought as a base for your own enhancements. The two User-Controls (ucPropertyGridStripe and ucPropertyGrid) contain in Sum only about 100 lines of Code, so it's still...

View Article


Image may be NSFW.
Clik here to view.

VB6 lightweight PNG-Controls (4-State-PngButtons and a moveable...

The small Demo shows a lightweight Implementation of GDI+ based Png-Handling, encapsulated in two small and resource-friendly windowless Controls... It's a variation (with some improvements) from my...

View Article

Image may be NSFW.
Clik here to view.

VB6 Restoring NWind.db InMemory from ResourceBytes (without touching the...

Sometimes there's the problem, to ship your App with a less than simple store, which contains "structured static Data" (e.g. a small catalogue-DB or a DB which contains the word-archives for your small...

View Article


Need Advice on SOAP

Hello I am using Visual Basic 6.0, I have downloaded Microsoft SOAP Toolkit 3.0. I do not have experience in using SOAP, I have been asked to interface with AVAYA NOTIFICATION and they have given me...

View Article

Image may be NSFW.
Clik here to view.

VB6 TLSSend

TLSSend is a email sending program designed to demonstrate multiple methods of sending an email via SMTP. 1. Standard SMTP using port 25. 2. Standard SMTP with PLAIN AUTHENTICATION using port 1025 (May...

View Article

Image may be NSFW.
Clik here to view.

This Thread is for Nightwalker83...

Here is the Attachment of the proper ActiveX Control that you have requested for me to upload for you. I really hope that you enjoy this, ofcourse that there isn't any kind of viruses that have been...

View Article
Browsing all 1476 articles
Browse latest View live


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