Advertisement

Results for "Category: Miscellaneous"

2002ASP #4021
RGCC - Challenge1 Candidate

Just wanted to stab at this contest...I know a lot more can be added to this to make it more...complex yet fun...but I am at work and this is what I could through together during lunch. This program will just tell you the number of times the program was ran by using a custom control to access a ASP page on an external website which connects to a database to read the hit count then the ASP formats the results in INI format then the custom control saves that dowloaded ASP page to an INI file on the users hard drive then uses simple API calls tor read the value and display it. Just wanted to start of the contest with a little something that uses the web as well. BTW: The custom control code is included since I know you are not supposed to upload OCX's. The control was made by me and you can find a compiled version at http://lafever.iscool.net if you like it.

2002ASP #4022
Remote Database Connection (connect to web based database)

The demo will show you how to use ADO to connect to a database hosted on a web server. From there all standard uses of ADO recordsets and what not are possible. I see this question asked a lot in newsgroups so I thought I would share this code here to to help refer them to a working example. Note, the web server has to be a server you have rights to and not just some free web hoster like GeoCities so don't get too excited if you thought that is what this was. This demo will connect to my web server and read data from the NorthWind database found in SQL Server. Also note, my web server cannot handle a lot of traffic so depending on how many people download this and try it, you may have some slow responses or errors on connection. Sorry, but this is just a demo. This code is really not advanced, but many people do not know you can use ADO like this so I just wanted a demo up to point people to later on. Hope it helps some. KEYWORDS: REMOTE DB DATABASE ADO RECORDSET WEB SERVER WEBSERVER CONNECTION SQL IIS

2002ASP #4024
Resource File (Custom File Usage)

Example code that will show how you can use the custom section (and LoadResData) of the resource file to store misc. files into your executable. Along with that, if one of the files is a .WAV file, to play it directly from the resource file without extracting it. Other parts of the code will show how you can embed JPG files into the resource file instead of .BMP files and use those files for your images in your program. This will help lower the size of your program if you love to use images in your program. Using the same code it will also show how you can extract out files to the users hard drive that were put in the resource file. A good usage of this is lets say you have a DB application and would like to give the ability to make a new DB file, but you want to make sure the DB has the write structure and filled with default data. Just embed your DB file into the resource and extract it out to a new file when the user wants a new file. I know a few days ago somebody else posted code similar, but I had this up here on PSC a long time ago (been removed since) and thought that since resource files can provide so much, it would be a good idea to post again for those who missed the other authors post. KEYWORDS: WAVE WAV RESOURCE LOADRESDATA CUSTOM SOUND PLAY EMBED SNDPLAYSOUND SND_ASYNC SND_LOOP

2002ASP #4025
Extract and Register from EXE

From time to time I write some little application or game for me and my co-workers to use and in the program I am using some new control I made or downloaded. I already know they have the VB runtimes so I dont really feel like making an install for them so I just embed the OCX into the EXE using the resource file, then on the program start up it checks for the files existance. If it cannot find it [like on the first time] it will extract the OCX from the EXE to their hard drive and register it. Then it will open the form(s) that use it. This project shows how I do it. While I would never do this in a professional application, some of you may like this. However, I know this code can show some of you malicious programmers out there how to embed a virus or something like that. I had to think long and hard before I shared this. It is not all that advanced and if you are any good you would of figured out this on your own. So I decided there are enough legitimate reasons that others may like this code so I posted it. Please everyone who is responsible...please get a Project Scanner to scan source code projects for code like this (like the one listed here on PSC or mine at http://vbasic.iscool.net )

2002ASP #4028
Taking advantage of the Templates folder for VB

Article to show those who do not know about the Templates folder for VB how to save templates to it for future use.

2002ASP #4030
VB Tech Tips 2

Just some VB Tech Tips, nothing fancy, but informative.

2002ASP #4032
A Basic-like Programming/Scripting Lanuage and compiler

This code is a full-blown scripting language a little like BASIC. It takes a program textfile and runs it, and can also compile to exe. Can be used for ANYTHING, eg scripting languages, in games, or anything you can think of...

2002ASP #4057
Easy Progress Bar

Make an easy progress bar using only a label, timer, and a few lines of code. No .ocx needed!...

2002ASP #4058
Accept multiple passwords.

Accept multiple passwords, yet still deny access for wrong password entries.

2002ASP #4074
IP Subnet Calculator

This is a Class C IP Subnet Calculator. I made it to help me remember how to subnet. I'm working on doing Class B and A addresses. I can't seem to remember if it's the first or the last ip that is the network number but I'll fix that once I figure it out. Comments are appreciated.

2002ASP #4075
IP Subnet Calculator Update

This is an update to my previous code submission. This one will calculate Class A, B and C addresses. I would like to thank flipmode for informing me that it is the last ip and not the first that is the network number. It takes a while to calculate Class A addresses since they are so large. So if you are calculating a Class A and it stops responding just let it go for a while and it will probably catch up. I also ran out of memory trying to calculate a Class A address so you might want to watch out there to. I appreciate comments so I can improve my work. Thank's

2002ASP #4076
Beginners Visual Basic Tutorial

I wrote this 10 page tutorial because my brother wanted to learn visual basic. He decided not to read it any more after I wrote what I got done and so I never finished it. It is pretty good to start out beginners with programming. If it gets rated high enough I might continue writing it. Hope you all enjoy it and learn something.

2002ASP #4084
Card Shuffle Example

Using Class Modules to shuffle the deck of cards 10 times to insure they are thoroughly shuffled this shuffle example is great for those looking to make a card game as a test project, code submittal for here or other various code submittal areas... You can use these modules freely all i am asking is for 2 seconds of your time to just simply scroll down once you are ready to download this example and simply click on that cute little vote button. This example holds so many oppurtunities for you guys to explore.

2002ASP #4098
a 3D animation with flash(vector)

This shows you how to use the macromedia flash/shockwave ocx. Also demonstrates 3D animation in a vector based environment with Flash.

2002ASP #4102
Make your windows taskbar transparent

Are you bored from the task bar hidding the lower part of your apps? (I was). With this simple and small program you can make your windows taskbar transparent. It can be loaded when OS starts and transparency level adjusted also. ***IMPORTANT*** New & improved version at http://www.planetsourcecode.com/xq/ASP/txtCodeId.21705/lngWId.1/qx/vb/scripts/ShowCode.htm

2002ASP #4103
RamoSoft Transparent Taskbar v1.1 (Improved!)

Are you bored from the task bar hidding the lower part of your apps? With this simple and small program you can make your windows taskbar transparent. It can be configured to load when OS starts and adjust the transparency level. ***PLEASE leave your COMMENTS and RATE IT!*** NOTE: It works just with Win2K.

2002ASP #4105
Close VB IDE Windows Addin

DLL which starts-up with VB and is inserted in the Add-In menu. When run it will close all Open Code and Designer windows from the screen (they are only closed from view, not removed from your project). Quite handy if you like all your windows shut before saving which will speed the time it takes to re-load your project next time around. Modify it to do what you like - this should get you started.

2002ASP #4117
AutoComplete

Add the Internet Explorer 4 AutoComplete effect to a common combo box

2002ASP #4120
Add only unique items to a listbox (no duplicates added). Fast and short without any loops.

Use this method to avoid adding an item to a ListBox that already exists. It's a lot faster and shorter than submissions that uses loops etc.

2002ASP #4124
Matrix Type 3

For those of you that have checked out my other attempt at Matrix style text, this is the new version 3. The code has been optimized, while still not using any API calls or advanced functions. I'm trying to push the speed of the algorithm as much as I can using only "core" VB code. If anyone has any suggestions on how to make it any faster, please leave a comment! And don't forget to vote if you like what you see!

Languages
Top Categories
Global Discovery