Results for "Volume: 2002ASP"
This code demonstrates a little of what can be done with automation. It opens Word and allows you to create documents, write text, print etc. Unlike DDE the VB program is totally in control of the application and it's functions. Automation can be used to control most modern Microsoft Office products (Outlook/Excel/Access even VB!) and can make a real difference to your application. If anyone wants to see how to send Email / Create Contacts in Outlook, let me know as I have something prepared. As usual, I've left the comments in so that you can see what I'm doing. How to link an Automation object into your project: Project > references > Automation (example:Word 8)
Rubik's cube immitation. No API calls; no external file loads.
A function that returns whether or not the shift key is currently down.
Ping(s) a computer and returns the results.
While surfing the web i found the API for a function named TransparentBlt in C++ and i changed it over to VB. If you like BitBlt, your going to love this. 2 examples on how to use this API, one deals with a transparent animation, and the other is just a basic example using GetPixel API. Enjoy, cause this is a god-sent for me.
Lets you select Multi files out of a CommonDialog box and list the paths in one list and the filesname in another This code is a must have for people making a MP3 player Please tell me what you think, and vote!
You can drag (multiple or just one) files from a program like windows explorer or a common dialog onto a listbox & add them all to it, & parse before adding to just get the dir, filename or the whole thing.
Hard to explain. Check the screen shot. The blue part is moving from left to right.
This is a demo application of using ActiveX DLLs to implement custom plug-ins in you programs (written by you or other people), including methods to install and load them.
This demonstration program gives examples of how you can control Outlook using AUTOMATION to create mail, contacts and appointments. You can adapt this code to create the other outlook items.
Using this code you can read the *.pdf files, created by the Adobe Acrobat Reader. This has all the controls... zoom out, zoom in, find, print, save as copy, select text, page navigators etc. Coded using the Adobe Acrobat Reader Active X Control (not mine). With this code you should be able to read most *.pdf files.
This code will read the active titlebar height and font parameters. The Caption of the window is then centered with the date and time. I looked long and hard to try to do this. Most PC's don't use a proportional font for the titlebar and thus the amount of characters displayed depend on the size of the character (i.e. "WWWWWWWWWW" is wider than "llllllllll" in most non-proportional fonts). I found some info on the web and modified it to allow the caption to be centered in the area between the titlebar bitmap and the 3 controlboxes. The Titlebar size and the titlebar font & size can be different from machine to machine. These settings affect how much data can be displayed in the caption of the window, as does the screen resolution. I had originally tried constants based on the form width, but these were not 100%. Try changing the form size and the active title bar settings to see it in operation.
Get rid of that design time syntax error message box.
This VB6 project demonstrates how to edit an ADO multiuser recordset using databound controls. It is based on the 'single-record form' created by the VB wizard, but adds: * Enhanced error handling * Improved user interface The demo allows several instances of the form to be opened, for a 'pretend' multiuser network.
This code shows how to hide and unhide folders from the operating system. Shows how to manipulate file and folder attribute bytes to hide folders and/or hide files. Hidden folders and all their contents will be invisible to any and all applications until you unhide it. This program requires you to create a text file called pltQr01w.sys which will hold your initial password before you use it. Not doing so will no longer cause a run-time error, but rather will ask you what you would like the password to be. Bug reports to [email protected]
This is a very powerful notepad example. It is probably one of the best notepad examples on plantet-source-code. It also has a built in HTML editor, allows you to add images and pictures, spell check, and dozens of more options.
Update of my old code, does the samething just explained Also Demain Net riped my code and put it in there program u can see this because my post was done before they updated there U can get my old code here http://www.planet-source-code.com/xq/ASP/txtCodeId.12096/lngWId.1/qx/vb/scripts/ShowCode.htm This code is a must for people making mp3 players etc everyone should have this code Tip: Make your CommonDialog Box max file size "9999" If you think this code is good (and it is) please vote for me
This example performs a quicksort on multiple keys, on an array of UDT's in memory.
Well you guys are sure tough to please! What must I do to get comments and votes in here?? Hopefully this hot new update to my multi-server e-mail checker is the answer. Now displays a list of mail waiting for you on all monitored servers! A must see!
This ** demonstration program gives examples of how you can control Outlook using AUTOMATION to create mail, contacts, folders and appointments. It shows how to create contacts in a specific group of your choosing which serves as a good example of folder manipulation in Outlook. You can adapt this code to create the other outlook items. Don't forget that you can find out more by reading the Outlook VBA documents or by pressing F1 in front of options you don't understand.