Results for "Category: Miscellaneous"
Easily know the hexa code of what you type in ascii mode.
Know the ascii code of any pressed key on your keyboard. Helpfull for "TEXT(n)_KeyPress" event.
Randomly Create a 6-25 character password using, lower case, upper case, numbers, or symbols.. or mix and match the characters you wish to use. Thanks to the people that emailed me with better ways to do it. :)
The idea of this code is to provide a _good_ language packs engine and format for VB applications.
This is more for a programmer's tool then anything else. It allows you to select a window on screen with the mouse using a cursor and a smaller image representing that cursor on the dialog (which disappears when you click on it and drag it, reappearing when you make a selection)
To show how to use logical comparisons in VB. Shows the different symbols for the logic gates[heh, drawn by me...]. Also allows you to see the truth tables. Covers Or, And, Xor, Nor, Nand, and Xnor logic.
MSN Status Viewer (Second Release) After releaseing the first one I realised it looked rather lame so I decided to add a skin to it and it looks cool!. anyways i fixed up some bugs from the old one and have added some more features and left some ideas (eg. Trojan) for any of those who want to use it. PLEASE COMMENT!!! i dont care about votes just feed back so please leave a comment.
Like a friendly Screen Pal... A Ball bounces on the screen... The Ball will Also Bounce Properly on the edge of any window... Restore A window and check for your self
This is an LCD-Screen for use in mp3-players or digital clocks. This app creates LCD numbers by using the BitBlt function and is verry easy to use. this code is commented in English and Dutch.
Breaks up a string so that it can be effectively printed - word wrapped - using the Print statement. SplitLines is a function in Visual Basic to return an array of strings from a long string such that the each array element has its P.TextWidth(Lines(i)) < W. The function uses the current font settings of the object P which could be a Form, a PictureBox or the Printer object.
This Article has nothing to do with Visual Basic, but a simple answer to those emails i received from PSC members asking how to add Assembly Inline-Code to Visual Basic; i say why learning those when you can actually write your Win32 Assembly Code, in pure TASM format! the article was written in serries, but this is the only part i will be uploading here in PSC cause i am now on my way of designing my own website, soon i will be deleting all of my entries here =(
My way of printing the content of MSHFlexGrid Control. Supports different sizes of rows and columns, individual cell formatting, fonts, font size, style, colors and alignments. Enough spaces for header and footer, to insert header footer just use PRINT method of VB. Vertical and horizontal space between columns and rows. Each cell can be printed with angular or rounded corners. Gridlines can be enabled disabled. Elimination of rows and column is possible. It also has boarder with width, color and style. Easy pagination it prints only given number of rows, give RowsFrom to RowsTo. It also has vertical and horizontal rulers which helps in placing text exactly in printed media.
Trap system keys with a system keyboard hook on NT and 2000 OS.
Microsoft Visual Studio.net (v.7.0) Including the awesome new Visual Basic.net language is now available. VB is now 100% object oriented, threads are now available, no more runtime libraries etc. Check out this small article with a screenshot to learn the basics of the new stuff in VB.NET ...
Have you ever wanted to time how long your code takes? Or time how much faster/slower one 'Sub' is than another? Well, this program can do all that and much more! It calculates percentage difference, MS (milli-second) difference, and time difference (# times faster). It can also log the results to a text file and make graphs based on the times! (Requires MS Excel 9.0 Object Library for graphs). Check out the screenshot!
Yes it is possible to put text into a picture box. You can use this code to display captions on pictures and make uneditable text!
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 enough to fit inside any give picture box. Good for thumbnails. I don't know if this code is bug proof... Let me know what you think ,Thanks
Make a progressbar in VB without any OCX or DLL's
this is a simple way of crashing your windows -computer using the rundll ...
You know... Real resize function needs some information about what to do. It cannot be done without information. The program even doesn't know what I want until I give it!!! For example, Let's say you have 4 controls. First one is command box, so it should be moved on form_resize. Second one is text box, so it should be wider or vice versa on form_resize. Third one is multi-line text box, so it should vary on width and height both. Fourth one is a label below the third one, so it should move vertically. You can DEFINE very easily how your controls should resized according to the parent form's resizing. If you are doing a lot of forms(maybe over 30, 50, 100?), this function will be very helpful.