Advertisement

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

ASP_Volume2 #44214
DriveBar

Replace the drive combobox with a button bar control. Has green drive ready indicator or red not ready when mouse hovers drive button. Also on hover it displays drive info. Added the ability to rotate the bar control. This is accomplished by clicking the control on the form and open the properties window under appearances there is an option for vertical when true this sets the bar vertically on the form. the screenshot shows the DriveBar both ways. Please vote if you like this control. Special thanks to John Herald for the advice on the control. You probably will have to add a reference to Microsoft Scripting Runtime Libray which is located on the reference Com Tab as listed above. Then build the program before trying it.

ASP_Volume2 #44220
a Control - How to write simple control ( ownerdraw ) sample

This sample will teach you how to write your own controls. In this case blinking label control. This control is writen from begining. All ownerdraw. I hope it will help someone to learn how to override methods and write their own controls. Vote if you like it.

ASP_Volume2 #44221
A "DataGrid" -extended-: FullRowSelect + Disabled Cell editing.

1 part of code: I want to show you how you can set FullRowSelest in DataGrid + disable cell(textbox) editing. 2 part of code: How you can use DataGridColumnStyles to show fields in DataGrid that only you want to be viewable/avaiable. 3 part of code: How to make your own DataGridColumnStyles. This project is all documented ( on englis ). *****If you like it, please vote..

ASP_Volume2 #44224
rsButton

Simple but useful (i hope) button control Updated : - disabled state drawing - support for keys : Enter = Click Space = DropDown Correct focus rectangle drawing with TAB key

ASP_Volume2 #44225
ScheduleGrid

A web based grid that allows a user to schedule actions against a resource on a time base by simply clicking and dragging. A tooltip is displayed that shows the user what the time is where the mouse currently hovers. This control allows you to set up multiple actions, a start and end time of the grid, and time intervals for each cell in the grid. Time intervals are numbers that can divide into sixty; i.e. 1, 2, 3, 5, 10, 12, 15, 20, 30 and 60.

ASP_Volume2 #44227
GridEx

Extends DataGrid Functionalities (AutoSearch, AutoSize and MultiStyle)

ASP_Volume2 #44235
Progress Bar Example

This hummorus application explains how to use the Progress Bar Controls. This program is based on a spoof for people that have massivly oversized harddrives. This code was written in VB .Net (2002) but the logic can be used in most versions of Visual Basic.

ASP_Volume2 #44248
Key Pad (FULL)

Use this code to create a control that simulates a keypad. It wasn't very hard but I didn't see one on the site and thought I'd contribute something...... *NEW* a complete sample.....built in vs.net 2k3 I don't have access to 2k2...sorry. I'm

ASP_Volume2 #44328
RichieRich - RichTextBox that automatically colors specified words

This code contains a modified RichTextBox control that allows you to specify words that you would like it to color when they are appended or typed into the RTB. The program also maintains cursor position as well as lets you specify the color for each word you load into the dictionary.

ASP_Volume3 #44361
Validate_Drive

Validates whether a given hard/floppy/network drive is valid

ASP_Volume3 #44362
Validate_File

Determines if a file exists Improved version--detects hidden files too!

ASP_Volume3 #44402
cmdFormatDrive

Format Floppy Disk using API:Here is the code on How to Format Floppy Disk using API. Note -- This code can format your Hard Disk as well, so you should be careful!!!!

ASP_Volume3 #44406
Launch file and associated program

How do I launch a file in its associated program? The Shell statement unfortunately only supports launching an EXE file directly. If you want to be able to launch, i.e. Microsoft Word by calling a .DOC file only, you can make your VB application launch the associated program with the document using the following method:

ASP_Volume3 #44410
Converting long file names

VB4's commands for dealing with file names (such as KILL, MKDIR, and FILECOPY) support long file names without programmer interaction. A number of the Win95 API functions will return only the short name, and you'll notice a number of short file name entries if you're digging through the registration database. Therefore, occasionally you'll need to convert a short file name into a long file name. This function lets you pass a long file name with no ill effects. The file must exist for the conversion to succeed. Because this routine uses Dir$ and "walks" the path name to do its work, it will not impress you with its speed:

ASP_Volume3 #44419
16 and 32 bit functions to create

16 AND 32 bit functions to read/write ini files--very useful!

ASP_Volume3 #44440
.INI read/write routines

.INI read/write routines mfncGetFromIni-- Reads from an *.INI file strFileName (full path & file name) mfncWriteIni--Writes to an *.INI file called strFileName (full path & file name) sitush@aol.com

ASP_Volume3 #44445
cIniFile

Complete access to INI files through a simple class module, which works with VB4 16,32 and VB5. This class module allows you to read/write INI values, delete values, delete sections and query whole sections through a simple inteface.

ASP_Volume3 #44458
Win95DirectoryPrompt

Prompting the User for a Directory in Win95. Windows' common dialogs are great if you want the user to select a file, but what if you want them to select a directory? Call the following function, which relies on Win32's new SHBrowseForFolder function:

ASP_Volume3 #44471
How to open a file with one line of code!

You create a funtion that can open a file with just one line of code.

ASP_Volume3 #44472
File/Directory/Drive Exists (Updated)

This code returns a true/false if a specified drive/directory/pathname exists. This is a small, fast routine.

Languages
Top Categories
Global Discovery