Advertisement

Results for "Category: Files/ File Controls/ Input/ Output"

6_2008-2009 #198588
Advanced Directory List

This gives you the Windows 95+ directory listing with My Documents, Desktop, etc. Two projects are included in this zip, one that has the project as an executable, one that has it as an ActiveX usercontrol. Simple code, lots of comments. Please leave feedback and vote!

6_2008-2009 #198618
Wait Time

Simulates wait time (time unit is one loop iteration) of a queue much like a line at a bank. Uses a Que Class, Server List Class, Server Class, Timer Class and a driver (Simulate.cpp)

6_2008-2009 #198677
CreateDirectoryStruct

Creates all non-existing folders in a path. Local or network UNC path.

6_2008-2009 #198681
Get the UNC Path

Networked drives. They're an administrative nightmare. In fact, the average user changes his networked drive letters more often than his underwear. But you can solve this problem of binding an application to a particular drive by using a Universal Naming Convention (UNC) path. This still references a network area, but doesn’t tie it to any one drive letter. And you can retrieve and check the UNC of a particular path in code using this neat little function. To use it, simply call GetUNCPath, passing it your drive letter along with a pre-declared empty string. If a problem occurs, the relevant number is passed back with the function. These can be matched with the possible return code constants. However if everything goes swimmingly, the function returns a zero (a constant value of NO_ERROR) and places the UNC path into the ByRef-passed variable. This code works by making a call to the WNetGetConnection function in MPR.DLL. It's essentially a neat wrapper for a regular API call.

6_2008-2009 #198715
Capturing the Extra Mouse Button Events

This program will demonstrate how to capture the extra mouse buttons such as the mouse wheel and x buttons (the buttons on the side of the mouse). Mouse Hooking is employed so these the events can be captured independantly of the controls.

6_2008-2009 #198725
How To Write To a INI File

This VERY Simple 5 Line Code Writes To a INI File! Enjoy!

6_2008-2009 #198728
Create a Internet Shorcut on Anyone's Computer

This code will create an internet shortcut on someone's computer. All you have to do it call it with a path and hyperlink!

6_2008-2009 #198729
Using the Printer Object 3 Part Laser Checks

This module will show how to use the printer object programmatically, in this case to print 3 part laser checks but anyone can use this on a laser printer with plain paper. I think it is about compact as it can be there are some variables that are not used yet. Notes on their purpose are documented. This shows how to use Printer.TextHeight and Printer.TextWidth for something useful. Please rate my code if you find it useful. ;)

6_2008-2009 #198735
Fax Server for 2000/NT

With a small bit of coding, you can modify this app to suit your office server environment as a fully function FAX SERVER. You MUST be running WINDOWS 2000 / WINDOWS NT, as these are the only two OS's that have the FAX SERVER Object.

6_2008-2009 #198746
Write Resource To File - Fast!

This is a fast way to write a resource to a file. UPDATE: You can find an example to this code here.

6_2008-2009 #198761
REAL professional About boxes

A little use of inspiration for a magnificent effect...

6_2008-2009 #198764
Get a Temp File Name

Need to create a temporary file for whatever? Include this bas module in your project and with one line of code the file will be created and the name returned to your program. Sample project included.

6_2008-2009 #198767
Common Dialog Template

Common Dialog Template. This small project explores the use of the Show methods of the Common Dialog. Want to know if the user entered an unexpected extention? Want the dialog to return a file name that does or does not exist? I have included most of the constants and properties associated with each method; not so much to show how they are use, but as a reminder of what is there. Try different things and see what happens. The open and save methods seem to have the most options and therefore the most complexity. So have fun and see if this works with that....

6_2008-2009 #198779
FileSystem module

BAS Module that handle several FileSystemObject methods using Windows API calls. Several new functions were added. This module will make file/folders operations a breeze.

6_2008-2009 #198804
DirectoryTreeView (Updated 8/3/03)

This is a simple 'Browse for Folder' style TreeView. Loads all Logical Drives. Does not load sub directories until the user expands the parent directory so it loads quickly. Supports showing of the files and their associated icon. **Update (8/2/03) ** Looks a little more like the "Browse for folder Treeview". The root is the users desktop folder. Improved properties. Only applicable properties are accessable. ** Update (8/3/03) ** Inclcudes an Example Application simulating a browse for folder dialog. Added method to Create a new Folder. Once the new folder is created it is selected. Added a FindNode method that returns a specific node based on the nodes fullpath. Added different icons depending on the drive type. Speed improved.

6_2008-2009 #198805
VBAccelerator IconMenu

I converted the original C# code for the IconMenu(http://www.vbaccelerator.com/home/index.asp) to VB.NET. The only Changes that I made to the actual code is that I added a property that allows you to select the Menu style you want, Classic Or XP Style. Everywhere I go that offers source code and it's in C# people are always asking for the VB.NET port of it, so Here's the VB.NET port of VBAccelerator's IconMenu

6_2008-2009 #198823
Correct Line Numbering Example

This Line-Numbering example will correctly show the line numbers. Unlike many other Line-Numbering examples, this allso works when the user manipulates the scrollbar and keyboard. The blue line is there so you can see the the line-numbering works correctly all the way down to pixel level. Please note the "Padding" Property of the lblNubers-label. If you change the font, you might have to fiddle with around with that Property. This example was made by porting the C# code found here: http://www.codeproject.com/cs/miscctrl/numberedTextbox.asp I did the porting and allso corrected a few bugs I found. Please vote and have a nice day!

6_2008-2009 #198840
MP3 Time

This code is an adaptation of Darren J. Prior's code "GetMP3data" routine. I re-worked the code to include the rest of the header flags not decoded by Darren. It has also been converted into a class module for easy integration with new projects. This code reads all the header data from a MP3 file including bitrate, time length, encoding KB and sampling frequency. Building a play list generator? How about a Shell extention? You need this code :)

6_2008-2009 #198842
Advanced High-Speed Sectional CRC32 Wrapping protection for your Exe of any size

Calculates a unique CRC32 hash based on strings from important sections of your exe (as opposed to the entire exe, including non-critical things such as images, sound etc). This means you can protect exe's of virtually ANY size using CRC32. If you choose your sections carefully enough, the protection can be just about as good as if you had protected every byte in the file. Please vote for this if you think it's worthy of one :-)

6_2008-2009 #198843
Determine file format using file header, ignoring the extension

Determines the filetype (PE Executable, GIF Image, Word Document, etc) using the file header/contents, as opposed to using the file extension. Supported types: PE Executable, INI File, AVI Movie, WAV Audio, Word document, Access database, GIF Image, MP3 audio, BMP image, TIFF image, ZIP archive, ARJ archive, RAR archive, HTML/HTA docs, JPEG image, Visual Basic files. If it can't determine the filetype, itll try and determine if the file is text or binary.

Languages
Top Categories
Global Discovery