Results for "Category: Miscellaneous"
To show how useful a flexgrid is.
System Tray Example 1.0 This is another System Tray Application. I know that there are many samples scattered all over Planet-Source-Code but many of them are incomplete or buggy, so I wrote my own. This code covers the basics of adding an icon right through to the advanced levels such as modifying icons, popup menus, minimising to the tray and using multiple icons, yet is still very easy to follow and is well commented (read the beginning of the module for detaile information). The code also incorporates a TitleToTray module showing how to animate the mimimizing and restoring of your form to the system tray. I would also like to thank peoply whos code I have used in this submission, namely Chris Miller for the TitleToTray code which I modified slightly and an unknown author for the basic system tray code (Sorry I don't remember!). Dispite being a Planet-Source-Code member for so long, this is still oly my first submission to Planet-Source-Code so please vote nicely and leave constructive feedback. I hope you benefit from this code and if you find any aspect of my code useful, I would appreciate being notified and possibly being included in the credits (you may also want to include the original author of the TitleToTray code (Chris Miller)), but it is not required, at least leave me a comment (and vote!) ;-). The reason I say this is that I believe that if people freely share this information, and someone else finds it useful, I believe that the original author should be credited. It really disappoints me when people not only use someone elses code without giving credit, but alo try and claim it as their own. This is wrong and selfish, but anyway... If there are any problems or bugs, feel free to contact me at shaun@visual-source.net, or shaunleeclarke@msn.com if you use the MSN Messenger Service. Enjoy!
Set the default printer for Windows at runtime that remains even after the app shuts down. All printers on the user's system will be displayed in a sortable listview from which printer selection can be made. Something like this is useful because the VB DataReport always prints to the default printer.
This code is not for everyone, just for those of us who like to work with maximized windows. This will explain how to force Visual Basic 6 to always maximize your code windows when opening projects. This method will always open windows maximized, not like VB5 when it would rememeber your settings.
Revised - This is a new version of my webReports submitted last year. This code will create a report from any database table you specify and your able to export out to an EXCEL/CSV/TXT/XML file. Change the dbase.ini file to point to your database. I added the ability to write your own SQL statement and some other nice futures like saving your custom report for later viewing.. See live demo at http://www.personalwebsolutions.com/webreports/ Don't forget to vote.
This is a scrolling credits, that will scroll the credits flicker free.
The code demonstrates how to work with System.Drawing.Printing Namespace
INTENDED ONLY FOR EDUCATIONAL PURPORSES! USE IT AT YOUR OWN RISK! Yeah, don't forget to backup your dll :) Patching msvbvm60.dll HEX's View On It :) How to find string and replace it with hex editor
This small script will let you output how much time (in seconds) it took for the page to expell. i.e. 0.501 seconds
Just For FUN
Ok, yes we all love vb. But didn't / don't you want to learn and harness the power of c++? THIS TUTORIAL INCLUES EVERYTHING for starting out from vb to c++. This is a great, authoritive, comprehensive tutorial that shows you C++ side by side using vb code. Six part tutorial that covers everything from syntax to the IDE to 2 types of Win32 window creation. Callback functions, and over 25 screenshots with the side by side code and tutorials. You should have a pretty good handle on vb, yet it is EXTREMELY EASY to FOLLOW! Comes with source and example code, duplicate programs written in vb and then in c++, shows how to use c++ (WITHOUT CHEEZY MFC) and the REAL Win32 way. Make your own windows with your own classnames, use DialogBox(); Declaring Variables, CALLBACK functions, Fully commented. You may say that you don't need c++, but how do you think the API Dlls are made? Not with VB's ActiveX Dll. You can integrate c++ with VB by writing complex dlls and simply calling them in VB! I Promise you success! ohhh it is so sweet.This will teach you a lot. PLEASE download and vote! Check it out! KEYWORDS: C++ TUTORIAL VBTOC++ WIN32 Win32 RegisterClass CreateWindow FindWindow CALLBACK Switching Jaime Muscatelli
This is a serious update to my previous submission on saving data from a listbox. Unlike my other submission, this saves to a specified binary (any file that will hold text [.txt ,.dll etc] ) file and will reload it as well. My old submission saved to the registry, which could be troublesome if not used correctly. CHECK IT OUT! KEYWORDS: LIST SAVE SAVE LISTBOX
GenFonts generates an HTML document that displays the alphabet and font name in said font.
Allows a novice user to shutdown/restart/log off/force shutdown with or without a specific time length his/her computer with a simple one line of code
Error overflow corrected. Graphical display for a network bandwidth monitor Update to code found on PSC… Class modules belong to Shane Croft http://www.Planet-Source-Code.com/vb/scripts/ShowCode.asp?txtCodeId=32253&lngWId=1 I added the GUI.
Register system-wide hotkeys for your application. Utilize the Windows key on the keyboard in your app.
Determine Beginning & End of Month for Processing
Some String/Memory Functions in C/ASM (no comments yet) I may submit some comments to when people ask for it. This code is IMO only usefull for who are coding an emulator and need some extra speed, which this code will probably give. Please note that a lot of the ASM code could still be optimized a bit, but that I leave to you ;)
This is a nice and easy made PHP calender, that i easy to change and implant to your site. Pleas give a comment god or bad!
This application has several codes for open a serial cash drawer. I had a Point of Sale application and need to add this future to it, so after several hours digging and testing several codes, found these. For me the code behind buttons 3 and 4 works; the app, contains 6 different methods for open a serial cash drawer, hope one of them is right for you. Tested with Epson receip printer only.