Advertisement

Results for "Author: cakkie"

Java_Volume1 #96230
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.

Java_Volume1 #96250
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.

Java_Volume1 #96622
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.

Java_Volume1 #97094
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.

Java_Volume1 #97122
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.

Java_Volume1 #101806
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.

Java_Volume1 #101807
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).

Java_Volume1 #101808
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.

Java_Volume1 #101809
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?

Java_Volume1 #101810
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?

Java_Volume1 #101811
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!

Java_Volume1 #101812
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.

Java_Volume1 #102890
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.

1_2002 #109495
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.

1_2002 #109496
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.

1_2002 #109497
Nick of time

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

1_2002 #109498
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.

1_2002 #109499
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.

1_2002 #109500
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.

1_2002 #109501
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.

Languages
Top Categories
Global Discovery