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 > Windows Form


Search:
What's New - What's Hot
MultisplitContainer - A FlowlayoutPanel Providing Sizeable Contents  Version: 0.00     Price: $0.00  
Total Hits: 24  |  Today: 0Author: Mr.PoorEnglish      Rating:  
Read Reviews | Write Review |  Your Rating: 

Sometimes, more or less often, you need to display many controls, e.g. to edit DataRecords with many fields. And you want to give the user the opportunity to resize those editing-controls, depending on whether there is much content to display or little.
You can use SplitContainer to implement that, but SplitContainer only makes two controls sizeable. To get many editing-controls sizeable, you may use many SplitContainers, and nest them into each other. But that leads to a complex structure of...

Fullscreen the form in VB.NET using a class  Version: 0.00     Price: $0.00  
Total Hits: 55  |  Today: 0Author: chanderp, Yash Bharadwaj      Rating:  
Read Reviews | Write Review |  Your Rating: 

In some application we need to fullscreen the App .Here is simple class that can fullscreen any App. Just create a variable of this class type and call the function using the class variable....

Web Forms Page Processing  Version: 0.00     Price: $0.00  
Total Hits: 28  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

In general, the life cycle for a Web Forms page is similar to that of any Web process that runs on the server. Certain characteristics of Web processing — information passed via HTTP protocol, the stateless nature of Web pages, and so on — apply to Web Forms pages just as they do to most Web applications.

However, the ASP.NET page framework performs many Web application services for you. For example, the ASP.NET page framework captures information posted with the Web Forms page, extracts ...

How to: Inherit from Existing Windows Forms Controls  Version: 0.00     Price: $0.00  
Total Hits: 42  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

If you want to extend the functionality of an existing control, you can create a control derived from an existing control through inheritance. When inheriting from an existing control, you inherit all of the functionality and visual properties of that control. For example, if you were creating a control that inherited from Button, your new control would look and act exactly like a standard Button control. You could then extend or modify the functionality of your new control through the implement...

Walkthrough: Debugging Custom Windows Forms Controls at Design Time  Version: 0.00     Price: $0.00  
Total Hits: 20  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

When you create a custom control, you will often find it necessary to debug its design-time behavior. This is especially true if you are authoring a custom designer for your custom control. For details, see Walkthrough: Creating a Windows Forms Control That Takes Advantage of Visual Studio Design-Time Features.

You can debug your custom controls using Visual Studio, just as you would debug any other .NET Framework classes....

How to: Create a Windows Forms Control That Shows Progress  Version: 0.00     Price: $0.00  
Total Hits: 59  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

The following code example shows a custom control called FlashTrackBar that can be used to show the user the level or the progress of an application. It uses a gradient to visually represent progress.

The FlashTrackBar control illustrates the following concepts:
* Defining custom properties.
* Defining custom events. (FlashTrackBar defines the ValueChanged event.)
* Overriding the OnPaint method to provide logic to draw the control....

How to: Develop a Simple Windows Forms Control  Version: 0.00     Price: $0.00  
Total Hits: 33  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

This section walks you through the key steps for authoring a custom Windows Forms control. The simple control developed in this walkthrough allows the alignment of its Text property to be changed. It does not raise or handle events....

How to: Bind to a Web Service Using the Windows Forms BindingSource  Version: 0.00     Price: $0.00  
Total Hits: 39  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

If you want to bind a Windows Form control to the results obtained from calling an XML Web service, you can use a BindingSource component. This procedure is similar to binding a BindingSource component to a type. You must create a client-side proxy that contains the methods and types exposed by the Web service. You generate a client-side proxy from the Web service (.asmx) itself, or its Web Services Description Language (WSDL) file. Additionally, your client-side proxy must expose the fields of ...

How to: Work with Image Columns in the Windows Forms DataGridView Control  Version: 0.00     Price: $0.00  
Total Hits: 49  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

The following code example shows how to use the DataGridView image columns in an interactive user interface (UI). The example also demonstrates image sizing and layout possibilities with the DataGridViewImageColumn....

How to: Navigate Data in Windows Forms  Version: 0.00     Price: $0.00  
Total Hits: 36  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

In a Windows application, the easiest way to navigate through records in a data source is to bind a BindingSource component to the data source and then bind controls to the BindingSource. You can then use the built-in navigation method on the BindingSource such a MoveNext, MoveLast, MovePrevious and MoveFirst. Using these methods will adjust the Position and Current properties of the BindingSource appropriately. You can also find an item and set it as the current item by setting the Position pro...

How to: Ensure the Selected Row in a Child Table Remains at the Correct Position  Version: 0.00     Price: $0.00  
Total Hits: 28  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

Oftentimes when you work with data binding in Windows Forms, you will display data in what is called a parent/child or master/details view. This refers to a data-binding scenario where data from the same source is displayed in two controls. Changing the selection in one control causes the data displayed in the second control to change. For example, the first control might contain a list of customers and the second a list of orders related to the selected customer in the first control....

How to: Access the HTML Source in the Managed HTML Document Object Model  Version: 0.00     Price: $0.00  
Total Hits: 59  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

The DocumentStream and DocumentText properties on the WebBrowser control return the HTML of the current document as it existed when it was first displayed. However, if you modify the page using method and property calls such as AppendChild and InnerHtml, these changes will not appear when you call DocumentStream and DocumentText. To obtain the most up-to-date HTML source for the DOM, you must call the OuterHtml property on the HTML element....

Walkthrough: Calling XML Web Services from Windows Forms  Version: 0.00     Price: $0.00  
Total Hits: 38  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

XML Web services is a feature of Visual Studio that enables you to develop applications that exchange messages in a loosely coupled environment using standard protocols such as HTTP, XML, XSD, SOAP, and WSDL. The messages can be structured and typed or loosely defined. Because the Web services feature is based on standard protocols, your Web service applications can communicate with a wide variety of implementations, platforms, and devices. For more information, see Web Services in Managed Code....

VB.NET Form Library: Print Window     
Total Hits: 81  |  Today: 0Author: George B Gilbert      Rating:  
Read Reviews | Write Review |  Your Rating: 

This form library contains a print source class and a Windows form that are used to print the contents of a richtextbox, textbox, listbox, extended listbox or treeview control. Optionally, the text in the print window can be saved in either a richtext (.rtf) or text (.txt) file.

(Click here to read an article in which you will find information on how to build a form library.)...

Updating a Database from WinForms Controls, Old School     
Total Hits: 74  |  Today: 0Author: Paul Kimmel      Rating:  
Read Reviews | Write Review |  Your Rating: 

So much about programming technology changes and a lot of it stays the same. One reader wrote and asked me how to update a database from WinForms controls (not a grid), writing SQL inline. I haven't used this approach in a while, so I had no ready-made examples. I did whip one up and send it to him, though. Another reader wrote and told me that my Sieve of Eratosthenes prime number algorithm sucked (his word, not mine), but after he told me that he had been writing it and re-writing it for 40 ye...

Self Validating TextBox     
Total Hits: 183  |  Today: 0Author: Edward Steward      Rating:  
Read Reviews | Write Review |  Your Rating: 

When it comes to building a Client/Server application one of the most time consuming elements is the GUI. Quite often a developer will get stuck piecing together the visual elements/appearance with control population, data input validation and then interaction with the business objects. I struck this very problem while working on our in house systems 2 years ago. The major bottle neck was validating the input from the user, parsing this data into the business objects and reporting any/all errors...

Automatic Runtime Tab Order Management for Windows Forms     
Total Hits: 210  |  Today: 0Author: Scott McMaster.      Rating:  
Read Reviews | Write Review |  Your Rating: 

Good tab orders on your forms are important. They allow experienced users to more rapidly interact with your application, and they may even be necessary to enable your application for users that cannot manipulate the mouse. You may sometimes find it desirable to set the tab order at runtime. For example, you may allow your users to customize the visibility or position of form controls, and you'd like a professional tab order even when you don't know exactly how the final form will look. Or you m...

Multiple Forms in VB.NET. Part 3 - Using Events in Multiple Forms     
Total Hits: 163  |  Today: 0Author: Ged Mead      Rating:  
Read Reviews | Write Review |  Your Rating: 

As with the previous articles in this series, this one is also aimed at .NET Newbies and Upgraders. It tries to explain concepts as simply as possible, with the greatest use of plain English and minimum use of technical terms. The aim is to get the core ideas across as quickly as possible, so you can achieve the results you desire now; the technical details can follow in time. I know that many will not agree with this approach, but as a relative .NET Newbie myself, I know just how frustrating it...

Field Views on Windows Forms 1.0 and 1.1 Data Binding     
Total Hits: 626  |  Today: 0Author: Steve White      Rating:  
Read Reviews | Write Review |  Your Rating: 

Data binding is a robust, powerful, and extensible infrastructure that is very popular with developers. This article offers best practices, addresses difficulties that developers have with data binding, and provides practical workarounds for some common issues...

Getting Started with Windows Forms     
Total Hits: 216  |  Today: 0Author: Ken Getz, Paul Sheriff      Rating:  
Read Reviews | Write Review |  Your Rating: 

Although Microsoft Visual Studio .NET makes it much easier for developers to create Web-based applications than did previous versions of Visual Basic, there will still be many times when you will want to create Microsoft Windows-based applications that run, at least partially, on the client computer. Rather than relying on the Microsoft Visual Basic-specific forms you've used for several versions of Visual Basic, Visual Studio .NET provides a new Windows-based forms package. All of the .NET lang...


1  2  3  4  5  6  7  8  9  10  Next >> 


Disclaimer - Privacy
© 2002-2017 DevASP.net