Results for "Volume: 7_2009-2012"
This includes the source code for Rotating a Picture 45 Degrees, Flipping a Picture Horizontally, and Flipping a Picture Vertically! Very usefull if your working on your own picture editing program. Questions: mikecanejo@Hotmail.com
Dates in SQl queries often cause problems, as the date must be in the ANSI format whereas dates brought back can be in a different local format. This function simply returns the date in the required format and save having to type Format(DateString, "mm/dd/yy") every time.
This is one of my first project as a programmer, the project's main goal was to make a user-friendly level editor for DOOM. I haven't touched this source for awhile as this project was abandoned later and never finished. This source will compile with no problem with Visual C++ 6.0, and there's a line in WinMain you can uncomment if you have a DOOM main WAD and then you will be able to see the textures displayed on the toolbar when you select a line. This code is currently very messy, but it can teach many programming techniques. It can help you learn how to read a large binary file such as the DOOM wads, it can teach you how to draw lines and different shapes with GDC, it can teach you how to write a full-blown Windows program without MFC, using the Windows API. This code can also teach you how to implement a large dialogbar, how to draw bitmaps and other types of images on a Window, open routines (Save not implemented fully), apply modes to your software, most of all, it's a fully-functional software coded in C++. If you like this code, please vote for me :)
Connects with a FTP-Server and transfers a file to it. I use it to transfer my IP to my HP every time I connect to the net
This is, as the name states, a 2d graphics engine using DirectX. It is a great thing for small 2d games, such as the one shown in the screenshot. It might be a bit slow if you do not use a newer computer, but still is a way to learn to program games easily. It does all of the API stuff for you and all the main DirectInput and DirectX stuff so all you have to do is include this file in your project. Enjoy!
Space Walls is an Arkanoid style game. It was written with BGI (Borland Graphis Interface). It has 10 screens and various extras in the bricks (double, extra life, etc).
This function create a transparent area of dirrent shape (such as rectangle, Circle) in your form, you specify where and how big the hole is. Unlike most other trnsparant routine, this one not only let you see trough it, but also allow you total access access the things in the hole!!! Of course, You can make the entire form transparent or make you form C - shaped! Fully tested in VB5 and VB6.
Simple but useful (i hope) button control Updated : - disabled state drawing - support for keys : Enter = Click Space = DropDown Correct focus rectangle drawing with TAB key
It alllows you to add ad banners to your site very easily. It teaches beginners how to use arrays, count arrays, and select one at random then generate some HTML out of it.
This function capture the screen or the active window of your computer Programmatically and save it to a .bmp file. This may allows you to get another machine's screen through network!!! Fully tested in VB5.
How would you like to process a form and insert its data into a database with only a couple of lines of code? With this tutorial I will show you how to process forms and insert data into databases with the least effort.
Simple Win32 program to demonstrate the shell 'Select Directory' browse dialog. This is useful when you want the user to select a directory, rather than a specific file. It is not as well documented as the 'Open File' common dialog in the win32 help. It took me a while to find it.
This is a very early stage of a graphical rogue-like game. (If you are unfamiliar with rogue-likes, they are the ancestors of the Diablo series, and came out about 25 years ago). So far, there's basic character creation, and an isometric view. The program supports multiple tile layers, as well as fringe layers (transition from one tile type to another). Initial support for spells, items, monsters, and skills is also there.
This code is to teach a small bit of socket programming. It connects to a simple time server and reads the time and prints to the screen. Easy to read code. Please vote. Also check out my other submissions and vote for those too!
It's a coolbutton. :) Those flat things that MS uses now. This one supports setting images for mouse over, mouse down, mouse up, drawing bevels for those 3 states, setting the colours of the bevel, automatically generating the mousedown and mouseup images by varying the brightness of the original, setting text positioning... lots of stuff.
How would you like to have your own About menu option on the little system menu on the top left-hand corner of your form. I whould , so I wrote a module to do it with one line of code from the Load event on my form. For this code to work you have to create a About form first (FRMAbout).
This small program demonstrates various Windows tricks such as hide cursor, hide system tray, shutdown PC, reboot and many more.
Demonstrates how to make a hyperlink, no subclassing or mouse capturing, and the result is a proper looking hyperlink...really easy! Also includes a statusbar if anyone's interested. (win32 API code, heaps of comments)
This code animates a glass cube moving on a picture in real-time. Almost the same as that Windows 95 screen saver (the moving glass boll). I though this code can help make a screen-saver like that. (You have to e-mail me a copy of that screen-saver please)
Although online payment options such as PayPal have become extremely popular in the last couple of years, the majority of online stores still use some sort of merchant system to accept credit card payments from their Websites. Before you actually encrypt your customer's credit card numbers to a database or forward them to a merchant server, it's a good idea to implement your own credit card validation routine.