Results for "Category: Miscellaneous"
Sizes a form to an exact size. Ever tried to size a form to say. 320 by 240 like this Me.Width = 320 * Screen.TwipsPerPixelX Me.Height = 240 * Screen.TwipsPerPixelY But you want the border and title bar at the same time. And it doesn't look right at all. Heres your answer! (I dunno if anyone has done this before if they have. cool.) I made this years ago, but didn't know of Planet-Source-Code then.
Trying to make Fairy Dust, With Particles, it runs good and fast on this comp. (Note: May Freeze). I don't usualy ask for feedback, but it sounds nice so I'll apprecate any. (I'll reply soon as possible. IF NEEDED). Yup, this time it's all commented! (I usualy don't comment/REM the code I make... but I did this time)
Really easy code and simple way of using an embedded .html file in a .exe. The code for the .html is stored in multiple strings, which are loaded and combined, then saved to a temp folder. Then the webbrowser opens the temp file for viewing. When program unloads the temp file is deleted. Please vote if you like it! Thanks.
An update to my code on how to move controls at runtime. With version 0.2, the program saves all the settings to the registry, so that the next time a user opens the application, the settings will be restored. PLEASE VOTE IF YOU LIKE IT Armen Shimoon
Now you can change the captions, text, tag properties of controls on your Forms without using Resource files. You call the function once and it will either go through ALL of your forms and get the values from a file. Or it will go through all of the controls on 1 form adn get the values from a file. This uses the Forms collection and the Controls collection to do this. This makes life alot easier if you are developing multi-lingual software. I've enclosed a sample exe that changes the text from English->Spanish->English.
This is two functions with example of how to get the difference between two times by hour and min. Code is pretty good to keep a running time of how long you've been doing something without the major offset that timers give. There are some drawbacks to this code, since it is only a small example, you probably can't check anything past 11 hrs and 59 min. Anyway, I hope this inspires some better Ideas. Enjoy the code.
This is my update to 'A Pak File Creator'. The code is fixed but still may have file size limits. I haven't checked anything above 1.2 megs. This code could definitely be worked on to be made better. I hope someone out there will post a better way to do this. Please rate this code and leave me some comments or drop me an email. Hopefully this code can be used as an external resource file once we can get the access speed pumped up. Enjoy it folks!
Crack or hack any zip.exe's or .zip .doc ,exe any login screens using brute force. Just try it!!.
simple code edits registry adds a value to the run key in windows registry. it uses a module previously posted on PCS i have included it will the code but it displays the authers name with it.
Converts Long values (used by getpixel and other low level color functions) into RGB values that you can use. Useful if you want to manually remap an image or make some kind of color effect.
This program essentially sends in a sequence of keys to the currently active window. So load your host program and this bruteforce cracker and you could soon be in. For Eg. If you have forgotten your WinZip password let this program repeatedly put in numerous passwords from a dictionary file or just a sequence of numbers to let you into the program
It seems that a lot of people are having problems sending Email from VB to multiple people. Here's a procedure that should fix that.
I have submitted a pretty bad listbox example before, but this is one that demonstrates how to use the ListIndex function. All you need to do is place 2 Listboxes, 2 command buttons, a timer, and a textbox. (Don't worry about their position, just put them anywhere and accept their default names. This can be done by double clicking on the icon.) Then, copy the code into the form and run it. Select any item in the list on the left, and double click on it or click Add. It will be added to the 2nd list. Add as many as you like. If you then select it in the list on the right, and click Remove, or double click, then it will remove it. (Note that it will still be selected, see the code for how to do that.) The text box on the bottom shows the two list box's indexes. Please tell me what you think of this example, and vote. Thanks :)
hides program in crtl-alt-menu one line of code
THis short piece of code illustrates how to imbed Crystal Reports into VB. While simple, it does not seem to be documented well anywhere.
Set Mouse Trails
Show how to use LDAP to authenticate users
Analog clock: Only picbox and one line of code needed.No other controls. Cool example included.
I extended this thing, so I should be able to get more than one vote now. ver 1: capture mouse to any rect area defined by any vb rect control(including shape,image..) ver 2. capture mouse to following:"CaptionBar" or "FormClientArea" or "CompleteForm" or "CompleteFormBorderExcluded" All detailed explained in module. Exe that shows things included ( code too ofcourse)
It shrings any form to nothing before closing, move it out of screen etc, 16 different options. Is it better then similar ? Yes it shrings any form regardles to its border style. Worth to see it !