Results for "Volume: 2002VB"
This tutorial is supposed to teach you how to do classes, operator overloading, and inheritance. NOTE: You need to have a good knowlege about structures.
This code stops your program in windows without causing it to "hang"
This code is a very basic 21 game, it has text colors and its own header file. It is a good example of functions. It is just annother consol game. Try it out and tell me what you think...
API Spy: lets you view various details on a window. It's a remake of the VB version (which you can also find on this site). Includes demos on: Accelerator keys, menus (trackpopup and system), subclassing tooltips, system tray example (with my own easy class), owner-draw buttons, a cool inputbox (one better than VB's), and all around cool functions. Make sure to check out the cool feature I call LOCK MODE. Content is mostly code, Neither DIALOGS or the MFC was used in the making of this project. Get it? NO DIALOGS or NO USE OF THE MFC! SO if you're looking for an easy way out, you won't find it here! Highly graphical, thanks to PhuryX13.
Welcome fellow programmers!! This is part one of the course which will show you the basics of programming C++ from scratch using the any platform. If you already know how to use the C++ already, you might want to read later lessons when available. So, lets begin. Found at http://pa.pulze.com/
Learn how to do variables, math and booleans in C++! (from http://pa.pulze.com/)
Welcome fellow programmers to our third lesson in a long series on the road to programming C++. This articles explains do, while, #include, and #define. (from http://pa.pulze.com/)
It took Netscape months to create their first browser, and Microsoft wasnt able to follow up that trick until years later. But you can create a world wide web browser in less than 15 minutes, even if you are a Visual Basic novice! The following tutorial will show you how to create an Internet browser using the Microsoft Internet Control (part of Internet Explorer). My only caveat is that if you end up putting the big-boys out of the Internet business with your creation, that you give me a litle credit in your About box! ;)
This is an implementation of the infamous 'Game of Life'. Made with VC6, as Win32 application. Demonstrates double-buffering, window clipping regions, bitmap buttons and more.
Open and close the CD rom door from code! Note:comment out the unneeded api declaration (16 or 32 bit) depending on what operating system you are using!
How to print a Microsoft Access report from within VB. Also, VB 16-bit. (by Jose Garrick)
Hello, this is Alexander. Since I finally got an email from someone who liked my previous lesson, I am going to make the second installment. This one will be about variables, and stuff like 'if' statements.
This is the third installment of the Lessons in C programming tutorials created by me, Alexander. In this lesson I will cover loops. Loops basically do what it sounds like, loop. If you have read lesson 2 you should understand some Boolean expressions. If you do not, you should read it again. When working with loops it is important to understand truth and false. Maybe you should try doing some truth tables with problems.
If you've ever wondered how sound applications can show the kilohertz and samples per second information about a waveform file (.WAV), the answer lies in the RIFF file format. The RIFF file format is designed to be as generic as possible. It is used for waveform, AVI, palette, and other information standards that may need to be mixed and used together. Generally speaking, though, any file with a WAV extension will only contain waveform data. RIFF provides information in chunks and subchunks. The header for each chunk describes the length of the chunk and the type of data the chunk contains (WAVE, for instance, is the string identifying a WAVE chunk). The Wave subchunk is immediately followed by the WAVE Format Chunk. It is this small chunk that defines the structure of the waveform data that will follow. It defines the format of the waveform, the number of channels used (with 0 being mono, 1 being stereo), the sampling rate, the kilohertz at which is was recorded, and the data block size. Of these, only mono/stereo and the sampling rate are likely to be of interest unless you intend to write your own custom waveform player.
The Switchboard:A method for handling subclassing in ActiveX controls f you develop ActiveX controls and intend to subclass or hook a window, you'll very quickly discover a problem when you attempt to site multiple instances of your control. The subclassing, which worked fine with a single instance of your control, now no longer works and is, in fact, most likely is causing a GPF. Why is this happening? The AddressOf operator requires you to place the callback routine in a module. This module is shared between all instances of your control and the variables and subroutines that the module provide are not unique to each instance. The easiest way to visualize the problem is to imagine a shared phoneline (or a partyline as we hicks call it) where multiple parties are trying to dial a number, talk, and hangup, all at the same time. What's needed is an operator, a routine that controls the dialing (hooking), the talking (the callback routine), and who routes information to the instance of the control that requested it. The Switchboard subroutine (see below) and it's supporting code provides a method for subclassing from multiple instances of your ActiveX control. It is not memory intensive, nor is it slow. It's biggest weakness is that it is hardcoded to intercept particular messages (in this case, WM_SIZE, to trap resize events) and will require some minor modification on your part to use.
At some point, you may find it useful to manipulate the location of the mouse cursor. Perhaps you are designing an interactive tutorial, a walkthrough, or maybe you plan on controlling another application through mouse events. Regardless, you will quickly find a number of hurdles to overcome and it is the goal of this example to help you over, under, or around these hurdle
GRAPHICAL WELCOME FOR ANY PROGRAM OR PROGRAMMER, WHO WANT'S TO IMPRESS HIS USER, MAY IT BE A CLASS PROJECT OR A PROFESSONAL PRESENTATION.
Pure Entertainment. A space shoot-em-up game. Shoot the spce aliens before they shoot you.
Now that you have learned all about variables, loops, and if statements it is time to learn the next thing in programming: Functions. Obviously, you should have a good idea about what a function is, as you have used ones like cout before. However, this lesson will be more in detail about not only functions that are already made, but about making your own, or maybe I will continue this later...
I know that this is probably a let-down, after you learned all about functions, but switch...case is important to know. After all, it can save space with if statements, and it is useful. Besides, I couldn't think of anything else that I wanted to write about!