Results for "Author: lam ri hui"
Now contains over 60 tips to make your programming experience more enjoyable. Comments are welcomed. Feel free to vote.
If you want to create a program with text appearing character-by-character by cannot do that yet, then this code is you solution. Leave comments + vote (of you like).
Do you ever think about making a form with 3D appearance? If you are, then this code is what you are looking for. Leave comments + vote (if you think this is helpful).
Recording and playing sound get easier by using API call. Only 2 API call to record and play sound. Please leave comments. Also, don't forget to vote.
Every time when you start an application, the application 'borrows' the memory. When you exit the application, it will sometimes 'forget' to 'return' the memory to the system. Thus, the free memory available on your system will be less until you reboot your system. To over come this problem, you need a program to optimize and recover the 'lost' memory. This code act like a program to optimize and recover lost memory. To create a program to optimize and recover lost memory, you only need 2 API. That is 'GlobalMemoryStatus' to get memory status and 'SetWindowPos' to set the window always on top. Comments are welcomed. Please vote for this code.
This is a library to solve your VB programming problems. There are currently 75 solved. Feel free to vote & leave comments if you benefit from this library.
I always looking for a barcode generator but I didn't find any. So, I decided to make a barcode generator myself instead. I would like to credit someone from PSC but I can't remember his name. This code can generate barcode 39 (3 of 9) and you have 3 options: 1. Copy to clipboard and paste in to come graphic application. 2. Save the barcode as an image file and print when you need it. 3. Print the generated barcode immediately. Comments are welcomed. Please Vote for my work.
Use KeyDown function to move an object. This code shows how to move an object in the form. I use a cartoon samurai as an object. Beginners in programming games may want to learn this. The graphic comes from www.vbgames.co.uk. Comments are welcomed. Please vote.
This is a code of multiple exercises. There are addition, subtraction, multiplication and division exercise in 1 zip. The code uses Randomize to generate random numbers and use the generated numbers to make questions. This code can also check your answer see whether it is correct or not. Please vote for my work.
Compile the project another way without opening the project. Although this code uses visual basic executable, it operates the executable in the background. I wish to credit someone on PSC for his piece of code. Please vote.
This tutorial shows how to animate gif in your form without using GIF89a.dll
This code makes a text moves! The colour of the text will change automatically. This code uses Direct Animation Library and only 1 sub. Comments are welcomed. Please vote.
Get all window application handler and window using api. Then, you can block the unwanted application handler and window. This code uses a timer to check whether the unwanted application is running or not. If the application is found running, this code will block the application from running immediately. Comments are welcomed. Please vote.
If 'API' is a new word to you or you just heard about API but don't know how to use it yet, this program is absolutely for you. This program contains ton of API example. It can be considered as a library of API. The range of API use is very wide; from hiding and showing taskbar and desktop to advance internet related API. This program also has a graphical interface that is easy to use. There is a 'Click Here for More Information' button at each code. Click the button and you will get information about that API call. If you have a look at this program, you will not be disappointed. Please give comments about this program. Also, please vote for my work.
Generate readme file by just filling up the form and click one button. Only 1 sub to generate the readme file. Quick and easy. Leave comments about this code. Also, don't forget to vote.
If you want to create a program with text appearing character-by-character by cannot do that yet, then this code is you solution. Leave comments + vote (of you like).
Do you ever think about making a form with 3D appearance? If you are, then this code is what you are looking for. Leave comments + vote (if you think this is helpful).
Recording and playing sound get easier by using API call. Only 2 API call to record and play sound. Please leave comments. Also, don't forget to vote.
Visual Basic provides more than 200 built-in statements and functions. Some are used frequently; some are seldom used at all. Even experienced programmers sometimes happen upon a statement or function they didn't know about. This article can be considered a quick-reference guide to all of VB's built-in statements and functions. It offers the syntax for each, as well as a brief description of what it does and how its arguments (if any) are used. This is by no means a complete reference. Microsoft's Visual Basic 6.0 Language Reference is probably the best source for in-depth information on VB's statements and functions. If you have any questions about syntax or use of a particular statement or function, then you are strongly urged to consult that reference to obtain additional information.
Learn how to (a) Draw dots randomly on form using PSet method (b) Draw lines randomly but neatly on form using Line method (c) Draw messy lines on form using Rnd and Line method (d) Draw FillStyle using FillStyle method. Comments are welcomed. Please vote.