Results for "Category: Miscellaneous"
I posted this code yesterday but I had comments on it and emails sent directly to me from my web site asking how to use it. Guess that is the problem when you only post the sub routine. So, here is the code again, but this time with a demo project. This uses the API to simulate the minimize effect you see of a form shrinking to the taskbar, but with this code you can shrink it to any place you want, like itself to show it imploding, or the tray, or to the mouse. KEYWORDS: FORM ANIMATION DRAWANIMATEDRECTS FOLD IMPLODE MOUSE TASKBAR EFFECT EFFECTS
Present a concise, easy-to-understand, and easy-to-use method of binary encryption. It could easily be taken and twisted into something more complex and harder to crack.
This scrolls a string in the titlebar
Allows selection of listbox items with right-click. *Not trying to get any votes, just sharing help I've provided in VB Discussion forum to everyone. Enjoy.*
Crystal Report Viewer.. How to Display a report in Crystal Report Viewer (MS Access Password Protected Database)..
I've tried a lot of different multiple undo examples from the Inet, but every had at least one draw back. So I had to write my on solution and I think this one is quite smart. If you want to use it, you don't have to clutter your code by pasting in lots of undo-related subs, functions and variables. Everything comes within two handy class files and you only need to add three lines of code to your VB projects. -- I didn't test the code on VB5.0, would be cool if anybody can give a feedback on that. -- NEW: a single undoitem now stores only the modifications and not the whole text --> that is important when working with bigger files. -- NEW: now you can turn off the automatical tracking of text changes --> may be useful on automated text operations. -- NEW: Speed improvements. New properties getUndoCount and getRedoCount. Now you can undo/redo multiple changes with one function call. -- Thanks to MrBobo for his ideas and suggestions. -- -- Have a look at the latest version supporting standard textboxes too: http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=34335&lngWId=1
This sample application wraps a set of functions used to create, manage, modify and display a hierarchy of objects (organigram, ...) It uses only standard VB controls, no OCX or API calls needed. All comments are VERY welcome.
A beginners guide to how windows (tm) works
Refresh / Redraw / Repaint the users desktop. Used when you have changed something on the desktop and you want the user to see it :) - Comments and Rates will be appreciated.
This is another tweak of the somewhat popular scripting language JEL here on PSC =) I don't take any credit for the scripting class, but all of the other i've made myself! :) (I might add that it's not finished yet! There's alot more to do) Also, i've added some small network and keyboard input features and there's more to come.
This tutorial will learn you how to combine HTML Help with VB, so your applications can easily have functions like "Whats this help" and "context sensitive help". This tutorial is fully illustrated, (17 images), everything done nicely step by step. VB6 is REQUIRED. This will not work with older versions.
The demo will show you how to use ADO to connect to a database hosted on a web server. From there all standard uses of ADO recordsets and what not are possible. I see this question asked a lot in newsgroups so I thought I would share this code here to to help refer them to a working example. Note, the web server has to be a server you have rights to and not just some free web hoster like GeoCities so don't get too excited if you thought that is what this was. This demo will connect to my web server and read data from the NorthWind database found in SQL Server. Also note, my web server cannot handle a lot of traffic so depending on how many people download this and try it, you may have some slow responses or errors on connection. Sorry, but this is just a demo. This code is really not advanced, but many people do not know you can use ADO like this so I just wanted a demo up to point people to later on. Hope it helps some. KEYWORDS: REMOTE DB DATABASE ADO RECORDSET WEB SERVER WEBSERVER CONNECTION SQL IIS
This is just a simple skin example. It uses the BitBlt Statement. Please leave all feedback. I will try to email a reply, or ill post it here.
Provides a "floating" calendar control that you can doc next to text boxes. It's a wrapper for MS Cal Control 8.0 that provides some value added and fixed an annoying bug. Updated to show use with MS Masked Edit control as well.
This is another program I wrote for Diablo 2. It converts any mana or health potion to a gem of your choice. It can also upgrade gems to perfect. This is only a start. The method used can be applied to other cheats.
I always thought 0's and 1's were cool as a background to web pages or in the credits to the movie "Ghost in the Shell". I found a way to actually make your binary numbers mean something instead of trying to make a lot of random binary numbers on your own. This program looks as the Ascii value (0 - 255) of a character and determines an 8 digit binary number that the number equals to in binary language. It also converts binary language back into strings so you can send binary messages to and from your friends if your really up for it. Take note - A binary text message will be 8 times larger then a regular message. Download: This zip file comes with the executable and the source code. Hopefully it is all self explanitory. This is only the executable itself and does not include the run time dll's. You may need to download a visual basic 6.0 virtual machine.
These codes fade a Label ForeColor from Black to Red, Blue, or Green. They were written to be used on a Splash Screen. I used them on my Splash Screen and it works pretty good I like it...
Owner drawn custom buttons like never before, even create your own Titlebar. Just take a look at the screen shot to see what it can do.
More updates and more bugs fixed, please try this program. You can create great effects, ALPHA TRANSPARENCY on buttons gives a great effect. TAKE A LOOK AT SCREEN SHOT.
This class makes it easy to print a formatted grid on the printer, a PictureBox or a Form. You can set the font for the "normal" cols, the header cols and the footer cols, set the col alignment, the grid line thicknesses, the col widths, margins and other things. It also supports column and row merging. With a simple multi-page support ! This submission also includes a function (in a separate module) to "import" a MSFlexGrid allowing you to print such a grid quite easy. Now it also includes such code for DBGrids and ListViews ! This code doesn't base on the MSFlexGrid or any other OCX !