Results for "Volume: 2002C"
Makes a string http querystring friendly by replacing all non-alpha and non-numeric characters with the appropriate hex code. Helpful when using the wininet API. example: "(Find This)" becomes "%28Find%20This%29"
Shells an app, then waits for that app to close before it continues processing.
MS stipulates that OS Version Info must be obtained "correctly" in their Windows2000 Application Specifications. This is the way. It also uses api's to get the OS path, get the Windows Temp Dir and to generate a unique temp file name. This is a .BAS file with a Sub Main() so it should compile easily. It generates the info, writes to a temp file and launches notepad with the info. No forms. You can easily hash through it to pull out what you need.
This code uploads a file to an ASP script using http post. It can be used to automatically upload files without user interaction, e.g. when you want to publish some data to your Web site periodically. There are lots of code excerpts around describing the receiving side but the sending side is mostly an HTML page containing INPUT TYPE="File" ... Simulating this by code requires some knowledge of HTTP Post and Mime. Find the full project and the ASP in the ZIP. New!!! Now shows how to upload a .gif file. Other binary files work similar.
This tutorial is great, I wish I had this when I was a begginer. It goes step-by-step through every aspect of BitBlt. I also included a program I made that really helps me, MaskMagic 1.0, it is a Sprite \ Mask maker, and you can do several pictures at one time. It's truly a great program. This a must have package, it has everything you need to get started with BitBlt. Leave feedback.
Ever want to freeze a computer? Well, here is some code to do it. It manipulates the API 'setparent'
Email any form from your site using CDONTS (IIS's built-in smtp). Just 10 lines of code handles any size form! Email will display message in the form of fieldname: fieldvalue in proper tab order, with line breaks between each name/value pair.
Demostrates how you can easily create a cool menu using the default filters which are part of internet explorer. You can easily modify the code to use it for your own menus.
This code was taken from O'Neil. It searches a combo box as the user types. O'Neil's code was modified to use the SendMessage API to search the combo box, which made it much faster. This is very fast, even with thousands of records in the combo box. Thank you O'Neil for the idea, and the well commented code!
The book "Tricks of the Game Programming Gurus" by Andre LaMothe, copyright 1994, has an interesting chapter on artifical intelligence. However, all the samples in the chapter are done up in C. I've redone them into VB just for the heck of it. There are 5 simple programs illustrating chasing, evasion, patterned movement, random movement, and a program that combines all of the above.
This is a series of Has.. Codes. It will search a textbox for the following: Lowercase letter, Uppercase letters, Numeric Characters, and Accented Characters. So, if it has lowercase letters or something, it will display a message box. this is a good example of how to use for..next loops, ASCII codes and the Instr Function, then again, this might be a lousy example, you be the judge.
This code validates credit card entries on a corresponding page.
When you work with cookies, you always run into paranoid types who disable their cookies. If you don't detect and deal with them, your code may not work. This code detects the user's cookie settings using the ASP Session object. Unlike some other implementations, it requires only one script page.
generates a 'dummy' file which can be any type and any number of kilobytes. 110% commented just like my code 'A+ Secure Delete'. purpose is to generate files, so not much of a purpose. i just saw it in a couple of hacking/security programs and thought i'd try it.
i'd imagine this has been done before, but if it has i haven't seen it. all it is is a substitute for the FileCopy statement. copies a file byte-for-byte to a new destination. 110% commented just like 'A+ Secure Delete' And 'A "Dummy" File Generator' (both by me). well hope you like this.
This is a basic counter that has some more advanced statistic features. Small, fast and efficient!
With CTray you can add/remove/change one icon to the System Tray. All you need to do is add CTray to your project and one picture box to your form, and you're done! A sample project is included.
This program simulates mouse events. It can, left click, right click, pause between events, and you can easily make it double click too. It works by using an action list (listbox), the user inputs a bunch of actions that they want to perform, then the program does all the actions in the list for a specified amount of loops. (you can also specify the cursor position for each action, i.e. click on start menu, then click run.)
Purpose: "shows how to ...send an e-mail message using Collaboration Data Objects (CDO)." from MS KB Article: Q200150. I created a VB project and a class from the provide code. You will need the Microsoft CDO 1.2 library referenced.
This function searches a text string for possible phone numbers and returns an array of those numbers. It allows you to specify a default area code, too. (If you know an easier or more elegant way to do this, let me know!) Doesn't work for international numbers.