Results for "Volume: 2_2002-2004"
This application can Extract the existing DAta structure of any SQL Server database and it can be saved in HTML table format.Tables structure of selective tables can be Printed.Table can be taken copy
If you need a separate logon rather than just the OS logon for your application and you are fed up with maintaining user passwords within your application, this may be suitable for you. This is a VB implementation of MSDN KB Q180548 (or http://support.microsoft.com/support/kb/articles/Q180/5/48.ASP). Please read the caution statement in the article before you use it. (The previous submission was truncated by planet-source-code. This is a re-post.)
This example shows how to get at the MS PowerPoint application's COM. It can create a presentation and add slides to it. Text boxes can be added to the slides.
This code will take a range (lower and upper), and output a string of random characters (0-9, A-Z, a-z). I use this to generate a key for encryption, during the key negotiation phase of a connection to an encrypted server. Usage is simple: Dim sKey as string sKey = GenerateKey(10,100) ' this code generates a key with a length between ' 10 and 100 characters.
Ever wondered on how to draw Bézier curves ? well, here is a recursive method that let you move control points and define the depth of recursivity. Really help to understand how it works, ever if you don't know the theory about it
To explain the states of the winsock control
Include VB5 Support Explain How to create(Link) a different App/Dll(real dll)/vxd/mips applic/WinCe applic All in VB6
This is a custom container control which has 9 different caption alignments, 6 caption styles, 8 appearances, and 4 styles including transparent. I've tried to make this as bug free as possible, but I can't guarantee that it is. I'm always looking for suggestions, comments, and/or criticism so feel free to leave any. Enjoy!
Code editors in programming languages like Visual Basic, Access, SQL Server etc., don't provide a spell checker, and sometimes I was forced to cut and paste text back and forward from Microsoft Word. QCheck allow me to access the power of Microsoft Word quickly and painlessly. To use it is very simple; highlight a word or sentence then right-click the QCheck icon from the System Tray and select one of these options: 1. Spelling (also accessible by left-clicking the icon) 2. +Grammar 3. Thesaurus 4. Add Line Numbers (adds line numbers on selected text) 5. Remove Line Numbers (removes line numbers on selected text) 6. A simple text editor can be found by clicking Qpad from the popup menu. From here, spelling and grammar can be checked without highlighting the text. In addition, clicking the OK menu option, the corrected text will be sent to the application the editor was hooked onto (Do this by clicking the Set menu option). The last two options are especially useful for programmers wanting to add or remove line numbers in code editors with minimal effort.
You want to make a jump'n run? Ever thought about how to make the player walk left or jump or press a button? I'm sure you will spend a lot of time (and code) indexing the sprite-frames, countdown the animations and so on... So here's a solution: This application provides an editor to set up animation-sequences and sprite-descriptions from any bitmap. The sprites can even have different sizes! It also features an "engine" (a single module) to add to your game, where you can display your animations with only two lines of code! Useful for jump'n runs or arcade-shooter, although it is NOT a 2D graphic-engine (but easy to use in combination).
WaitableTimer API This demo demonstrates how to use the WaitableTimer API in Windows. A WaitableTimer is very similar to the Sleep API. You can use this API to pause your application for a set amount of time, without taking up any CPU cycles. The benefit of a WaitableTimer over the Sleep API is that WaitableTimers allow your application to still receive events during the wait, while the Sleep command will freeze your app, queuing all events until the sleep interval has expired. Demo This demo shows you the difference between a 5 second wait using the Sleep API compared with a WaitableTimer. You will notice that while sleeping your form will not respond to any events, such as minimizing the form or re-painting if the form gets covered by another window. While using a WaitableTimer, the app remains completely responsive to all these Windows events! Finally, this demo provides an easy to use class called clsWaitableTimer, which completely encapsulates the WaitableTimer API. All you will need to do to take advantage of this API is to call the method Wait, passing in the number of milliseconds you want to wait. Enjoy and don't forget to vote!
This code is ideal for sending a large number of formatted e-mails to a distribution list. Mark Wilson's submission of Automailer v1.0 inspired me to write this. It uses the same principle of sending e-mails to addresses in a database. I re-wrote the project to use CDO rather than MAPI controls. I have extended the code significantly in the following ways: 1) You can mail using RTF (not possible with the MAPI Controls). 2) Full error handling for MAPI errors eg logon failure. 3) Code will stop at EOF in the db, not continue in a loop as in Mark's. 4) No need to write your messages as HTML. 5) No need to have Outlook running for this to work
OpenGL in Visual Basic is a largely unexplored area. I did a search on PSC for OpenGL and came up with a mere handful of results. Some of the submissions were quite good, however I felt that they were a little too complex for the beginner in OpenGL. This submission is an altered version of a port to VB from C++ (Original tutorial + VB port available on http://nehe.gamedev.net). This demo initializes OpenGL in fullscreen mode and displays a mipmapped textured cube which you can rotate. The main feature I'm trying to demonstrate here is loading a TGA file from disk and using it as an OpenGL texture. You will need hardware acceleration of some form to view this demo at any form of acceptable frame rate, but I consider this an acceptable requirement.
Do you remember Hot Corners that came with Plus for Windows 95. Simply point your mouse to one corner or another and you could start your screen saver or prevent it from starting at all. That functionality was lost in Windows 98 when the System Agent was replaced with the Task Scheduler. The sage.dll file still exists but it needs the System Agent to run correctly. Here is a custom Hot Corners application and a Screen Saver Template that implements it. The Hot Corners App includes a Settings Dialog that can be called up from the Display Properties window by clicking on the Hot Corner Squares allowing you to change each corners function. The Screen Saver Template shows you how to implement Hot Corners into your custom screen saver and includes support for Preview Mode on the Display Properties window, Changing the Password, and a Settings Dialog.
This code inputs a list of any amount of words seperated by commas and goes to the internet and gets the definitions for the words from an online DICTIONARY. you can select short definitions or long ones, you can have the program message you when it cant find words, it also makes it easy to copy the words and definitions into a word processor. GREAT CODE, try this out if you want to learn about screen scraping.
RamoSoft Print Preview is a production quality component that can be embedded in your own projects to bring print preview capabilities without thrid party controls. The current capabilities are: multiple Zoom Ratio, Export to several formats (HTML, Text, Csv), Client Window hosting (see screen shoot), cool interface, easy navigation, Printable pages selection. This new update remove some innecesary code and make the component lighter but keepping the export functionallity. Still in a beta fase but is good enought to be used as a base for a production application. IMPORTANT: Due I have been trying to upload the update without success, please email me to get this new release. Hey!, don't forget: VOTE FOR ME!!
Protect your EXEs/OCXs/DLLs by CRC checksum verification - and do it QUICKLY! Several methods exist to detect file modification, and CRC checking is one of the best. However, CRC checksum generation in VB is slow. Until Fredrik Qvarfort came along, that is... His CRC generator code is amazingly fast. If you combine his CRC code with Detonate's CRC-check-the-whole-EXE idea, you get the code presented here: a file checker that can check a file faster than just about anything else out there and still detect single-byte changes. By fast, we're talking several megabytes a second kind of fast. So fast it takes longer to load a big file into memory in preparation for CRC verification than it does to do the actual verify. Includes a ready-to-compile CRC-"tagging" tool for creating the CRC markers that are used to verify the file's integrity, as well as Fredrik Qvarfort's CRC class code (with his permission) and demo CRC-check project. NOTE: I have not tested this code in VB 5, but it's so straightforward that it should work with little or no modifiations.
This is a DirectX car game made in VB. I used Objects in this one so it should help some people. It's not very interesting but demonstrates a good way to make an OO Game. Hope you like this.
This program simulates snowfall in a very realistic way! It has quite a few speed adjustments and has been written for pure speed! I have included many options and around four custom backgrounds. Please vote for my program!
Dir2HTML allows you to browse your directories and export the directory (and everything below) of your choice to an HTML page. This application is particularly helpful if you want to make a sitemap of an intranet or internet site. You can specify the name of the virtual directory, the target (if you want to use the page in a frame), and the location of the image files.