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 ArticleHmac
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 ArticleFade 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 ArticleVB 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 ArticleVB6 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 Articleconvert 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 ArticleCommand() - 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[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 ArticleVB6 - 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 Articleimage 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 Article64 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 ArticleHow 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 ArticleRPG 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 ArticleVB6 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[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 ArticleVB6 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 ArticleAccessing 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 Article1 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 ArticleGet 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 ArticleVB6 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