Advertisement

Results for "Category: Miscellaneous"

7_2009-2012 #233739
ActiveMovie Control Module

This module allows you to easily implement and control Video objects (Without the un-stable MediaPlayer object) using DirectX ActiveMovie(DirectShow) object. Vastly documented, very easy to use! Including example project. Don't forget to add a reference to 'ActiveMovie Control Library' in your project if using the module.

7_2009-2012 #233779
Guestbook

A simple but cool guestbook. PLEASE COMMENT!

7_2009-2012 #233808
Mouse Over effect on any control with a handle

have a mouse over routine any any control with a handle. ie button, picture boxs, forms, etx. Without using timers, just API.

7_2009-2012 #233823
PortAddress

Detect address of serial and parallel port. Read physical memory (on Windows NT/2000/XP) starting at address 0x400.

7_2009-2012 #233829
Just another Replacement for Replace() v. 1.1

_Now_ it's as fast as it gets, folks. Yes, Faster than the code from xbeat.net. It beats the stuffing out of VB's intrinsic replace function even without the compiler optimizations. 5x-8x faster, even though it adds the ability to use delimiters and count the number of replacements. Uses a slightly modified string mapping technique from Chris_Lucas's post here a few years ago. Thanks to Rde for the SysAllocStringByteLen declare. That, plus some changes I made to calculate all the replacements before the return string is created are what account for the additional speed in the updated version of this post.

7_2009-2012 #233831
How to test for a zero-length string

This code is irrefutable proof that LenB(String) is 50% to 90% faster than testing for String = "". Most of you I'm sure already know this, but to my surprise someone tried to correct me saying that the latter was the correct way. So for all those who can benefit from this code, give it a try. Only 2.5 KB download.

7_2009-2012 #233832
Advanced Programmatic Zipfile functionality

This is an substantially updated version of my Basic Winzip Functionality Post. It's a complete wrapper around Infozip's open source compression (www.info-zip.org) I've seen several of these, but none as easy to use as this one. See the screenshot for the host of options available when zipping or unzipping files. Everything you need is included in the zip, just make sure to look at the readme file. Also, for those of you using vbAccelerator's cZip and cUnzip, you've got to check this out as an upgrade.

7_2009-2012 #233836
Common Dialogs

ASM callback procedures, compiler switches to expose only the functionality required, nice examples and more. Be sure to register the type library to run the project.

7_2009-2012 #233838
XP Manifest UI State fix

Perhaps you've noticed that the VB Form engine does not support dynamic changing of the ui state. It gets the ui state when the form is first created and then never again. Obviously this defeats the whole purpose of it. For example, if the user opens your form using the mouse then the focus rectangles will not show on the command buttons or on other controls that conform to XP ui standards. This code a kludge that will show all ui states instead of only the state that was active when the form was created. Just call this sub in the initialize event of a form that is linked to CC 6 with a manifest.

7_2009-2012 #233841
Advanced Subclasser

This code uses Paul Caton's subclassing assembly code, but extends it to allow any number of objects to subclass the same hwnd. It is fast and memory effecient, and is easy to use. Included is a bare-bones example and an more thorough testing tool.

7_2009-2012 #233842
vbBase Dll

vbBase. So named because it is the foundation of all my best projects. It encapsulates all the details involved in subclasses, windows hooks, api timers, registered classes, vtable subclassing such as the iEnumVARIANT interface for for .. each enumeration and iOleInPlaceActiveObject, iPerPropertyBrowsing, and iOleControl for building powerful usercontrols.

7_2009-2012 #233843
vbComCtl - revisited

Your GUI dream come true. 20 usercontrols to replace MS common controls 1, 2, and 3, the richedit and masked edit libraries, plus nice looking popup menus and a CC 6.0 friendly replacement for VB.Frame. Lots of goodies here. UPDATE: major refactoring done. vbBase.dll is history. now there is only the ocx and the test project. All api declares have been moved to a tlb, which allows for simply toggling overriding those declares using a compiler switch. This means that every singe allocated resource is tracked to ensure zero leakage. (See screen shot) Serious optimizations for size and speed. Eight bottleneck functions written in pure assembly. This is a veritable mountain of useful code, whether you want to take the time to figure out how it works for yourself or just remove the parts you need for your app. Recommended highlights: pcIntegerMap & pcStringMap for hash tables, mSubclass for asm subclassing (not Paul's, even better!), and mDebug for some techniques you could use to track all allocated resources in other projects.

7_2009-2012 #233844
Better XP Styles

In this new version, you don't have to carry an external XML file, which makes your app look unprofessional and you don't have to deal with all the resource files that you have to configure so accurately to make XP styles work. This is very simple and straight to the point. Enjoy!

7_2009-2012 #233877
Easy Skin System saves to INI

You can pick colors, a title and a picture to add to a form and save the settings to an INI file. This also can be used for learning to; read and write INI files, use a mouse over event, transparent form, and borderless form moving.

7_2009-2012 #233899
LAN Scanner / Enumerator

The easy way to enumerate PCs' names in local network. List them in a combobox and count them. if you find this class helpful and useful, Please vote, comments are welcome. ;)

7_2009-2012 #233928
Login and remember Password Using Cookies and Session

To learn the use of cookies and session object. Creating, deleting of cookies. Implementing the remember password utility, to avoind future prompts for login information. also, has the code, that asks the user if he is the right person and if he is not, it logs him out of the site and takes him directly to the login page, to login as a new user. The old users cookie will be automatically deleted.

7_2009-2012 #233940
MouseLogoff

This program simulates a person moving the mouse,clicking the start button and then logging then off. I made this program because i am very lazy!!!!!lol I know there are faster ways to logoff such as: ExitWindows(0,0); system("shutdown -l"); system("rundll32 user32.dll,ExitWindowsEx"); But I wanted to do it in a different way. Please vote!!!!!

7_2009-2012 #233955
ListView Example

ListView Control Example in Report Mode. Allows you to get the feel of how the listview control operates by inserting and deleting fields.

7_2009-2012 #233957
TreeView Example-2

Treeview example showing how to populate, save,load and print a treeview control. This is our 2nd example which now allows the user to insert an entry before or after a child. The size of the form also has been reduced to allow a lower screen resolution. Rp

7_2009-2012 #233963
Auto-Typing in MS Word with .NET!

This code opens MS Word, creates a new document, and starts writing a text in it letter by letter.Just create a new proyect, a normal windows aplication, add a reference to Microsoft Word Object Library, and copy/paste this code. Then set form opacity to 0%. Easy to implement and Cool effect, isn't?

Languages
Top Categories
Global Discovery