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

Asynchronous Beep by vb6(NtDeviceIoControlFile)

Play the sound of the specified frequency and duration Code: Sub Main() Dim AsyncBeep2 As New AsyncBeep AsyncBeep2.Play 1000, 2024 MsgBox "ok" End Sub Code: ' 异步版 Beep,作者YY菌,技术交流群(QQ):250264265...

View Article


Image may be NSFW.
Clik here to view.

(VB6) Implement the Print method on any object

You can implement the Print method on any object with the IVBPrint interface (I discovered it some time ago thanks to The Trick). But besides the interface, you also need some code to handle it. This...

View Article


VirtualList,VirtualCombo,Virtual_ListView by vb6

Tutorial - Using Unicode in Visual Basic 6.0 - Free Unicode Controls http://toolboxw.com/UnicodeTutorialVb.htm VirtualCombo http://toolboxw.com/UnicodeTutorialV...ucVirtualCombo VirtualList...

View Article

VB6 MultiThreading,A new way to get the VB header,For CreateThread

Msgbox GetVBHeader Code: Private Type MODULEINFO     lpBaseDLL As Long     ImageSize As Long     EntryPoint As Long End Type Private Declare Function GetModuleInformation Lib "psapi.dll" (ByVal...

View Article

Image may be NSFW.
Clik here to view.

Make a Delimited File Demo

Was not busy ,so I went thru my junk box and threw this together. May be something usable here for someone. Enjoy. Attached Images   Attached Files Commas Demo.zip (7.1 KB)

View Article


Image may be NSFW.
Clik here to view.

Capacitor Values Converter

This is another project I started but didn't finish. Did not like the way the code was flowing so I stopped working on it . I know there has to be a better way to do this project. Attached Images...

View Article

Image may be NSFW.
Clik here to view.

Remove Blank Lines and Extra Spaces

This code will remove blank lines and spaces from your code and resave it converted. I would like it to keep a one blank line between procedures but haven't been able to figure it out yet. If anyone...

View Article

Image may be NSFW.
Clik here to view.

[VB6] AddIn IDE Codefolding

This is an add-in to Add Codefolding like capabilities to VB6 IDE Unfortunately VB6 doesnt support codefolding so I came with an idea to mimic its functionality by relocating part of the code...

View Article


Image may be NSFW.
Clik here to view.

Create Procedure Headers

Creates a Procedure Header and copies it to clipboard , to be copied into your code. Very simple code. Added an Update Attached Images   Attached Files Proced Header.zip (20.2 KB)

View Article


Image may be NSFW.
Clik here to view.

Simple Usercontrol Toggle/Button

This is a simple toggle/Button usercontrol I threw together. Its probably not perfect, but still useable. See what you think of it. Enjoy. Attached Images   Attached Files Button.zip (9.5 KB)

View Article

Print to specific PDF file name

Assumes Windows 10 with the optional Microsoft Print to PDF driver installed. This is normally the default unless the user has removed it via Windows Features. Bare bones example. Note that for the...

View Article

Image may be NSFW.
Clik here to view.

Scramble letters in a word except for the first and last letter

This will scramble the letters in a word. Attached Images   Attached Files ScrambleLetters.zip (2.7 KB)

View Article

Image may be NSFW.
Clik here to view.

Image Viewer

Attached is a Picture Viewer. It does not have a bunch of fancy features, because the intent was to use as much of the screen as possible for the image itself. Inspiration for this program came from...

View Article


Image may be NSFW.
Clik here to view.

Floating Desktop Date

Sits on desktop and features week of year and day of year as well as the date and day. Plus 4 form styles. Fairly simple and straight forward. Attached Images   Attached Files DesktopDay.zip (204.2 KB)

View Article

Image may be NSFW.
Clik here to view.

Send Picture

Attached is a Remote Picture Viewer. It is designed to allow you to post pictures to a remote computer. The Receiver is essentially the Picture Viewer here:...

View Article


leandroascierto.com -> define('DISALLOW_FILE_EDIT', true);...

G'Day I do not know any other site that Leandro uses to post this, so if it is in the wrong 'Category' admins pls. move I check the site http://leandroascierto.com/ usually weekly and now I'm getting...

View Article

Image may be NSFW.
Clik here to view.

TaskbarButton Progress

Lightweight, no typelib used just DispCallFunc() hacking. Requires Windows 7 or later, but the manifest is optional. Works in the IDE but uses subclassing so be cautious. Demo client Form included:...

View Article


Image may be NSFW.
Clik here to view.

ucListPlus (ListBox, ComboBox, Menu, Autocomplete TextBox)

Hi guys, here is my latest hobby, it is a multipurpose usercontrol, it fulfills the function of a list and tries to fulfill the function of almost everything that is a simple list, ListBox, ComboBox,...

View Article

Image may be NSFW.
Clik here to view.

Simple Progress Bar

Here is a simple progress bar using a Label control. Form contains 1 Command button (Command1), 1 Timer (Timer1), and 1 label (PBar): Alignment = 2 - Center Appearance = 0 - Flat BackColor = (your...

View Article

Image may be NSFW.
Clik here to view.

HSlider - Small slider control

Inspired by things like the volume slider in the YouTube web page video player UI. Plenty of ways it could be customized. Good for things like putting a volume slider into toolbars, statusbars, etc....

View Article
Browsing all 1469 articles
Browse latest View live