Results for "Volume: 2_2002-2004"
Keep track of your contacts! Dial their phone number(s)! Write them an E-Mail or visit their website with the click of a button. Please vote!
This code makes it possible to use function pointers (no, not OBJPtr) basic funciton pointers, in VB. It uses two API calls. Basically, it uses a window callback as the entry point for your new function, redirecting the window call to the function supplied. A little out of the norm, but a handy thing to have when callbacks to non-objects is needed. If you are attempting to call objects back, I recommend either the undocumented ObjPtr() or CallByName (when you know the name of the object function to call)
This is an example of how to use treeview control and nodes. If you have never used treeview before this is perfect for you. The treeview control is very powerful control if you know how to use it right. This code shows how to do some of the basic things with it as well as how to call popupmenues and few programming techniques. The code is well commented so it will be easy to understand.
I haven't seen this on PSC using the filesystem object or a collection. very neat and fast since you don't need to go through it twice to redim an array. the only slow down with this code is the print statement.
Displays a list of available printers installed on the computer, and lets you select one to use.
This class module automatically fills the text of a combo box, using an API call to look up the text from its list.
this code is an example for anyone interested in making a dictionary or any sort of internet file, it goes to dictionary.msn.com and takes the definitions and returns them to the program, a great program!
A reporting control to ease printing of reports. The control will also enabled preview of reports, save to file and printing to the printer. With this control, user have control on the printing format (code level) as to using the a third party ReportWriter
Wanna know how to connect a client and a server via winsock without the other person having to know your IP???
Print in columns to a printer or adapt this code to print to a form. First character alignes in a column for each row. No "Space(##)" and no grid. The project I am working on needed to be able to print an unforseen number of single words enterd by the user, whether 5, 25 or 100 and it should be neat and consistant. This code is a cut down version of my sub to show the principle and can be easily adapted. My thanks go to Harvest R for a tutorial(80647232000.zip) I downloaded in Aug/00 which I highly recomend. I hope this code can be used as a learning aid.
The code makes a program that will let the user type in information, and the computer will say it back.
Clear Cache When Your Application Hosts a WebBrowser Control
Ever tried puting a menu on a form with a skin? It puts a title bar at the top. With my code you can put menus on forms that you don't want to have the regular title bars on. I used some code from PSC on my skins. This is really good code. Please give it a good rating and leave feedback.
This is a start to an Asteroids/Gradius clone. Almost all of the program is documented. It demonstrates how to use DirectX features such as: DirectDraw, Sprites, DirectInput, Collision Detection, Playing Midi's, Playing Wav's, Sound Buffers, etc. You really have to check this out, it could really help you learn DirectX. Also, please vote and give comments.
Space Defender is a classical arcade style action game. It's a cool 2D space game with scrolling backgrounds, stars, alien spacecrafts, asteroids and background music. You are in control of a fighter that can move across the screen, dodging enemy fire and mowing down wave after wave of bad aliens (it looks like Raptor or Demonstar). See the Readme file for more info, please. For other vb games and demos visit my web site: http://web.tiscali.it/fc_vbgames/index.htm
Prints out a 'table of contents' for your Visual Basic program, which contains method names, syntax, and comments only. Useful as 'cover sheets' for the actual code printout.
ASCII Text Reviewer - This program can be very useful in many aspects of programming. It interprets text that is either typed or pasted into the text box, and let's you know the Chr$ value for each Character. It will also count the amount of characters pasted or typed. Includes Full ASCII Chart with text copying potential. You can use it if you forget the value of a character, such as programatically putting quotes in HTML and interpretation of hidden characters. Chr's like 10, 13, and 9. Keep a short-cut to it on the desktop to avoid having to look up Chr's on a hard to find ASCII Chart.
Ajust Text Size(zoom font) in a webbrowser control with visual basic! Largest-Larger-Medium-Smaller-Smallest
Add noise to a picture. You can also open and save files!
Allows you to create your own analog meters using MSpaint. These images become the meter face. Use the (analogmeter) subroutine to draw the hand (needle) automatically scaling the needle to the size of the Picture Box and position the needle to the engineering unit (value) you wish to display. Movement is smooth. You can also vary the needle width, color, and needle length. All of the meter attributes are sent to the subroutine with each update, allowing the needle color, (for example) to change as a value increases. Using the Picture1.Picture property, you can even load in a different meter face during runtime ... the meter needle and the meter face to not conflict with each other. No special ocx's or api's needed. All done with Picture1.Line property.