Advertisement

Results for "Author: fosters"

ASP_Volume2 #25916
List Directories and their sizes!

Ever looked at your C:\ drive and wondered where that 1.8gb have gone?!?!!? here's your answer - this app will list the directory you choose and all it's subdirectories, with their sizes so you can see how much room each directory take up! Please vote - I find it really helpful as windoze won't help you with this!!! please vote and comment

ASP_Volume2 #26172
Collect Sys Info, convert it to a bitmap and set it as desktop wallpaper!

This app will collect your system information, save it to a bitmap and then set your desktop wallpaper to the system info bitmap. This is an excellent tool for support centres to aid with information gathering when a client PC and/or application is not behaving. There's a lot of code here: Collect CPU info Get IP Address (no winsock) Capture the screen Save a bitmap Set the desktop wallpaper bitmap Set the desktop wallpaper tiling off Refresh the desktop All this code is extractable for your own uses. This app requires GetCPU.dll. I have included it in the zip (renamed to GetCPU.txt - I wonder if PSC will allow it - simply rename it from txt to dll and place it in c:\windows or winnt\system32\). Please vote and comment.

ASP_Volume2 #26257
Use BitBlt Masks for flicker free animation

Call me sad, but I wanted a moving starfield with fading in text for my splash screen. Using bitBlt, masking and frame buffering, it can easily be done looking professional and flicker free! (The *dynamic* masking of the text enables the stars to pass behind the gaps in the text) If you type in new text it'll fade it back in from black. Remember it doesn't have to be a starfield or text, but it shows how BitBlt'ng everything to a buffer first really makes a difference when producing flicker free gfx. Please comment and vote.

ASP_Volume2 #26330
Collect ur running apps into screenshots and switch to them (win enumeration)

Using Windows enumeration, this app collects all the running applications, screen scrapes them into thumbnails. Then click on the thumbnail to switch to the application. Only works on XP so far (am working on it!). There's a lot of window API work in here and as always a working example is a great tutorial. enjoy.

ASP_Volume2 #26500
Marquee screensaver grows up!

The marquee screensaver is superb... but it doesn't do enough!! This version will display free format text like before, but also other things, like your machine name, ip address (no ocx!) or all your running tasks. Screens are good enough these days not to really require a comprehensively blanking screensaver, so I've added a transparent option too. There's lots of code here, all functionalised: Get IP address, Hostname, running processes, shrink screen to fit in Display properties window and bitblt of course. It seems a little cheaty, but I've allowed you to set the timer interval and maximum objects speed to tune to your own system. votes and comments always welcome. :-)

ASP_Volume2 #26717
One of best Matrix Screensavers!

A big update of my previous version. as optimised as I can make it. API use ot bitblt, stretchblt, textout, gettickcount, rectangle, etc. Already had excellent reviews from visualbasicextreme.com, and hoped you all would like this too. each effect can be turned off through 'Settings' on Display>Screensaver. Font is part of the zip. Hope you all like :-))

ASP_Volume2 #26736
Demonstrate GetAsyncKeyState - handy when developing

Nothing pushing the limits of VB, but when developing games/apps and using GetAsyncKeyState, do you ever go, "Uhmm, what the hell is left arrow again?!". here you are. run this app, press the key (or combo) and there it is! I think this is more of a useful tool than a coding extravaganza, so please vote/comment accordingly. You never know, while you're writing your 1st class game, you may even use this tool! :-)

ASP_Volume2 #26800
plot 3d points on a 2d plane

Want to plot 3d points on the screen? this code will enable you to do this! I did not write the original code that calculates the x,y co'ord from x,y,z co'ordinates, but I compiled it into an easy to use (cut 'n paste) form and added a few examples of what you can do. lines wouldn't be a problem either, just write a wrapper function to do the job! Please vote! (I didn't do the trig, but hey, it's just math ;-) and I did the rest!)

ASP_Volume2 #26912
__ Dynamically allocate arrays when you don't know how many items to store!

All programmers need to allocate arrays to store data, and very often they don't know how much they will be storing. here is a beginners tutorial that shows how to dynamically allocate an array on the fly that will only allocate as many items as are needed!

ASP_Volume2 #27035
Defender Remake - Work In Progress

This is my current lunchtime project - a remake of the classic defender. This is the first stage and there's a lot more to go. So why put the code up already? Well this is an open source code site and the very simple way I've coded this makes it a very useful starting point for vb and graphics (use of APIs for drawing lines, pixels, sprite animation against a ticker whilst creating a whole image for frame buffering to screen). At this stage there is enough in here to teach you how to create your own scrolling shooter without having to start from scratch. Votes are obviously appreciated, but I just love sharing code. enjoy and I hope if you use this project as a seed, post it on PSC. Cheers, Fosters.

ASP_Volume2 #27141
Find those 'undetectable start up' applications!

There are several registry locations that applications can be started from before the desktop is presented. They are 'detectable' and this application will help you locate them and their owner companies. Run this regularly and familiarise yourself with what does start up in your machine. pretty soon, you'll very quickly recognise when a new thing appears - it could be a virus!!

ASP_Volume2 #27215
Asteroid Madness Screensaver

Watch the asteroid ships obliterate themselves as they charge on their course, only to be deflected by the edge of the screen. Hope you enjoy. Mike.

ASP_Volume2 #27319
Desktop friendly Memory and CPU monitor

Physical and virtual memory monitor and CPU monitor. I've only catered for 1 cpu, but actually get the metrics for all CPUs (check ReturnCPUPercent(x) up to m_lCPUs). Sits conveniently on top of the desktop pretty unobtrusively too. if you like the progress bar, you can cut and paste the function into your own code. hope u find it useful.

ASP_Volume2 #27424
Got a picture mobile/pda? You need Image Cropper

I've just got a Sharp GX20 mobile phone and it's an ar$e loading pics into PSP to resize and crop them. Okay, I didn't *need* to write this, but it was a good challenge for me. Load up your jpgs and resize them and crop select areas to your hearts content and save them. hope you enjoy.

ASP_Volume2 #27524
BBC Desktop New Ticker that doesn't take up all your screen width!

Fully functional desktop news ticker supplying the BBC headlines... that doesn't take up 5% of your screen space [sigh]. By fully functional, it means click on the news item and it loads the news page. right click on the ticker to unload.

ASP_Volume2 #27606
Defender Remake - work in progress - stage 2

*** Stage 2 - starting to look like a game now. enemies and collision detection next, followed by the alien abduction/rescue code *** This is my current lunchtime project - a remake of the classic defender. This is the first stage and there's a lot more to go. So why put the code up already? Well this is an open source code site and the very simple way I've coded this makes it a very useful starting point for vb and graphics (use of APIs for drawing lines, pixels, sprite animation against a ticker whilst creating a whole image for frame buffering to screen). At this stage there is enough in here to teach you how to create your own scrolling shooter without having to start from scratch. Votes are obviously appreciated, but I just love sharing code. enjoy and I hope if you use this project as a seed, post it on PSC. Cheers, Fosters.

ASP_Volume2 #27728
Cascade 2003 game - SOooo addictive!

Try to clear the tiles, by clicking on tiles that have the same coloured neighbour. the more tiles you clear at once the higher your score (if you can beat 1717, send me a screen shot!). All bitblt and masking - a great learning example. Don't play this in an office - it severely reduces productivity!!!!! **** Remember to change the INI file location to a central network directory for multiple users - in the .bas module!! ***** vote if you're addicted!! :-D

ASP_Volume2 #27852
Desktop Binary Clock - way geeky!

A binary clock! on your desktop! remembers where you put it and stays on top! best of all, it's different!!!

ASP_Volume2 #27951
Cool effects on form unload

Paste into a fresh project's form1. on unloading the form, you can specify combination effects on how the form will disappear. This code is *not* mine, I found it on allapi.net. Simple effects that lend a touch of professionalism to an application. hope u like.

ASP_Volume2 #28328
Excellent potential: Class to draw a calendar month onto a bitmap

************************************************* *** updated to correct day 1 positioning *** ************************************************* *** Updated to use dateserial as per comments *** ************************************************* * I will convert this to a wallpaper stamper * * real soon * ************************************************* Basically draw a formatted calendar month to a picturebox. All in a self contained class. Fancy having a batch app that when you start up your pc, it takes your wallpaper and sticks a calendar in the top right of your wallpaper! This is the class to base that on! I will write the whole thing, but in the meantime a fully functional class!

Languages
Top Categories
Global Discovery