Results for "Category: Miscellaneous"
This has got to be the easiest way to resize a borderless form (borderstyle=0) and move a form without a titlebar!!! NO API!!! Please comment/vote.
Secure method of removing duplicate entries from a combobox. Optional second pass to remove possible 'left-over' dupes after first pass.
Shows MousePointer XY Position. Kinda skinable, as you can define custom background picture file / font and font color. Also have 'fun mode' using random erratic mouse movement capture/playback, to emulate wireless mouse low on battery or mouse in need of cleaning :) Comments and/or suggenstions very welcome.
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.
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.
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.
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.
Based on other code found on the web, i created this class (CToolTip.cls). Very simple to use, this class allows you to create multi-line and "Bubble" style tooltips that you can attach to any control (with a hWnd property) This is Not just a copy of other code found on this site, this class takes a slightly different approach to tooltips - an approach that made more sense to my application. eg passing just the hWnd of the control you wish to apply the tooltip rather than the control its self, strongly typed variables, and completely encapsulation. This class (with the exception of the error handling) is identicle to the class im using in some of my commercially written applications, so its already been tested [any bugs let me know :)] Use it but dont abuse it - im fed up of reading harsh comments on PSC for perfectly good example code.
A few days ago, TimeStink uploaded a piece of code called The Best Randomizer Ever. I just uploaded this to show TimeStink a much faster way to do the exact same thing.
This piece of code loops through the controls on a form and sends the contents to the default printer in a layout similar to the screen. Therefore your forms contents are printed in the same positions as they are on screen. I use this to print out a simple record report on the db application I am working on. Works with labels, text boxes and list boxes etc.
Allow only numbers along with one deciaml.
Want to know how many time left to a specific datetime? This function countdowns to a specific event/datetime from current datetime(now). And not just that, if you download the zip file then you'll see how to make it looks like a countdown date ticker! Try it and have fun!
Well, this is a zip file with two .mdb and an ASP script. with this you can transfer the data from one table to another located in a different database, after that you can download the second database, let's see an example: An office has a big, big SQL Server database, well they have 1000 clients that doesn't have an email, then they need the data of this clients for writtin the cards on a printer, well, this script takes the data from the sql server or another acces file and puts it into a database with only one table, but with the clients in order, with a link, you can download the file to the disk, ok? You can use apply programs for designing the cards, and after that the database is ready por printing the cards for the post mail.
Give a rating to your web page like ms rating on msdn
Monitors a specified directory for files being created/removed/changed/name changed. Soure code is fully commentend. Any comment/vote (negative of positive) would be greatly appreciated.
Helps U Calculate the electronic configuration of elements which have atomic number upto 20
Use this program when you want to check if a file exists on the remote FTP server. I wanted an application similar to this very badly, but, coudln't find one anywhere. So, I decided to write this. This is an extremely simple program without any API, OCX,DLL etc. I assume you can use FTP from the command prompt. If you like the program, please vote.
This article tells you how to get the Windows XP visual themes into your program without having the manifest file.
It's a look like a tool bar but wen you drag it to the corners of your screen its become bigger like windows office toolbars. See the screenshoot and tell me your comments/feedbacks.
This program dedects if system has a CD-ROM Drive(s) or not. If exists tells the drive letter(s) of your drive(s)