Advertisement

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

3_2004-2005 #149157
TextBox - Only Accept Numbers

This short little code example shows you how to only accept numbers to be inputed into a textbox by using the KeyPress event procedure. This is beginner, but I've seen alot of people that don't know how to do this.

3_2004-2005 #149159
Controls in a Listview!

This code shows how to add controls to ListviewItems, and make them size into a ListviewColumn. Very usefull

3_2004-2005 #149241
How to dynamically create multiple controls?

Automatically add controls to the form at runtime, (by code, programmatically) and react to their events

3_2004-2005 #149245
Information Bar Control

This is my first try at creating windows controls. It is an Information bar (Similar to the one used on IE in the new Windows XP SP2). This is a new way, that Microsoft seems to be trying, of showing messages to the user that is not as intrusive as the me message box. Code improvements are welcome. Please leave any options, comments, suggestions rant, etc. ------------------------------------------------ Update: I added support for animation and automatic close out thru the use of properties and custom Showing and Hiding methods.

3_2004-2005 #149246
How to create context menus without using contextmenu control

This example will create simple context menus without using contextmenu control.

3_2004-2005 #149247
A Folder Browser (Browse for folders, computers, printers, files, etc)

Use this class to display the browse for folder dialog box. Browse for a specific kind of object (Folders, Printers, Computers, etc). Implementation of the FolderNameEditor class, FolderBrowser class, FolderBrowserStyles enum and FolderBrowserFolder enum.

3_2004-2005 #149254
Subclassing Samples

Subclassing the .NET Treeview, Listbox and Combobox controls - Here are two completly functional sample Visual Basic .NET projects which demonstrate the rather simple but extremely powerful technique of subclassing the TreeView, ComboBox, or ListBox, such that you can store additional custom information behind (or inside) each individual Tree Node, Listbox Item or Combobox Item as you desire. There is no logical limit to the amount of additional information which can be stored alongside each individual node or item.

3_2004-2005 #149275
Shape Control (Similar to VB 6 Shape Control) Solid & Gradient Fills!

UserControl/Custom Control Similar to VB 6's Shape Control...4 different shapes to add to your projects. Add solid or gradient fill.

3_2004-2005 #149283
Boot Tab Control

Boot Tab Control is a good looking Windows Control. It has many functions. First you can change colors of the control or control drawing mode. Both Linear Gradient and Solid modes are supported. You can also change the Colors which used by the control for drawing. Also you can set UserDraw to true for drawing tabs by your self. Boot Tab Control supports three selected tab changing. These are Fade, Slide and Normal. These affects will be applied while selected tab is changing. You can also change the TabsLaout. Bottom and Top Layouts are supported. The others (Left, Right) are not supported. Free to use. Have fun ...

3_2004-2005 #149290
Icon control for .NET

A .NET icon control that behaves similarly to a Windows Desktop icon. The icon can be dragged around its container at runtime.

3_2004-2005 #149296
C# Indexed Controls

Lots of people still not using the very powerful feature on Indexed controls (or control array) of .net frame work. Which was very frequently used by vb6 people |-) In .net even it’s possible to put different type of controls together. To understand it more closely please have a look to my C-Sharp sample. I hope it would be quite easy to understand and simple to implement.. Using this you will really fill the more power in your code. Looking forward for your experts inputs for the improvements Thanks! My last Article on Control Array with VB.Net is also available here http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=1303&lngWId=10

3_2004-2005 #149374
Browse For Folder

A class to display the new style Browse For Folder Dialog with events. The Class includes an option to use the new style dialog (resizable, make new folder, etc), an option to display an edit box in the dialog, an Event that fires when a file/directory is selected (before it's ok'd), the ability to enable/disable the OK button (based on selection), the ability to change the dialog message after the dialog is displayed, ie: on selection of a new file/directory. (Thanks to Chris Merrill for uploading the code upon which this class is based.)

3_2004-2005 #149378
Cool Owner Drawn Menus

This contains a module call coolmenus with this it alows you to draw menus in stead of using the boring windows one with one line of code to measure and one line of code to draw and is very easily customizable

3_2004-2005 #149379
Moving Borderless Forms Without Windows API

This an easy way to move a windows form without a border. It does now use the windows API very easy to understand code is very short. Simply click down on the form and move the mouse. the form will move with the mouse alot easier to use instead of the windows API

3_2004-2005 #149381
DataGrid

A simple example of a Datagrid that dynamicly places a "Month control on column 0" and "Combobox on cloumn 2" when you click on the cell. Use this same code to add any control to the grid. Hope this can be helpful.

3_2004-2005 #149383
Detect mouse click on winform titlebar

Left mouse click on a winform titlebar to set the forms opacity to 50% while dragging the form, release the mouse to set the form opacity back to 100%.

3_2004-2005 #149393
Directory Browser in VB.NET

This assembly uses the TreeView control to present a powerful alternative to the old VB6 dirList and driveList controls. Code was taken from the MS web site; it took me ages to find this and thought you might find it as useful as I did.

3_2004-2005 #149399
DatoField

I've made a tiny dato field control. It has a textbox and a little button next to it. The little button pops up a calendar, so you can pick your date with the mouse. It works fine. But it's a little annoying that I have to show the popup form before I can move it. It gives a little flicker that way. It would be great if anyone could solve this.

3_2004-2005 #149401
Easy way to manipulate your forms

This will show you how to control any element of any form.

3_2004-2005 #149406
Context Menu Example

This code is just an example of how to use context menus in Windows Forms, using VB.NET. Hope this helps...

Languages
Top Categories
Global Discovery