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

Image may be NSFW.
Clik here to view.

Keeping VScroll Always At Bottom

This simple example shows how you can keep the Vertical Scroll bar always at bottom Attached Files VScroll Always At Bottom.zip (1.6 KB)

View Article


Image may be NSFW.
Clik here to view.

Hmac

According to Wikipedia and verified with online HMAC routines, HMAC_SHA1("key", "The quick brown fox jumps over the lazy dog") should produce an HMAC of: DE 7C 9B 85 B8 B7 8A A6 BC 8A 7A 36 F7 0A 90 70...

View Article


Fade Picture in Picturebox from One Picture to Another

'Need 2 pictureboxes (Picture1 & Picture2) 'Set both pictureboxes AutoRedraw to True 'Set both pictureboxes ScaleMode to vbPixels 'Paste the following code in the Decs Private Const AC_SRC_OVER =...

View Article

VB Export Project

Hi I have a code below to export data from sql server db "Hpacc4" to Excel. my code just error at: rsHPData.MoveFirst, with error "Either BOF or EOF is True, or the current record has been deleted"...

View Article

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


image bingo

hi guys welcome to my first post ,i am just learning Vb and i am trying to create a form that randomly selects images from a file of 16 images and places them on a grid, it must check from the image...

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
Browsing all 1512 articles
Browse latest View live


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