Advertisement

Results for "Volume: 2002ASP"

2002ASP #4384
Trial Version Demonstration!!

This project demonstrates how to make your project a trial and full version!! Tallies how many times the app is run, and when it reaches its limit you can't run the program until registering! COMPLETELY commented, excellent source. This is a MUST for anyone who is developing software to sell!

2002ASP #4471
Stick'Em v1.0

A handy sticky note program for making notes on the desktop. Many quirks will be fixed in version 2.

2002ASP #1911
Screensaver Previewer

This code is my first submission to PSC (I am sure you've read that a few thousand times), and is an update of John Zimmerman's Show Screensaver in VB. My code will list all screensavers in the Windows Directory and System Directory, and allow you to preview the screensavers, without a system crash. Also, a few useful functions are included, mostly for newbies, like Selection Sort, GetFileName (with or without extension), Append a filename to a path (taking into consideration the backslash. I don't expect you to vote for this, but is you want to, I won't stop you :) Happy programming, VeeJay

2002ASP #4469
FireWall for #TsKr

Protect your 8 most wanted Port whit a complete firewall

2002ASP #3077
paybarrow emu

this is a emulator for paybarrow. it took me about 10 minutes to create and i don't know if the header still works, but it's a great example on how to use inet to emulate companies. give me credit for the work.

2002ASP #4276
Do 50 common API calls in OCX! No remembering Tons of API! (Update2)

50 common API calls in OCX so you just need to call them! Includes the folowing: Form on top, ShutDown, Restart, LogOff, TaskBarHide, TasksBarShow ,ScreenSaverOn ,ScreenSaverOff, DesktopIconsHide, DesktopIconsShow, ALT-CTRL-DEL Enabled, ALT-CTRL-DEL Disabled, OpenCDROM, EmptRecycle, MinimizeAl, OpenExplore, FindFiles, OpenInternetBrowser, InternetConnect, InternetDiconnect, SendEmai, Add_Remove, Add_HardWare, Time_Date_Settings, Regional_Settings, Display_Settings, Internet_Settings, Keyboard_Settings, Modem_Settings, Mouse_Settings, System_Settings, Network_Settings, Password_Settings, Sounds_Settings, Copy_File , Delete_File, Move_File, FlipMouseButtons and More! (To add ocx to project: Hit Ctrl + T, then press browse and select my .OCX file and it will become one of your tools to pick from) then you type something like this in the code: CompControl1.ShutDown (this shuts down windows!!!) ------------------------------------------------- Just Added (As of Nov. 5th 2000): Show Cursor, Hide Cursor, Shut Down Dialog, Sleep, Play Wav sound, Enable / Disable Objects, See if Path Exists

2002ASP #3380
Access an ADO Database thru a Winsock App

This Project Allows the end user to access a MSAccess Database through a Client Winsock application, without having any Data Access Components installed on the local machine. This also allows fast read/write access through modem, or a dead slow computer. The client app sends the server a few strings and then generates an SQL statement, and then does all the hard work and sends back the results to the client.

2002ASP #3530
ULTIMATE Color Chooser

Let you choose a color via horizontal scroll bars for each Red Green and Blue while showing how much of each you are selecting in picture boxes & showing the decimal & hex values for each red, green and blue & in a big picture box it shows the color of all 3 mixed. Also shows the RGB number value together, the long decimal & the full hex value in a locked text box (has a copy button). Has buttons to automatically set black & white & also to choose a random color. The pallete is a color bar which you can see what color your over when your mouse is over it & same with a color box, when you click in it, it will set the color as the chosen color & will set a fade in a picture box using all the color that use the first 4 out of 6 chars in the hex value & you can choose colors from that too. Check out the screen shot. Also saves the color and the position of the form on the screen to the registry for the next time that the program is loaded.

2002ASP #4170
A multiple connection server control *UPDATED*

This ActiveX control makes it extremely easy to create server applications. It uses an array of Winsock controls to handle multiple connections. Start the server with one line of code! I included a sample project and a detailed explanation of all the events, properties, and methods, so you can see exactly how it is used (readme.rtf). Since PSC removes the OCX file from my zip, you can get it here: http://www.bouncefilterware.com/drew/ServerControl.ocx -- Your comments/questions/suggestions are welcome. UPDATE: I added a broadcast function. Although it's not the proper way to broadcast data, it works.

2002ASP #2466
AI Chat

A REALLY simple way to do AI chatting. Uses the instr function to see if a word exists in a question. Show how to use instr, arrays, sesquentenial file reading/writing. I haven't programmed in much question's (open chat.dat in notepad) follows structue keyword1,keyword2,keyword3,answer (comma seperates, must do comma even if you use only 1 or 2 keywords)

2002ASP #4317
Twirl

The code twirls an image.

2002ASP #4475
TetrisBox ActiveX Control

TetrisBox is an ActiveX Control written in VB6 that makes very easy the development of Tetris games. The ActiveX itself implements all the code to control the user input (keys to move blocks) and the own Tetris game rules, so all you have to do is create the interface of your game and let the control do the rest. Also, TetrisBox ActiveX Control allows you to use the features in the classic Tetris arcade game, like difficulting the game inserting a line at the bottom of the game board, or dropping a block at a random position, etc. You can also initialize the board with some blocks determined by you... endless posibilities! NOW UPDATED WITH SAMPLE PROJECT!! PLEASE DON'T FORGET TO VOTE THIS CODE =8)

2002ASP #1609
mciconmenu

Put real icons in menus using this activex control. Very simple for use in your app ! For more details, visit www.mcunha98.cjb.net

2002ASP #2315
COOL IMAGE ANIMATION!!! Drop pixels from a picture! This is a must see!

Takes a picture and drops all pixels! Please vote cuz this is cool!

2002ASP #4476
Multi Font / Color Listbox

Visual Basic Listbox with highlight and scrollbar. It allows multiple fonts, and different backcolors and forcolors concurrently. This demo uses a mini database to populate the listbox.

2002ASP #4438
file association within a program (Flash Player Example))

This little number will help you understand the idea of having a file association like notepad, wordpad or any other program that if you click the data file it will launch the program and open the file. This one will play macromedia flash files, plus also has an auto resizer so that you can grow and shrink the window, and the information inside will do so as well.

2002ASP #4224
A Gomoku game with AI

This is a game of Gomoku. Traditionally, Gomoku is like a game of Tic-Tac-Toe except that you have to get 5 in a row and the playing board is either a 15x15 or a 19x19 GO board. For the purposes of this game, the board size is adjustable from 6x6 to 19x19 and the number needed to win is adjustable from 3 to 6. In a real Gomoku game, you have to have EXACTLY 5 in a row; 6 or more do not count. But for this game, 5 (or whatever) or more win. The game demonstrates how to set up an evaluation function, how to set up a minimax search and how to prune using the alpha-beta algorithm. The game looks ahead a certain number of plys (adjustable from 1 to 6) and picks the best move it can. Since a 15x15 board with 4 plys has up to 2.4 BILLION combinations, pruning the tree becomes important. The game does this by using the alpha beta algorithm. The algorithm works by comparing the value against a limit. If the limit is exceeded, the algorithm abandons the branch. An example in chess would be something like: move (A) has been examined and will, at worst, capture a pawn. We now examine move (B). If we find that in one variation, move (B) will lose a pawn, we abandon the branch, even if at best, move (B) could capture a queen. The reason is because we assume our opponent will do the smartest possible move so we are going to lose a pawn, which is worse than gaining a pawn with move (A). I wrote this in a bit of a hurry (I intend to use it as example source code in my resume) so I haven't finished commenting it yet. So please ask if you have any questions. Oh yeah, please vote for me if you like it. Also, if you beat the game on 4 ply or higher, let me know.

2002ASP #4461
Great button control with 6 styles

This is a great button control if you want to build professional-looking applications. It provides 6 different styles, including a Cool (Rebar) style, flat, standard (3D) and 2 different Options styles. Allows for different pictures, colors and fonts in all 3 states -- normal, hover and selected. Has all the other properties of a standard button, so it is a great replacement. 12/21 -- added Cancel and Default properties. **Feedback is greatly appreciated**

2002ASP #3782
AutoText/Combo ActiveX Control

Autotext is an extended API implementation of Visual Basic's Combo Box. The control can be used as an autotype combobox or an autotype textbox. This code contains a proper implementation of an API timer class as well, using soft references to avoid GPFs. Allows custom context menus and allows the default context menus to be disabled. Raises a Menu_Click event which specifies which menu item was clicked. Has mouse down, mouse move and mouse up events. Code shows how to create a mouse hook. Switchboard code insures that the proper control recieves the right notifications. Has a SyncByItemData function to select an entry by an ItemData entry. Has a FillWithRecSet function to enable it to be filled directly with a recordset. You can specify the ordinal postion within the recordset that you want the drop-down list to be filled with. If you do not require the ItemData to be set, you must specify the optional default ordinal position of one to be zero. Implements an extended interface to make the control faster than the default implementation. eg. Dim eboName As IAutoText Set eboName = cboName.Object I have borrowed many snippets of code from this site an thought that it was my turn to share one of my gems with the people of Planet Source Code. This ActiveX is being used by many programs and has been thouroughly tested for flaws. My thanks to all the people who have contributed to Planet Source Code. PS. Vote if you want to.

2002ASP #2967
Relative Path Function <BR><SMALL>Gets the relative path of a file w.r.t. a directory</SMALL>

A reusable function that computes the relative path of a file with respect to a given directory Examples will make the point clear, so here goes: GetRelativePath ("C:\VB\", "C:\VB\File.ext") returns "File.ext" GetRelativePath ("C:\VB\", "C:\VB\Program\File.ext") returns "Program\File.ext" GetRelativePath ("C:\VB\", "C:\File.ext") returns "..\File.ext" It is useful to insert images and hyperlinks into webpages, given the filenames of the images and the HTML file.

Languages
Top Categories
Global Discovery