Category Archives: Visual Basic 6 (VB6)

The Use of Transparent GIF in your projects.

When you have imported a selfmade bitmap into you project (for example with a grey background) it looks great when the backcolor from the form is also grey. But when you change the form color with windows settings the formcolor changes but not the back ground of your picture. Follow the steps below how to get ridoff this… Read More »

A1 code 4 your prog 2 go into the start menu @ run

This short code enables you to make your application insert itself into the user’s Startup menu, if it’s not already there, so that it will run every time they start up their computer. Now works with WinNT and Win2000 Original Author: Kurt Csowl Side Effects The only side effect is that if they are based off of anything but… Read More »

Aprostrophe ‘The Rebirth’

Have you ever try so send a SQL String to a database that has apostrophes ? If YES you will get a run time ERROR Here is your solution….A function that formats the variable before sending it to the database Original Author: unknown Inputs Ziltch Assumptions Take a string, looks for Aprostrophes or Quotation marks appearing more than twice… Read More »

Close All MDI Children Simply

This code allows you to close all the MDI child forms in an MDI form at once.Goto http://www.vbgreatone.com/ to learn like you’ve never learned before. Get over 500 api functions with example for each, and tips like this and, much much more. Just visit it, i’m sure you will like it.First, create a menu item in the MDI… Read More »

Open explorer with email or web page from program

This code opens Internet Explorer and navigates to a web page or opens the default mail program with an email address in the email boxso users can go to your web page or email you from your program. Original Author: Rob Wise Code ‘open IE and default mail program with email addressShell (“explorer mailto: youremail@email.com”)’opens IE and navigates to… Read More »

Image Transition Effects (Wipes)

Wipes is an image transition program allowing you to use various transition effects like Wipes, Slides, Stretches, Grow from Corner, Random blocks, Stripes, Blinds, Maze etc. You can individually load the pictures and apply the effects, or set an directory and then allow Wipes to apply its preset sequence of transition(some customization is possible here). Or you can… Read More »

LogicalSize

Resize and Center an image control(maintaining image proportion)(remember to load an image)inside a picturebox control. This code rescales and centers the image to a size small enoughto fit inside any give picture box. Good for thumbnails. I don’t know ifthis code is bug proof… Let me know what you think ,Thanks Original Author: Harley Neal Side Effects none?? API… Read More »

Dynamic Menu Control (Updated)

This control, when placed on a form, will allow you to dynamically create menus at runtime. I have included the code for the OCX and a simple test harness. Original Author: Pete Cozens Inputs N/A Assumptions This code was developed in VB6 on NT4.It requires that you add a dummy popup menu with a child menu array item to… Read More »

Hook Menu

This dynamically creates menus on your form with API. Then subclasses it to see if you clicked it. It also demonstrates how to create a sub-submenu. This example was requested by a couple of people, so I made it. Enjoy =) Original Author: Joseph Huntley Attachments File Uploaded Size CODE_UPLOAD29421192000.zip 9/3/2020 3:45:00 PM 3575