Results for "top"
NEW VERSION 3 NOW AT http://www.pscode.com/vb/scripts/ShowCode.asp?txtCodeId=59247&lngWId=1 Will leave this here as a safety for a couple of weeks. This is a VB6 ( SP5 or SP6 required for ListView to work properly , Thanks Ariel) Add-In which allows you to indent code, find and repair/improve code for greater efficiency and readability and includes a user friendly replacement for VB's Find And Replace Tool. ------v2.9.9 several small tweaks mostly rare conditions or recent stuffups (See history.txt for details). --------------------------------------------- Quick search for 'CODE FIXER HELP FILE' to get the help file (You will need it!) The Find Tool component is designed to be permanently docked with the VB IDE(See Launch on Startup button on Settings screen). While this takes screen real estate, unlike VB's own find tool, it doesn't hide the code. I find it easiest to use if docked at top of the IDE under the VB toolbars. --------------------------------------------- WARNING All care; No responsibility. Some of the fixes the Add-In performs are capable of damaging code. Please use on copies of your code or use the built-in backup systems. --------------------------------------------- See readmeCodeFixer.txt in zip for installation instructions. -------------------------------------------- All bug reports gratefully recieved. If you have sent me one previously please check if I have patched it and let me know if not. -------------------------------------------- Thanks to Ulli for original inspiration and to the many who have assisted me with bug reports (you should find your name somewhere in the code, the thanks.rtf has been removed to keep the zip size down). --------------------- NEW NEW NEW NEW New item on CF menu 'Fix & Format (Ctrl Def Prop)': Because of the way it works the Default Property fix can be very slow, is unlikely to be needed more than once per project but it requires data gathered during the normal fix cycle. I know its an ugly menu item but until I think of a different, way to present this will do.
This code shows make form, modules and how to use command button, pictures, combo box,timers etc. while start learning VB.This code also shows some advanced concepts like running the application in background (system tray) and how to make your form stay on top of all the running applications.
Cant remember the important things in your busy schedule? Then have this code (Using MS Access Database). This code reminds you on the date and time set by you by a popup window which will be on top of all running applications. Prpoerly commented. You can reschedule the reminders. Can mark them as pending a or done. At start up checks all the reminders which are not shown previously bcoz this application was not running at that time.when you close it (by X) then it will be in the system tray.Dont forget to vote for me.
Very Cool Video Player. Exelent Graphics, and design. It uses full Api functions. Traybar Icon. Ini files. Always on top and fullscreen functions. Speed movie enhacement. Just See & Vote Me.
What do you do if you need a grid of controls? You can painstakingly draw them one by one in the IDE carefully sizing and placing each one OR use a computer to do it for you! This demo uses a form with 3 controls on it and a simple procedure (GenerateGrid) to create a program with 3456 (even more if you maximize the form; 16415 dots + the 26 other controls on my system) controls. To use this code simply create one control with the properties you wish to share (size, colour and shape are the usually ones) and set its Index to 0. This becomes the root control for the array. Place it on the form at the Top-Left position of your grid. Call the routine. I recommend this for creating tile based games where the positon and contents of the tile are not likely to change most of the time. While I use it as a graphics display in this demo I do not recommend it because control-based 'pixels' are very slow to create and manipulate as you can see in the demo if you maximize the form (and wait.. and wait... while it creates the controls) .
Cls StackCollection Use VB's Collections to build stacks and queues. Also included a safety wrapper for collections. To operate as a stack/queue you do not need a separate key, everything is done using the index This class adds new Methods and Properties to VB collections. ArrayFromCollection Put contents of stack into an array ArrayToCollection Load members of an array into the stack Bottom: Returns first value added to stack Clear: Empty stack in one call Exists: Tests if index/Key is in stack. Uses error trap to test Optionally runs silent if error occurs Extract: Remove any member from stack Invert: Reverse order of stack Max: Returns the highest alphanumeric member of stack Middle: Returns Middle member of stack Min: Returns the lowest alphanumeric member of stack. Pop: Use collection as a LIFO (Last In First Out) stack, removes member from stack. Pull: Use collection as a FIFO (First In First Out) stack, removes member from stack. Push: Wrapper for VB standard Add. Push is used by both LIFO & FIFO stacks. QuickSort: Sort stack into alphanumeric order RandomMember: Extract a random member of the stack(Optional RemoveIt as Boolean = False); if True remove from stack Replace: Change the Item for an Index/Key Shuffle: Randomise the contents of the stack Top: Returns last value added to array I have also included a class ClsSafeCollection which wraps the standard collection in a safety net Add: Modified to allow you to cope with the various error conditions that can occur Count: VB standard Collection.Count Item: Modified to allow you to cope with the 'Index/Key does not exist' error Remove: Modified to allow you to cope with the 'Index/Key does not exist' error Please comment and vote. May just have reinvented the wheel for many of you but hope you find some use for it. Feel free to use all or parts of this but leave copyrights in place and let me know about it at rojagilkrist@hotmail.com
This code is for people who have two versions of their site: one for computer browsers, and one for web-enabled phones or PDAs. It automatically detects which is being used to access the site and redirects accordingly. index.php should replace the index page of your site. Rename your current index something else. The local path to that should be the $main variable. When someone accesses index.php from a regular ol' computer, it simply prints out all the information from $main. Really, everything else is explained in the comments. When someone accesses your mobile page via redirection only (NOT manually), at the top it says "click here if you are not on a mobile phone or PDA". When they click that link, it sends you an email with their O/S, browser, and IP address before printing out the contents of the main page. I wanted to do this in a form in index.php, but the T-Mobile Sidekick wasn't passing the variables back. I figured it would be more foolproof just to link. Anyway, if you want to turn off this feature, just comment out the line above "require $mobile" (I didn't write out the line itself because it has html tags). Enjoy! http://www.thanksforthemammaries.net
I found many interesting code snippets on Planet Source Code. And I think it is time to make a contribution to this great community. Although there are already a few submissions available that simulate an water effect, they all seem not very realistic to me. This submission is an attempt to translate the original water effect directly to Visual Basic. Although this effect still needs some improvement on its own. It calculates the spreadout and the damping of an simulated wave and renders the corresponding reflexions on the water. And so it looks like there is a water surface on top of the picturebox. The sourcecode is still a work in progress and thus there are some limitations: a) the rendering speed needs to still improvement, b) the mousemove effect is still disabled due to the slow rendering and c) the effect is still not 100% correct. Vote if you think I would deserve it and please let me know your suggestions how to further improve this amazing effect...
Create balloon pop ups simular to XP. Dynamically creates the balloon by calling one function The form has to have 4 Shape objects And one label control 2 of the shape objects are used to make the balloon 1 the fore balloon 1 for the shadow The other 2 make up the small circles That lead up to the balloon The label is contained in side the balloon and displays the text. Very easy to do ! Example Use: Make_ballon Picture1.Top, Picture1.Left, Picture1.Width, "Hello World Again, Still way cool !", 0 the zero determines which side to display the balloon on 1 is for left 0 for right. I forgot to add Pleaze Vote ! i would like to know.
The purpose of this module is to show you how to change the form's position in 3 different ways (On Bottom, Normal, On Top). •The OnBottom function works just like the OnTop function, keeping the form constantly behind any open window. •The Normal function returns the form to its normal state. •The OnTop function keeps the form constantly in front of any open window.
This is my own personal version of microsoft word, using a rich testbox. It teaches u how to cut, copy, paste, undo, redo, search, increase\decrease indents, change allignment, and much, much more. also uses commondialogbox and has the code to keep the search form on top. PLEASE VOTE.
Customize your menu with images. Just create a menu with the VB Menu editor. Add some PictureBoxes to your form and assign to the CMenu class. This class uses the whole region of the main-menu not only the regions of the items. So, if the window width changes, the background image of the main-menu also does. The screenshot shows where PictureBoxes are applied. UPDATE: Now using a better method for subclassing. A MsgBox blocked the WM_DRAWITEM message when running in the IDE and as long as the msgbox was on top, the menubar was grey. This doesn't happen in the new version.
update 07-17-08 Fixed a bug I caused fixing the last bug.Sorry for the bad upload. update 07-16-08 fixed a bug with path property pointed out by Ed Wilk and Rodger Gilchrist. Thanks. update 07-13-08 A few changes addressed in the ucThumbs code, most notable is saving the thumb image in an array for faster drawing. update 03-03-08 Added auto size and maintain ratio to the thumbs. also changed the way text is writen. I'm working on unicode. Update 02-27-08 fixed a few bugs in the code and added some key events along with keyboard shortcuts. You cna find info on the changes at the top of the UC code module. This is an image file list box. It has a lot of the same properties of the file list. It also has a few properties of its own. A built in right click menu with (Copy, Delete, Move, Rename, Browse for folder, and a File Properties option). Update: found a few problems I fixed. And also I thought since I wrote the code it would be easier for me to update it to do different size thumbs. I couldn't decide on user defined or optional set sizes so I did both.I also added them to the menu so you can change the size at runtime. I'm working on comments and cleaning the code. This may take a few days as I'm quite busy these days. Please let me know if you find any errors in the code or need something added. Thanks! 02-22-08 fixed some problems pointed out by users, credit an reports given in uc code. Thanks for the comments. added runtime resizeability to the Usercontrol
This project simply lists the files in a folder. No elaborate class hirarchy wrapers. Simply demonstrates System.IO features. This simple solution was brought to you by the P2B Consortium. “Free and easy artificial intellagence chatbot hosting” http://www.p2bconsortium.com/sss/CreateBot.aspx Step 1: Build and run \ListFilesInFolder\ListFilesInFolder.sln Step 2: Enter a folder path in the top text box Step 3: Click on "List Files In Folder" to list the files in the folder
This is an improved version of the "small, neat and simple Memory Bar" app i submitted several days back. I have squeezed the app size 50% smaller than the previous version. full details of each bar is only displayed in the tooltiptext of each respective label. since windows time is already in the system tray, i chose to added a date caption to complement it. same as before, double click to close it, u can resize it however you want, and it stays on top of your apps. if there's any request to add more stuffs to it, i might consider an upgrade for further version. Codes on cpu usage comes from:- http://www.pscode.com/vb/scripts/ShowCode.asp?txtCodeId=27505&lngWId=1 *Version 1.4: Fixed the picHook visible to false. *Version 1.5: Added minimize to tray function (source comes from allapi.net) *Version 1.5b: Some ppl complained that the program crashed (runtime error) after running for a prolonged period (division by zero?), so i added a 'on error resume next' for the timer. i know it isnt good practice but some ppl actually wanted to run this on their desktop for a long time.
Black Winter 2 (BW2) is the second space shooter in its series, featuring many main weapons, side weapons, special weapons, variety of enemies, and its regular end-of-level bosses. The game uses 24-bit graphics, image masking(bltblt), sound effects, background music, and realistic explosions. The game is written in well commented codes, a tutorial guide to help programmers to build a basic space shooter, and a printer-friendly user manual for gamers who wants quick reference on weapons and ship statistics. Players are welcome to send to me their highscore files and up-to-date pilot standings will be published here. Votes for this submission are much appreciated. <p/>Top 10 Pilots: <br/>1. jzthealien (131220 - Killed LastBoss) <br/>2. Ryan Catling (118260 - Killed LastBoss) <br/>3. Nafees Ahmad (116200 - Killed LastBoss) <br/>4. Blaster Master (113435 - Killed LastBoss) <br/>5. David Albrecht (105905 - Killed LastBoss) <br/>6. tt_Hydra (105635 - Killed LastBoss) <br/>7. Ronald Borla (105520 - Killed LastBoss) <br/>8. Alejandro Villarreal (103195) <br/>9. Ryan Catling (102665 - Killed LastBoss) <br/>10. Gert Eising (98680) <p/>Rename msdxm.oc_ to msdxm.ocx, if that doesnt work you can download a public copy from http://freeware.it-mate.co.uk/?Cat=OCX_Files
Black Winter is a top-down retro space shooter featuring 5 unique weapons, special weapons, bonuses and 10 end-level bosses. Try it.
It's a demonstartion of a really great About formular. It has tranparent effects and scrolls to the top. It also has a gradient background.
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.
This is my old GravityBlocks game with movable blocks feature added. You can move the top blocks when there is no left or right block. I'm still not comfortable with recursion, anyway just try it now!!