Advertisement

Results for "Volume: 7_2009-2012"

7_2009-2012 #227381
Anti Debug

Basicly this piece of code protect your program to be debugged... this is also a interesting example about how to use threads in VB (without crash it)

7_2009-2012 #223373
MenuBitmaps

I recently got interested in adding bitmaps to menu items and found that the bitmaps have to be on the order of 13x13 (MS says 10x10 but these seem to work OK). Since I didn't have any readily available method to create such bitmaps, I came up with this little tool that may be of use. You can create 13x13's from scratch, size/crop from other pics (bmp,jpg,ico) or size/crop from clipboard. Included is the routine to actually assign the bitmaps to menu items, as you can see from the screenshot.

7_2009-2012 #231634
Find That Zip

Sometimes I can't remember the name of the zip, but I know what the form looks like. This is really a simple interface for others code found here on PSC.Wish I could take the credit, but can't.Maybe it will spark someone to make a slicker, more efficent program. I chose this method because I can change the zip with a newer version easier.Oh, you can unzip the file to a folder of your choice.

7_2009-2012 #238985
Fast Grid Loading

Searching and Browsing is among most common task for database application. fast search is definitely is a must for good database application, specially application with high transaction load like Point of Sales. i use this because i have difficulty in displaying data to user fastly, at first time i use grid by bound it to recordset and did not notice that it is only displaying +/- 2000 record until my customer tell me that it is did not show all the data ( what a good programmer :) ). then i search msdn and found that it is ms hflexgrid limitation ( WOW ). and i start to use the clip function just like msdn told me to. and my customer say "i wonder why yours is slower than my foxpro program", i reply "because foxpro only display data page by page because foxpro procedural programming", "why dont you display it like foxpro" he ask again. that is the story of good programmer :) who learn from good non programmer. hope it is usefull for you.

7_2009-2012 #238964
Scheduling Algorithm (Short Remaining Time First)

well I can now share knowledge...Hope this is the first scheduling algorithm in Short Remaining Time First ever posted... Hope it can help some beginners like me...for more scheduling algoryhm (fcfs,sjf,pp,npp,rr,ml, etc.) please email me at thsison@yahoo.com Thank you very much to planet source code now i can program.. Special Thanks to Mr. Ian ipolitto! and to you guys!thnx!

7_2009-2012 #235815
Full UK Postcode Checker

tells you if a postcode you enter is a valid UK postcode. It includes all current criteria for a valid postcode including length, format and valid characters in each postition. see code for more info. Please note no other postcode checker on PSC currently checks the full criteria that this function/application does.

7_2009-2012 #235816
National Insurance Checker (NINO)

Tells you if a National Insurance Number (NINO) is valid

7_2009-2012 #238677
small Database engine (UPDATE_2 speed increased)

*****UPDATE: Now read is much faster (before 17 sec for 10000 records, now 0,3 sec)***** DESCRIPTION: This is sample of small database engine. It support few SQL queries, add muliple tables, add and DELETE records, username and password for access to databes data... There is also RecordSet class so this make it easiest to use. Deleted items is only 'invisible' for reading, but they are still in file. So for real remove there is clsDbAdvanced class. SQL Queries: CREATE TABE, INSERT INTO For deleting data there is function (supports multiple conditions and operators =, <>, >, <) For reading there is also function that sets data automaticly to RecordSet. Please check it and leave feedback and if you wont wote.

7_2009-2012 #233980
Menu Bar

'Welcome to The new and improved Menu Control. 'Created By Russell Sanders 12/2006 ' 2/21/07 I said in the last update that it would be the last but I have fixed a few things that just had to be published. After all the time I put in to the code I left out something as simple as, changing the caption on the fly, out. So I fixed that and also got the tool tips working. a few other small things. ' In the past two months I have put close to 300 hours in this control. I thank you all for looking ' at it and welcome any comment good or bad. ' This works well for small apps. ' 'credits: ' PSC for a place to get help and code on anything. And to all the dedicated users of PSC ' who post there thoughts there advice and criticisms on code, Thanks. ' other credits are with the relative code. ' ' This uses Pauls' safe subclass Code Found At: ' http://www.Planet-Source-Code.com/vb/scripts/ShowCode.asp?txtCodeId=42918&lngWId=1 ' read the readme in the zip to understand usage. read the code to see how Update:2-14-2007 this will be the last update for this control. Unless I find a bad problem with it. I have started to work on an MDI version of this control and will be replacing this one with it when it is done.

7_2009-2012 #235244
Realtime Animated Water, Lake Screensaver

This is ready to go as screensaver like the java lake applets on the web. It has preview, settings and runs fullscreen at realtime, includes dynamic reflections of the animated sprites, moving sky and animated water. Just compile to the windows\system32 folder and its ready to go or run in the ide. Really cool looking, though when I made this about a year ago I was in a hurry with the graphics so some graphics have imperfect masking or jpeg artifacts. To configure either compile to windows and change in the normal settings of the screensaver or do it by hand in LakeScreenSaver.ini. Configure which sprites to run (bird, fish and ship and beach) whether to show the background and the level of water opacity. (Try it with no options checked and 255 opacity looks very peaceful) add some background music and you might think you're at the beach. Beach now included. -------------------------------------------------------------------------------------------------- Update 02-12-07 Cleaned up the masking, no more rainbow colored outlines. Added a couple optimizations suggested by Roger Gilchrist. Added ships reflection to the water and made the ships movement more realistic (some). Thanks for the suggestions and support, if you have any more ideas for improvement, let me know.

7_2009-2012 #220918
Complicators and Simplifiers (New Paragraph about the API)

This is a project I want to start: Collect hints and examples which might help Newbies (and maybe some of the Oldbies) to improve their coding style and efficiency. Comments therefore are welcome as are suggestions, additions or alterations.

7_2009-2012 #238734
Two-dimension Array Class

2-d array class based on 1-d array. More flexible than VB's 2-d array: redim preserve both dimensions, change all bounds etc. Supports all variables including strings and dates. * Final version - now allows redim preserving by setting lower as well as upper bounds, change of array vartype, and includes convenient user type for saving array information.

7_2009-2012 #225789
Using Windows Vista Aero Glass Interface in VB6 Apps

This code shows you how to use Windows Vista Glass Interface in VB6. Note: You need Windows Vista to use this App. Dont forget to Vote.

7_2009-2012 #237431
ShellExecuteWait

This code uses simple API to launch a program or a document but this code also awaits until the process has ended so you can force the user to do something before proceeding (as setup wizards does). The procedure supports command line parameters, a working folder and showing options. It's so simple and I couldn't find it on this site so I posted it.

7_2009-2012 #239014
airline reservation system

its a simple airline reservation system using ADO.. it was my first project .. but is quite simple and easy to undersatnd

7_2009-2012 #231389
Kimmo - CoolCode Update

Enhances the vb ide with functionalities for ease of builing source code. Also has an Inno Setup converting tool to make your setup programs from vb to be inno installable.

7_2009-2012 #238149
clsFileAnalyzer v2.5

After quite a long time searching for a decent replacement for the FileSystemObject - which did not require the programmer to include a bloated DLL dependency with the application, making use of a tool that, although useful is rather slow and more often than not, does not yield the desired results one intends it to achieve - I decided to create my own file handling class, for no examples online helped me perform the actions I needed. So, after many attempts and having several times recoded the class from scratch, tweaking and optimizing it for a better performance, and adding functions I haven't seen anywhere else, or at least improving on the most common ones, I think this version is good enough to be released. After all the hard work of compiling a class that is both simple yet featuring advanced functions and thoroughly commenting everything, so it is clear and easy to understand, I have decided to release what I originally intended to keep for private use, so that other people may benefit from this and are not forced to 'reinvent the wheel' every time, when it comes to file, folder and drives management. clsFileAnalyzer contains over 50 different functions for file, folder and disk handling, whereas most of them were created by myself, while a few have been heavily modified from other versions I have come accross online. I have tried to review each one carefully, but if you manage to find a bug or think you could make it faster or more reliable, please do not hesitate to contact me. You will find all my software on www.kaotix-crew.net, where many of my other open source applications have been released, so check back if you're interested. I hope you enjoy this class, - NightWolf

7_2009-2012 #236437
Learn Visual Basic - Beginners, Start Here

I first found Planet-Source-Code.com in the seventh grade, and as a programming enthusiast (with then only minuscule experience), I instantly latched on to those helpful submissions encompassing so many of the basic aspects of programming. In return for all the help this site has given me over the years (>5 years experience and even as just a high-school senior a job as a programmer) I have decided to finally submit my own contribution. I designed this with the near know-nothing computer enthusiast in mind-- those desiring to learn visual basic (as well as general programming concepts) but still having trouble finding good resources of information. From the main menu, you may select a topic, wherein its respective window will appear. You will then be able to actively explore each subject as it will appear to the user and by clicking on the question mark in the lower right-hand corner, draw up a screen showing the exact code and APIs/applicable controls. And for those who have moved beyond these tutorials, there is also the actual program's code to be read. Overall, it should be quite a helpful guide. Covered are subjects such as: > Simple animations > Button events and properties > Combo boxes (and managing their data) > Drive, Directory, and File List controls (linking, etc.) > File manipulation > Input boxes > Labels (properties and styles) > Listboxes (and managing their data) > Loading images from files > Loading text from files > Message boxes (formatting, styles, and returns) > Option buttons > Playing .wav files > Progress bars > Saving image files > Saving text files > Visual Basic Shapes (styles and properties) > Status bars > Text to speech > Timers And such general programming concepts as: > For loops > If...Then...Else statements > Select...Case structures > And many others in the program's code itself! I only hope this can be a truly helpful aid for those trying to begin programming, and might perhaps fill in any possible gaps from those programs that so helped me when I was just beginning... Good luck and happy coding! * As a side note, XP-styling on controls will only be applied upon compilation execution of the .exe file.

7_2009-2012 #232571
A Great Winsock Tutorial Part 2 - Creating a Mutliuser Chat Program - FULLY COMMENTED

Excellent tutorial for begginers in multiple winsock connections. Create your own simple multiuser chat network. Very well explained + heavily commented example source codes. http://www.phoenixbit.com

7_2009-2012 #218487
Biological Life Simulator

This little program was my final project for a university bioinformatics course. It is designed to represent basic evolutionary and population genetics principles for simple artifical organisms. Basically, simple creatures compete with each other for limited resources. Each organism has a strand of pseudo-DNA that determines three basic attributes: size, speed, and range (how far it can see). When the little critters reproduce (asexually - sorry, everyone :), mutations may take place in the child organism. The code isn't completely optimized, but you may still find that it runs too fast compiled. It can be quite addicting - my longest simulation ran for almost 400,000 cycles before all the organisms died out. For further analysis of a particular simulation, all data can be saved to a tab-delimited text file compatible with any major spreadsheet software. Comments and suggestions are welcome.

Languages
Top Categories
Global Discovery