Search - Articles
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Tuesday, March 03, 2009
Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 


Home >Search > Articles & Samples > Visual Basic.Net > User Controls


Search:
What's New - What's Hot
A Primer on Building a Color Picker User Control with GDI+ in Visual Basic .NET or C#     
Total Hits: 162  |  Today: 0Author: Ken Getz      Rating:  
Read Reviews | Write Review |  Your Rating: 

Although most developers and APIs use the RGB scheme when working with colors, it's not the only available way to represent or select colors. For instance, the standard Windows color-selection dialog box allows you to work with the HSL color scheme in an indirect way. In this article, the author describes several color selection schemes, and uses GDI+ (via the System.Drawing namespace) to create a component that makes it possible for your own applications to provide a simpler, friendlier color c...

A UserControl to log a user into an application     
Total Hits: 779  |  Today: 0Author: hpatel4u.      Rating:  
Read Reviews | Write Review |  Your Rating: 

Demonstrates a UserControl for logging a user into an application......

Display any usercontrol as a popup menu     
Total Hits: 354  |  Today: 0Author: CodeProject      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article introduces a little class which lets you show any usercontrol in XP style popup menu.
.NET framework does not provide custom menus. you can owner-draw menus....

ImageCombobox in VB.NET     
Total Hits: 397  |  Today: 0Author: CodeProject      Rating:  
Read Reviews | Write Review |  Your Rating: 

This is a simple combobox that displays icons to the user. It is similar to the imageComboBox in VB. There are many examples like this made in C#, so Author decided to make a VB one....

Specifying a Default Property for your .NET Framework Control     
Total Hits: 599  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

To specify a Default Property for a control you can do this...

Walkthrough: Creating a Web User Control  Version: 0.00     Price: $0.00  
Total Hits: 28  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

Web user controls are controls that you can define as you need them for your applications, using the same programming techniques that you use to write Web Forms pages. You can create Web user controls when you need to create reusable pieces of UI that will be used throughout your application. A user control can contain HTML, server controls, and event-handling logic. Like a compiled control, it can expose properties that the host Web Forms page can set....

User-Drawn Controls  Version: 0.00     Price: $0.00  
Total Hits: 40  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

The .NET Framework provides you with the ability to easily develop your own controls. You can create a user control, which is a set of standard controls bound together by code, or you can design your own control from the ground up. You can even use inheritance to create a control that inherits from an existing control and add to its inherent functionality. Whatever approach you use, the .NET Framework provides the functionality to draw a custom graphical interface for any control you create....

Walkthrough: Inheriting from a Windows Forms Control with Visual Basic .NET  Version: 0.00     Price: $0.00  
Total Hits: 30  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

Visual Basic .NET provides you with the ability to create powerful custom controls through inheritance. Through inheritance you are able to create controls that retain all of the inherent functionality of standard Windows Forms controls but also incorporate custom functionality. In this walkthrough, you will create a simple inherited control called ValueButton. This button will inherit functionality from the standard Windows Forms button, and will expose a custom property called ButtonValue....

Balloon tooltips UserControl in VB.NET  Version: 0.00     Price: $0.00  
Total Hits: 60  |  Today: 0Author: msali      Rating:  
Read Reviews | Write Review |  Your Rating: 

This is a simple application that I created while I was working on one of my other applications. It might not be exactly what you are looking for but it does what I wanted to achieve. On top of that this is my first submission to CP, a great source of information.

All this application does is allows you to create balloon tips like in the image above to highlight any area of your form/application....

Using ExecWB with the native .NET 2.0 WebBrowser control     
Total Hits: 109  |  Today: 0Author: Rocco Labellarte      Rating:  
Read Reviews | Write Review |  Your Rating: 

One of the most annoyingly interesting components within the VB.NET 2008 environment is the WebBrowser control (or class, if you prefer) that is bundled as standard. It exposes a number of common methods and properties, but lacks one of the most useful elements that can be found in the full-blown web browser (a.k.a. SHDocVw or Ieframe.dll) version, namely the ExecWB command. The following class provides a simple example of how to harness the power of ExecWB from the System.Windows.Forms.WebBrows...

Save your WinForms User Control Data to XML     
Total Hits: 55  |  Today: 0Author: JamminJimE      Rating:  
Read Reviews | Write Review |  Your Rating: 

Since this is my first attempt at an article, I would ask that you please be gentle with your comments. ;-)

This class gives the developer the ability to save all of the data on a windows form to an XML file stored on the user's local machine. This would be useful if the user was entering alot of duplicated data in a large form and wanted to save the information to prevent having to type it out each time....

VB.NET User Control: LinkTextbox     
Total Hits: 106  |  Today: 0Author: George B Gilbert      Rating:  
Read Reviews | Write Review |  Your Rating: 

The LinkTextbox user control is an aggregate control that combines a textbox, a button, and a label. This control can be configured at design time to handle either email or web addresses with the setting of one property. At run time, this user control lets the user enter an email or web address and then click a button to launch either the default email program or browser depending on how the control is configured....

Analog Clock Control     
Total Hits: 182  |  Today: 0Author: VBDT      Rating:  
Read Reviews | Write Review |  Your Rating: 

The Analog Clock Control is created with VB.Net Control Library. It is a clock control which has almost all the functionality that this type of control can have and it is fully customizable. Since this is a control library you can use it in C++, C#, J# and VB.Net projects in .Net environment. I created this control to help someone in VBForums. At the beginning it was very simple clock but then it became somewhere advanced after I added many properties, events and a functionality that makes the c...

Adding New Features with User Controls     
Total Hits: 37  |  Today: 0Author: Ken Spencer      Rating:  
Read Reviews | Write Review |  Your Rating: 

Q How can I draw a line on a Windows® Form that is selectable by the user and can respond to mouse events?

A In past versions of Visual Basic®, there were rudimentary graphics controls. In Visual Basic .NET you have the GDI+ library, which enables you to draw lines, circles, and most anything else. But how can you use the functionality of GDI+ to create lines and other graphics that respond to user mouse clicks and events?...

Remembering User Information in Visual Basic .NET     
Total Hits: 135  |  Today: 0Author: Duncan Mackenzie      Rating:  
Read Reviews | Write Review |  Your Rating: 

Many applications need to store user-specific settings to be persisted between sessions. But how do you go about saving and restoring these settings in your Microsoft® .NET Framework-based application? It's not all that easy to find the correct answer. You'll find a wide variety of solutions on newsgroups and forums, but only a few of the posted solutions illustrate the proper way to handle this requirement....

Understanding Publisher Subscriber model using user controls     
Total Hits: 125  |  Today: 0Author: kodandapani, Kodanda Pani.      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article explains/describes publisher and subscriber event-handling model with the help of a user control. When we add a user control to a form, we cannot directly handle the events raised by the user control in the form. This can be achieved by using publisher subscriber model, in which we use delegates to publish user control events. I have been introduced to computer languages through .NET. Since I have directly plunged into .NET technology and have not been a part of any other languages,...

Build Hyperlinks into Your Client App with the Windows Forms LinkLabel Control     
Total Hits: 101  |  Today: 0Author: Dan Hurwitz      Rating:  
Read Reviews | Write Review |  Your Rating: 

LinkLabels are Windows Forms controls that enable a user to hyperlink to a URL that points to either the Web or the local directory system. While the SDK documentation discusses the control, it does not demonstrate how linking is accomplished, nor does it outline the power and flexibility the control provides. This article fills those gaps, showing how to link using the LinkLabel control. It also shows the flexibility of this control for the programmer using the .NET Framework. In addition, the ...

Understanding User Controls - Part 2     
Total Hits: 45  |  Today: 0Author: Doug Seven      Rating:  
Read Reviews | Write Review |  Your Rating: 

In Part 1 I showed you some of the basic principles of exposing properties and methods in user controls. As we left off I mentioned that you could work with properties and methods exposed in user controls that are not precompiled, but you must use reflection. In this article I will show you how to use reflection to work with user controls that are Just-In-Time (JIT) compiled. The downloadable source code is in both Visual Basic .NET and C#....

A VS2005-like Interface     
Total Hits: 224  |  Today: 0Author: Danilo Corallo.      Rating:  
Read Reviews | Write Review |  Your Rating: 

It's now a while that programs like Opera, Firefox and other software introduced MDI tabbed interfaces. Unluckily, there are not too many free components that allow .NET developers to create such interfaces. I've been searching the internet for a long time before discovering the DockPanel Suite, a wonderful and fully customizable component from Weifen Luo. This component is available on Sourceforge, here....

ToolStripPanel UIAdapter     
Total Hits: 320  |  Today: 0Author: hinshelwm      Rating:  
Read Reviews | Write Review |  Your Rating: 

I was very supprised to find that CAB did not support a higher level the the ToolStrip in its basic implementation. I resolved to solve this and I have added an adapter and factory for the ToolStripPanel initialy, but I have been having trouble with the ToolStripContainer. So, as my first post, here is the ToolStripPanel code. There are two parts to this. And two ways to do it. The first is to edit the existing ToolStrip UI factory to include the new code. But I do not like to do this as I may u...


1  2  3  4  5  6  Next >> 


Disclaimer - Privacy
© 2002-2017 DevASP.net