Results for "Volume: 2_2002-2004"
Example on how a template can drastically accelerate development time for a Database app. With this template, you just have to drop the text controls you want on the form, modify their tag property (see file _Notes.txt) and modify the SQL string that the form uses to get data and voilà. The code will take care of the MoveFirst, MovePrevious, NewRecord, MoveNext, MoveLast, SaveRecord, DeleteRecord, Undo, Requery, EditRecord and CloseForm. It will automatically enable/disable the controls based on what the user is doing and his location in the rescordset. There is even options (in the tag property) to set default values and field validation (alpha or numeric). Since it's the tag property that drives most of the features of the app, the code is very portable/reusable. The template only uses UNBOUND forms (i.e. there is NO Data Control) and is well commented.
This application converts numbers from one base to another. Namely binary, decimal and hexadecimal numbers.
Need the print source code (at least under YOUR control)? Used to be a shareware product, but now a freeware product. Enclosed packed executable for immediate usage. Has sounds for fun. Output can be standard windows printer object, an old text printer (direct to port) or rich-text file. Complete with preview, project information, print icons from each form, form control names list, index. Oh, see for yourself for the rest. Have fun. (Updated using VB6)
I've downloaded a program with a disabled X but if you press alt F4 it will close so I decided to submit his code because its more practical. No need for API's to disable x, Ignore Alt F4. This is only few lines!!
This function returns the height, width and image type of an image that is either JPEG, GIF, PNG or BMP. The code looks horribly mangled on the web browser so I've zipped it into a nice clean text file.
Listen to a specific TCP port. Unfinished BETA version.
Ever wanted to use NetZero? Without the ZeroPort software? Well now it's possible. NetHero will convert any existing NetZero username and password to a username and password that will work with Dial-Up Networking.
This code can, check for duplicates in a listbox, and remove them, it can sort a listbox (although my way is very hard to explain), it can shuffle the items in a listbox, and it can remove any item with a certain designated name from anywhere in the listbox, it's pretty cool, check it out!!!
Allows you to zoom a part of image. I have seen something like this in encyclopedia on CD and I tried to do the same.
The WebBrowser control is at the heart of the Internet Explorer web browser. You can use it to navigate to and display a web page or even pipe in raw HTML from your program. This program is a short demonstration of a number of basic capabilities: Opening a blank page (or any) Piping in raw HTML to build a page Scanning the document object model's (DOM's) elements Altering elements' properties (e.g., color) Altering elements' inner HTML (e.g., inserting text) Automatically scrolling
What this code does is allow you to chose a image and then display it as a 'skin' in Windows Explorer/Internet Explorer. Have a look at the screen shot; A picture says a thousand words, and nicely sums up what this program does. Please vote for me If you find it useful or interesting!
Title sez it all. Check it out!
This program generates code for a Microsoft Access database that the user selects. The generated code will declare the connections as well as open and close the connection. This code has a lot of examples of coding with ADO and grids. I have lots of comments in the program.
This article teaches you the basics of Windows API by giving you a walk through of Declaring API Functions from Start to Finish & uses real examples of useful code you can use in your Projects!
Download Example: Enables you to download files from the internet without any use of an OCX.
This code shows how to move an object along exact angles using trigonometry. I made it after I download a sprite that could face 32 different directions. Instead of doing some complex movement function like I'd done before, I made this technique. Now all I had to do was increment a variable by 11.25 (360/32) I am sure that I am not the first at doing this, it's just that I had never seen it on the internet before so I thought I would put it up and help all of those who could use it. I just put it into a simple project where you drive a tank around. The project could be used for a game too, if you want, e-mail me and I will send you the better graphics, the ones I used are shrunk and 8-bit instead of 24. Anyways, download the code and enjoy, all feedback is welcome.
Subclassing, the interception of Windows messages, allows you more control over VB than ever before. Now you can display messages in the status bar describing a menu that is selected, or force a form to have a maximum and minimum size (like the VB main window). This code shows the benefits of subclassing.
My first submission. This code uses the vbAccelerator common dialogue control replacement, to generate a file open dialogue with an image preview. The example at vbAccelerator didn't quite meet my needs so I built this from it.
You can do 3 things with this program: a) you can backup your project's files, b) you can put line numbers in your code, and c) you can put error handlers and trace routines. If you use the third option, the program will add a form and a module in your project, which contains the necessary code. Before you start, read the readme.htm or press the "Help" button in the "Project" Tab. I believe that 'Developer's Buddy' is a useful program for every developer. This is a beta version, so you can send me errors, ideas and comments. SEE IT.
Send Email like Outlook does with attachments..Uses NO OCX..plain Winsock. This cnnects to an SMTP server .