Advertisement

Results for "Author: cakkie"

ASP_Volume2 #35605
Tray Drink

This doesn't do much, it just shows a drink in your system tray. As you will notice, the drink will get empty as time goes by. Right clicking the drink will enable you to configure the drinking speed, and of course the drink. I've included beer, wine and milk, but drinks can be added by creating your own set of icons, createing a folder in the icons dirctory, and adding icons called 100, 75, 50, 25, 0 and !. Nothing fancy, just for fun! Could be inplemented in your own application (again, just for fun)

ASP_Volume2 #35637
Hack a box

No, we are not going to do anything illegal here. We are going to hack the MsgBox and InputBox. Let me start by saying that this is !NOT! one of those custom messagebox classes, but this uses the real MsgBox and InputBox functions from VB.

ASP_Volume2 #36598
TabindeXer

This handy VB addin allows you to set the tabindex of the controls of a form. Imangine having to set the order in a +100 control form, this makes it easy. It also omits labels and other controls wich cannot get the focus.

ASP_Volume2 #36599
Nick of time

Take control over time, howto get a better frequency than 1 millisecond.

ASP_Volume2 #36624
SQL Info

This code connects to a given SQL server and database and returns field info from a specified table. Handy if you need a quick printout of a table definition and you don't have time or patience to wait until EM has launched and connected to the server.

ASP_Volume2 #36644
SP Manager

This copies, renames or deletes stored procedures on an SQL server. Also the ability to copy procedures cross database, or even cross server. This thingy is way easier and faster then the import/export wizard.

ASP_Volume2 #37016
AutoUpdate

Automatically update files using the internet. A very easy-to-use program that takes only a few commandline parameters. This can save you a lot of time if you're creating a multi-user application where many people use your program, no more running around the entire building.

ASP_Volume2 #37488
Keep your forms in shape

Create custom shaped form. Triangle, circle, a form woth holes in it. If you can think of it, you can do it. You can even create a shape from a bitmap. Just look at the screenshot and you'l know what I mean. Feedback and rates appriciated.

ASP_Volume2 #37516
Start Button Changer

This program shows you how to set the startbutton picture. It first uses the findwindow api to find the taskbar, then it does a findwindowex api to find the startbutton. From there it gets the device context. Then we can just pain to it.

ASP_Volume2 #42200
Force file download

This code will force the browser to show the download file dialog rather than trying to open the file in the browser window very usefull when dealing with Word document or so. This is done by overriding the content type, fooling the browser into believeing he is receiving a document in a format he can't open, making him show the save as dialog box.

ASP_Volume2 #42201
Complete Internet Bookmark System

Complete online bookmark management system. This allows a user to create his own set of bookmarks and add them to categories. This way he can get his own bookmarks whereever he might be (friends place, public internet cafe, ...). The script uses various usefull codes, like user registration, recover passwords and stuff. You can find a working version at http://217.136.232.103/bookmarks/bookmarks.asp . You can login with username/password test, or you can create your own account. All this comes in a single asp file, accompanied with a database file and a stylesheet. You can easely change the datasource, so you could like hook it up to a SQL Server. Just create a database that has the same structure as the mdb file (only two small tables).

ASP_Volume2 #42202
AspCodeRunner

This code allows you to run ASP code from a web page. The code is then written to file, executed and deleted again. Could be usefull for administrative tasks, or even built in some online management system. Feedback and votes appriciated.

ASP_Volume2 #42203
UltraFastAspUpload

This page will handle file uploads much faster than other ASP pages. Indeed, this is a 100% ASP solution, so no need to register any addition components. The mayor speed-gain is cause by the conversion from binary to ansi. Other codes use a loop and the Chr(AscB(MidB(...))), which is awfully slow. Doing that with a 1 MB file would result in doing a For T=1 To 1000000. When handling a file, the old code took 25 seconds to process the file. My code needed 2 seconds, need to say more?

ASP_Volume2 #42204
ASPoker

This is an ASP poker script. What it does is it gives you five cards. From those five cards, you need to select which cards you want to keep. You can do that by checking the checkbox of the card. After pressing the OK button, you will get 5 new cards. Below those, you will see the result of the previous hand. The non-held cards will be replaced, and score will be setteled. Anything starting from a pair of jacks give you points (the better the hand, the better the score), anything else will result in losing 10 points. When the game is over (after 20 hands), you will be able to submit your score. This is saved to an access database. The highscore page will then show the 10 highest scores. The highscore page also has a protection that it will only accept submissions from the poker.asp so this prevents cheating a bit. The poker.asp will check to see that you don't get the same card twice in the same hand (althoug the GetHandValue function is prepared for this) This submission could be usefull for: a) someone who likes a (cool?) game on his/her asp site b) someone interested in how to validate a poker hand c) someone who's just after all the card images i've included d) someone who needs a highscore script for his/her own asp game If you want to see a live example, I've put it up at http://developer.domaindlx.com/cakkie/scripts/aspoker/poker.asp . If you get popups, i advice you to minimize them rather than closing them (they keep coming back), but it's a free asp provider, so i can't complain, can I?

ASP_Volume2 #42205
Kill IIS process without rebooting

Ever had to restart IIS when it was caught up in a loop, or doing some other stuff which results in IIS not coming down. Service manager fails to stop the www service, task manager gets the "Permission denied error". Only way out is a reboot? Not true!

ASP_Volume2 #42206
Import request variables

PHP offers a feature called Autoglobals and the importrequestvariables function. ASP doesn't. This article shows how we can do a simular thing, and address variables directly without having to do a lot of bulk and useless work.

ASP_Volume2 #43285
Don't let autoglobals=0 get you down

A good thing to do is to never rely on autoglobals. They might just be turned off. For those not familiar with how autoglobals work, if you call a page say test.php?foo=bar, autoglobals allow you to access foo by using $foo, rather than using $_GET['foo']. However, if autoglobals are off, $foo will give a warning, and it's value will be empty rather than 'bar'. This little piece of code mimics autoglobals, thus preventing you from having to rewrite entire applications because they relied on autoglobals. Note that as of PHP 4.2, autoglobals are off by default.

C_Volume2 #73758
RTTTL Player

This allows you to play RTTTL (ringtones) through the PC speaker. It calculates each frequency and length, and plays it using the beep API function. For this reason, it doesn't work under Win9x... The zip contains two projects. The RTTTLr is a standalone program that plays the tones based upon RTTTL you enter in a textbox. The RTTTLDLL is an extivex exe that allows you to pmay RTTTL from your own application, on it's own thread, so it won't freeze your application while playing.

C_Volume2 #76667
Tray Drink

This doesn't do much, it just shows a drink in your system tray. As you will notice, the drink will get empty as time goes by. Right clicking the drink will enable you to configure the drinking speed, and of course the drink. I've included beer, wine and milk, but drinks can be added by creating your own set of icons, createing a folder in the icons dirctory, and adding icons called 100, 75, 50, 25, 0 and !. Nothing fancy, just for fun! Could be inplemented in your own application (again, just for fun)

C_Volume2 #76699
Hack a box

No, we are not going to do anything illegal here. We are going to hack the MsgBox and InputBox. Let me start by saying that this is !NOT! one of those custom messagebox classes, but this uses the real MsgBox and InputBox functions from VB.

Languages
Top Categories
Global Discovery