Results for "Category: Miscellaneous"
Fully loaded chat program. Uses winsock control. Can save and print chat session. Can start with windows using the registry. Sound clip upin incoming message and window comes to front of screen. Can change color of text. Single client/server in one exe file. Has auto update feature and retrieves newwest version if there is one. File transfer and ping.
Temporarily change the currently selected (default) printer within your VB program
A beginners guide to how windows (tm) works
Often especially when dealing with the API, byte and integer data types will be packed into LONG INTEGER (32 bit) values. Thes snippets allow you to decode/encode these 32 bit longs:
A class to allow you to print a data grid across multiple pages, with defined sty;es and with a header and footer on each page.
Create a simple client/server connection using winsock. Also shows how one might detect whether or not the address entered is an IP or a hostname, and then how to format that address.
Demonstrates how to implement a closed loop PID Controller. A PID controller is a closed loop control system (for real world applications) that is used to control systems that include feedback. some examples that may include a PID loop: temperature control (such as a thermostat) position control (such as a servo) speed control Includes a class that allows easy implementation in other applications. The *.frx files are now included please vode if you like this code.
Shows how to dock a statusbar control to the top-left-right-bottom of an mdi form, or make the statusbar detatch from the form and 'float'
When draged to top/left/right/bottom of the screen will snap to the closest side when it comes within 30(or other desired number) pixels of a side much like winamp.
This is a tutorial I wrote to teach C++ to people who want to learn it. I decided to post it here to help as many people as possible. Please leave feedback, and if you like it vote ;)
Detect Scroll, Num, Caps keys and toggle them on or off.
using this addon pack for MasterX you can create your own windows inside your MasterX video game.
Let me intoduce you to Langston's Ant. its an interesting demonstation of somthing called 'emergent behaviour'. Imagine a large surface made up of square, white tiles with an imaginary ant somewhere around the middle. The ant follows two very simple rules. The first rule states that if the ant is on a white tile, it turns black, and the ant then moves foward one square and turns left and continues. The other rule is, if the ant is on a black square, the ant turns it white, then moves foward and to the right and continues. When the ant starts to move, the movement appears random. At around 10,000 moves it suddenly switches to a fixed and repeditave pattern of movement that it wont deviate. Even if the surface is seeded with black squares, the result is the same, but the number of moves will be more. You will find that in all instences the same final fixed pattern is acheived. So far, no one has come up with mathematical proof that this will always be so. * for versions earler than VB6, delete the private from the sub to get it working.
This code was or original made in Visual Basic, you can find it there too, but I rewrote the code to Visual C++ for better performance, VB is no match for C++! I made the program for my Pentium 90 MHz that had no mouse, because it needed serial port mouse which I didn’t have. So hope fully you will also have use for this code or you may learn from it, because it is an easy, very fast and well explained program. It let’s you control your mouse courser actions by custom keyboard keys and custom movements speed. Showing the easiest way of hotkeys and controlling your mouse cursor movements and button actions. It has been tested and works in all Windows platforms (95, 98, ME, NT, 2000, XP) and all games (Half-life, Counter-Strike, Quake III arena). There are many functions including: * Moving at all directions * Left, right and middle button press * Single clicking * Double clicking * Drag and drop * Several keys up and down at once. All in just one single small and very fast procedur, the Main procedur. Whit out anything else like form, dll or ocx. Read "Assumes" in the Source Code for using instructions and notes, I will gladly accept any comments, this is my first Program that I have published in C++, enjoy =)
This sample code will show how you can create wonderful, flexible and robust reports using DataReport utility that comes with VB6. It only takes minutes to create reports in VB using this utility. You can connect via dataenvironment and drag the fields you want to show in your report to the form, thats it!!! happy programming!!!!
Struggling with pointers in C or C++? This tutorial takes a unique approach to explaining pointers.
Simple, but not so bad analog clock, code fully commented and understandable...
It's like a web-based visual interdev. It allows for server side editing/viewing of web pages and databases. You edit the settings file and you can view all pages and images under your web root. You can then view and edit (with proper permissions) any page on your site. This also includes an asp based upload which works for each directory you browse to. You can view columns in each table, view the data, requery...etc.
March 2006. Update that fixes some resize problems with the DX window form. Telnet client for Ham Radio DX Clusters. Log into your local DX Cluster via telnet. DX spots and WWV spots are put into table form. Many features including tunning your radio (Kenwood only for now). This app is complete and fuctional, only missing support for non-Kenwood radios. See HTML docs in the ZIP file for features. I do not have any plans to develope this beyond this point, might add other radio types (ICOM, Yeasu, Ten-Tec) as I have time and acquire these radios myself. So I am posting it here and hope some find it usefull. Take it and go play. 73 de WA1ZEK / VK2IFH
Control Program for the TenTec "Black Box" Shortwave Receiver. This App is not complete, but fuctional. A lightweight PC control app for the RX320, used mostly by me as a spare Ham Radio receiver. I have included in the ZIP the Ten-Tec RX320 Programmers manual and the service manual (PDF files) for reference in showing how the code module that talks to the radio works. I have no plans to extend or finish this at this time, so I send it out to the world here for anyone to play with. 73 de WA1ZEK / VK2IFH