Advertisement

Results for "top"

4_2005-2006 #155159
Folder Compare

This simple program compares the file contents of two folders for similarity. It checks the latest write time, file size, and if both of those are the same, it generates a quick checkum (by adding every 100th byte) and compares that. All files are color-coded so you can see at a glance the difference between the folders. You can change the color-coding scheme by double-clicking the colors for any item in the top part of the legend. NOTE: I've left the binaries out of the zip file, so you'll have to compile yourself. Hope you enjoy, and please remember to vote (I'm just curious!) -Mark

4_2005-2006 #154777
Desktop magnifier and Screen color picker (More additions 16 Apr)

Desktop Magnifier & Screen Color Picker by Robert Rayment: (Update7 16 Apr))(Added simple RGB color maker, saving Hex color to Clipboard and selectable from a button on the magnifier). Always on top, x2, x4,,,x32 magnification, RGB to Clipboard, exact location of cursor shown on magnifier with a black dot. Magnifier can be moved to any part of the screen. Keys: S to save RGB to clipboard. Incorporated code by LaVolpe to see layered windows! __________________________________________________ Update: Moved all controls onto picture box & made the form same size as picture box. Accomodate the 120 dpi as well as the normal 96 dpi. __________________________________________________ Update2: All on one Form. With Color Maker, added click on screen to set Scrollbars. Mag +- button 2,4,8,16,32. Move one pixel with arrow keys. Esc also to Exit. Toggle Color Maker. Added Matthew's border UC(CodeId 64572). __________________________________________________ Update3: All suggestions included, in particular black dot can be toggled black/white so visible on any background. Zip 19 KB. __________________________________________________ Update4: Simplified. Tidy up exitting. Zip 11 KB. __________________________________________________ Update5: Added Hide Icons from Augustin Rodriguez's 'Virtual Aquarium' CodeId=64997). __________________________________________________ Update6: Adjusted RGB picker for 120 DPI. Anyone know a general routine for this? __________________________________________________ Update7: Added Color pad (5 x 47773 colors) & Clipboard View. Zip 21 KB.

4_2005-2006 #154781
mini-Image Processor (Update 13 Aug)

mini-Image Processor by Robert Rayment. Demo of one way to load a standard picture into an array using GetDIBits, where the picture box is just a viewport, with zooming (using StretchDIBits) and scrolling. Pictures can be saved as 24bpp BMP or JPEG, either from the viewport, the whole image from the array or a selection. To make it a bit more interesting I've added a few effects to play with. If the manifest file causes problems then just rename or delete it. Only tested on WinXP. Zip 29 KB. __________________________________________________ Update 3 Aug: Pictures with width or height < 15 pixels were disallowed, now changed to <= 2 pixels. Consequently a correction to FileOps, the Flute filter and scrZoom. __________________________________________________ Update 4 Aug: Added saving to JPEG using the Ron van Tilburg (John Korejwa) class at CodeId=50351. Zip 49 KB. __________________________________________________ Update 5 Aug: Minor correction to vertical scrollbar position when zooming in with the horizontal cross-wire at the bottom of the picture. Also turn Select OFF when a scrollbar switches off. __________________________________________________ Update 10 Aug: LoadPicture Function simplified a bit. __________________________________________________ Update 11 Aug: Moved vertical scroll bar to normal position on the right of the viewport. Also New pictures now open at top-left instead of at bottom-left. Correction to edging for SmoothSharp effect. Option to change filter effects to continuous or stepped. Plus some minor tidying up. Zip 51 KB. __________________________________________________ Update 12 Aug: Buttons above the filter scrollbars will now act on the scrollbar value without having to press the scrollbars, in continuous or stepped mode. __________________________________________________ Update 13 Aug: Added routine to cJpeg.cls to save jpeg from data array, with Ron van Tilburg's help. Plus a few minor adjustments. Forgot to put manifest file in.

4_2005-2006 #154869
Simplified VB Line Counter (Mark B)

This program will count the number of lines, characters, etc, of a specified list of files in a given folder (and optionally all of its subfolders). I plan to add more statistical data later, such as a list of the "top ten" files, by number of lines. The line counting method is simple: it counts all lines that contain any non-whitespace characters. It also counts the number of pure comment lines (those that start with a ' and contain no code) and displays that number. There are probably better counting algorithms out there but this project is somewhat tailored to the kind of coding I do. Among other things, this module also demonstrates how to use the Browse For Folder dialog (Windows API--thanks to Dev Ashish) and the FileSystemObject to recursively search for files. Please vote, as I'm just plain curious :P. --Mark

4_2005-2006 #154987
Unbreakable Encryption

'this is probably the crappest encryption going here 'i wrote this cause i saw it on descovery channel 'its an encryption that has been used for ages even used 'in wars 'its supposed to use passwords and encode whole 'sentences but i didn't feel like doing that 'i will soon, mabey this weekend 'anyway what this does it gets the ascii code of the 'uppercase letter in text1 and adds the ascii code of 'the uppercase letter in text2 it then subtracts 64 from 'it and converts this to a new character to test draw a 'table similar to this one: 'A|B|C|D|E|F|G|H|I|J ETC. UNTIL Z. 'B|C|D|E|F|G|H|I|J|K 'C|D|E|F|G|H|I|J|K|L 'D 'E 'ETC. UNTIL Z 'YOU GET THE PICTURE 'Now take the word you want to encode say norm and choose 'password say dog . what you do now is go to the 1st 'letter of the password on the top row and the 1st letter 'of the text in the vertical row and move down/across until 'they meet. this is the encoded character. you keep doing 'this until the text is encoded. if the password is at the 'end start at the beginning again. 'to decode do the same as the encryption but now you do 'the password in the vertical side and the text on the 'horizontal side 'tada 'Themba Kriger : wayne_kerr@hushmail.com send me any 'modifications plz! thanx

4_2005-2006 #155267
projectIRC 1.026 (Another Update!)

Yet another update. This time I added the "friend tracker", basically just a notify lists to see who's on. I added support for hyperlinks, so you can right click addresses and it will shell to them. The taskbar will now notify you when an inactive window has new data. Fixed a few bugs. A few of the options work now, and save. There is a "debug" window, which just displays all incoming and outgoing data. You can move both the toolbar and taskbar to the top or bottom. That's about it I think, enjoy.

4_2005-2006 #155287
A Designer Topbar

The designer Top/Bottom bar Activex Control is a scrollable toolbar sort of entity that imitates Outlook bar. I made this for topic selection in my astrology package. Its quite well designed, and will be good for software with multi documents/topics. I have supplied the source(.ctl) file in here. Don't forget to rate this code. Warning: There are no comments in the code.

4_2005-2006 #155387
Count Down Sticker - Date & Time

Count down counter for any date & time which will stick on window desktop. Featured dual language setting, English & German for this version. Allow always on top and side bounding.

4_2005-2006 #155040
Smooth Effects 1.0 - Create your own animated (program intro) from any image. See SS

Smooth Effects 1.0 Will take any normal image that you specifie and make a working application intro from it! Smooth Effects 1.0 steps through each section of a image grabbing the cordinece once every set ammount of pixel's giving the image a floating cut out effect. on top of that the floating layers will move any direction while bouncing off the walls and still staying in propper order. No need to sift through my code to make your own intro! I have built in a intro creator that will generate all needed source code to create your very own intro with your very own image! Project includes 3 sample projects which where created with Smooth Effects along with 5 sample images you can play around with.

4_2005-2006 #155377
Tone Generator

This proj allows you to make audio tones and save them as a wave file. If you have looked at any Oscope type graphs of audio and wondered if you could create sound just by drawing, well, you can. It allows you to create Sine, Cosine, and a Combined signal at different frequencies. You can also draw your own wave clip in either the window or your favorite graphic editor. Use a 512w X 256h bitmap. Any color for the signal, as long as the background is black. To use this feature, Click the 'open bitmap' button and find your saved bitmap (you can also simply draw your own in the program) Then click 'Trace Bitmap' Now be sure to select the 'Use custom drawn' checkbox. Choose your wave properties, then click 'write wave' If you recieve an error when saving a custom sound, try removing any signal points that are very near the top or bottom of the bitmap. I have included a few of my own bitmaps for you to play with (Don't worry, the zip is only 14KB). I would like to thank Alex Murray and his "Bass Maker" for inspiration. Vote if you would like, or don't, but please leave feedback.

4_2005-2006 #155411
A Scroller OCX - Smoothly scrolls text in a picturebox (full OCX source+example)

This is an Active X control you can add to your apps and have nice, smoothly scrolling text which makes them look pretty good :) The ocx can scroll right->left or bottom->top and background+text colors are customisable. Text scrolls, optionally pauses at the edge for specified ms and then continues to scroll off It uses bitblt to do the drawing so its flickerless and goes pretty smoothly. Also, this code simulates an asynchronus function as i couldnt see a way to make/call an asynchronus function in vb. Please vote for it!

4_2005-2006 #155449
Allaire ColdFusion Editor!!

I origanally started this with the question can I recreate Allaire's ColdFusion Editor? Well the answer is Almost... Mostly customizable has tons of features including. ftp,ini creation deletion,richtextbox manipulation,saving files undo,redo,api's,splash srceen,all the usual editor capabilities. Well check it out for yourself. I worked long and hard on this so any feedback and or votes would really be appreciated. Also any bugs or ideas can be sent to my email which is in form1 at the top along with all the credits to the people that I got ideas and or code from on PSC. Thanks Eric C.

4_2005-2006 #155459
Popup Balloons (2k/XP-style)

This code will show Windows 2000/XP-style popup balloons. They were introduced in Windows 2000, and in XP they're seen all over, especially in the system tray. But Microsoft hasn't released how to use them yet (except for tray icons),and--if they did--it would only work on Windows 2000 or later. This project shows you how you can use these balloons in your programs. Instead of relying on Windows to make them, this program makes its own. Therefore, it will not only work with Windows 2000 and XP, but also with all other versions of Windows (down to 95). It's not a wrapper for the common controls or extension of them; it's completely done by itself. They're kind of like tooltips, but they're shown on demand--not mouse hover (although I suppose you could modify it to make it do that, if you wanted to). They're also highly customizable. You can set, of course, the bold title at the top and the text to be shown. You can also set it to automatically close after a certain period of time, specify whether or not to show an "X" close button, specify an icon to appear on the balloon (similar to the message box's; you can use "i", "X", or "!") or none at all, change the font that it's displayed in, and more! And of course you can change it however you want, since the source is included. One possible use for this, if you're not familiar with thes balloons, is to use it like a message box to display a small error or other information that you need to tell the user but don't really need to bother them with a message box for. Included in my sample project is a division program that will display a balloon with a "Divsion by Zero" error if you attempt to do so (e.g., 4÷0). Also included in the demo is a project that the screenshot here was taken from. Looking at the screenshot is the best way to see what this code does. I hope you enjoy it. Remember, if you like it, please vote and/or leave comments! Thanks! :) PS - This is the second "release" of this project, and I am aware of some issues, most of which are documented in my code's comments. For example, making the the balloon drastically smaller or drastically larger than what it defaults to may affect the border's appearance. I'm working to fix these.

4_2005-2006 #155486
Sunero Zoomer »» ( like Windows 2000 accessibility feature )

Sunero ActiveZoomer is an application, which is similar to the Windows 2000 zoom application… It has the following features… + It shows a zoomed image of the screen, using the mouse position. + Completely Flicker – Free + Uses API + Zooms according to the size of the window + Stays on Top i.e. above all the windows (including the start menu) + Specify area to be zoomed All this and more in this incredible app! PLEASE VOTE !!! :o)

4_2005-2006 #155515
a Scrolling Credits app

This application shows you how to implement scrolling credits. There are two different demos: top to bottom and left to right. You can click on the credited individual to send him/her an e-mail.

4_2005-2006 #155627
Invasion Game (VBRaptor)

This is a game I've been working on off and on again for a little while now. It's a top down shooter done using DirectX. The last upload had a quite a few bugs. This one I've corrected some of the obvious bugs such as the shots sometimes missed enemies despite hitting them. Enemies won't destroy eachother any longer when overlapping. Also I am pretty sure I fixed the bug where nothing appears occasionally when first starting a game. Comments and votes are welcome and appreciated. Thanks

4_2005-2006 #155720
PSC Downloader 1.1

This little App is a enhancement of my former PSC Downloader (http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=27782&lngWId=1). What it does: 1) Let you drag and drop code projects from PSC to download sources and info about it. 2) Download sources into a directory of same name as the project (NEW). 3) Download project description. 4) Download project image (Enhanced). 5) Create internet Shortcut in download folder to project homepage at PSC (NEW). 6) Download zip-file. 7) Stays on top. 8) Easily to drag around on the screen.

4_2005-2006 #155612
Calendar Maker (Print/Save)

My wife asked me if I could make her a simple calendar maker real quick. She really just wanted blank calendars to let the children, at the school she helps out at, to color in. So I made this for her (with the ability to add images instead of being blank). It was written pretty quick and only tested on my home PC since she was going to be using it there, so there may be bugs. I just thought I would share some of my code once again here since this is not a product I will be taking much further. Some ideas to add if others wanted to is better scaling of the image in the top half, a database (or data file) of holidays to add to the calendar when it is rendered, color and font options. If anyone does add more to it, please share back on PSC. KEYWORDS: LINE, CALENDAR, PRINTER, COMMON DIALOG

4_2005-2006 #155889
Picturebox Scroller

This is a simple function which smoothly scrolls text in a picturebox. Unlike other entries it only needs one picturebox. Each time the function is called it adds the text to the bottom (or top) of the picturebox and scrolls the rest of the box (without moving the box itself). Used with a timer control it creates a very versatile scrolling routine. It can easily be modified to scroll anything that has an HDC. The font property on the picturebox controls the look of the text. BitBlt api based on code submitted by MO. I used this code for a phone tracking program than needed to constantly scroll incoming call data in a picturebox.

4_2005-2006 #155988
AMAZINGLY FAST IMAGE ROTATION *REALTIME*

I wrote this to be a part of my game engine. It's purpose is to rotate a bitmap, for example, a sprite in a game, to any angle (fixed point only) in realtime, that is, fast enough that it can be done on a frame-by-frame basis in the game. For example, if you had a birds-eye-view scroller, and you had a spaceship in the middle of the screen and you wanted the player to be able to rotate the ship 360 degrees, this code would be able to rotate the sprite of the ship every time the angle changed, fast enough that it wouldn't make the game 'laggy'. I tested this out on my (rather lame) P-133 Mhz PC, with 32MB of ram, compiled, with no other applications running, rotating a 48 X 48 pixel bitmap (the size of a sprite in my game), and i got a top framerate of 250 Frames Per Second, and a minimum framerate of 111 fps.!!! It manipulates DIB (Device Independant Bitmaps) objects rather then using GetPixel and SetPixelV. Because of this, it is MUCH faster, This took ALOT of research because I did alot of trial and error to figure out how to set the color of individual pixels in a DIB byte-array. (the entire bitmap's pixel information is loaded into an array of bytes, each representing the Red Green and Blue value of a pixel in the bitmap), and I also had to go through alot of graphics routine books to find the most effective rotation formula. I am now in the process of porting this function to C++ to add to my VB game engine DLL. I have many ideas of howto furthur optimize this function for faster speeds, but most of them are for C++ only, and require further testing and development. I do think this can be used in a game as-is though so i hope someone finds it useful! IMPORTANT: COMPILE this code for MUCH FASTER framerates!!! Press the SetupDIB button to initialize the buffers and create the DIB section of the image and the buffer, then drag the scrollbar, or press the button that says Rotate on it. There are some limitations to this function... Read the comments for more info! =) Hope this helps someone, enjoy!

Languages
Top Categories
Global Discovery