winforms

Is there a .NET control similar to Firefox's Address/Location/Awesome bar?

Is there a .NET component out there that is similar to Firefox's location bar? I need all the features of the Firefox address bar, but I want to control the "history" from which the suggestions are made. This is for Winforms or WPF. ...

An unhandled exception of type 'System.StackOverflowException' occurred in mscorlib.dll

I have the below sub which checks all of a node's child nodes in a Windows form treeview when the node is checked. I get the error stated in the subject whenever I click it, but this only happens when settings the checked property. If I just run the commented out MsgBox line, it works fine with no errors. Private Sub TreeView1_AfterChec...

Re-order Items in a ListBox - Windows Forms - (Java programmer learning C#)

There is the first time I'm going to do a particular control in C#. The control is a ListBox of items that will have an up arrow and a down arrow on the side. When you select an item in the ListBox, you can use the up and down arrow arrows to reposition that item in the ListBox. My two questions are: (1) Is there a prebuilt control for...

WebBrowser control Resize C#

I have a webrowser in my form that accesses a website that is too wide for the control. I would like to know if there is a way to resize the control to fit the website. It seems simple, but i have not found a way yet. I know how to resize the control, I just need to find the width of the website. Just like when you press the green button...

Winform keyboard management

I would like to control the focus of my winform application. It is made of a custom listbox and several other component. I want all the keyboard event be managed by my window handlers in order to avoid specific control key handling (for example when I press a character and the list box is focused, the item starting with the correspondant...

WinForms Databinding DataGridView with ComboBoxColum

I'm trying to use DataGridView with a business object. Here's a simplified scenario: - call the object "Recipe", and it has a BindingList of a few Ingredient objects in the Recipe - I also have a "database", which is a BindingList of all available Ingredient objects I would like to display a DataGridView of all the Ingredients in the ...

Windows Mobile form size

I’m creating a windows mobile app which uses a custom GUI. It has an image as background and some text and images rendered on it. I want to do as little image processing in the app itself, so I’m creating different skins for different screen resolutions. If I need to support another screen resolution I’ll just add another skin. But what...

Bringing up numeric keyboard automatically on editing textbox (.NET CF)

This stackoverflow question explains in detail how to bring up/hide the virtual keyboard on getting/losing focus on a control. However in my TextBox, I want the user to type numbers, so it were nice if I could switch the virtual keyboard to numeric input directly. Do you have any proposals how to do that? ...

windows.forms Database-driven application framework

Hey folks ! I'm looking for a free or open source windows.forms based framework which facilities database-driven and CRUD apps. I appreciate your input. Thanks ...

Has anyone used Open Office embedded in a .NET Desktop Application?

Is there a way to embed OpenOffice inside a .NET Application? Something like the use of the DsoFramer in case of MS Office. ...

Playing video (OGG Theora) in a C# WinForms application?

I'm looking for a GPL-compatible solution for playing a video file in a Windows Forms control, specifically with the OGG Theora codec? I was looking into using the VLC player library. A Google search found this library on CodeProject, but it was apparently deleted. Is there a mirror or a similar library available? ...

C# Forms - dialog form only partially disappears before next action taken

I tried to search for this, but I was not sure how to describe it. If it is a duplicate, please point me to the other question. Thanks. I created a C# Windows Forms app using VS 2008. From the main form it opens a custom dialog form. When the user closes the dialog form, it does not completely disappear before the application starts int...

Default script in Font dialogs

Hi guys! I'm working on a WinForms application that shows standard Font dialogs to let the user select a font. Since I'm in Russia the default script is "Cyrillic". The problem is that when the application is deployed on the customer's PC in Denmark the default script is not changed - it is still "Cyrillic". The customer would prefer "W...

Windows Forms: detect the change of the focused control

I'm implementing copy-paste in a Windows Forms application. I need to enable/disable the bar-buttons for this two operations when the user changes the focused element in the application. I can find the current focused control using something like this: http://www.syncfusion.com/FAQ/windowsforms/faq_c41c.aspx#q1021q, but how can I detect...

Real-Time monitoring of Network State. What events are raised?

I have a winform app that needs to be aware of when a SQL server is available so as to allow the Merge Syncing functionality. I have tried variations of the below, which work on a one time basis, but I would like to come up with something a little more dynamic. The below funcion(Thank you Alex_L) is checking for the 1433 port that SQ...

Control to view a file with a large amount of text

Is there a TextBox-like WinForms control that can show a large amount of text (hundreds of megabytes) in read-only mode? Of course it should work without loading the whole file into memory at once. I'm trying to implement this myself, using a standard TextBox, processing scroll and keyboard events and reading the amount of text necessar...

Creating SCADA diagrams in .NET

I need to create a industrial monitoring application that shows the operator a SCADA diagram, similar to this What toolkits are available to do this and what experience have people have with them? I already know of the ilog tookit but have no experience of it. Edit: I don't need software to control the hardware itself, I just need ...

WinForms Combox - Adding item to a databound list and then setting that to be the selecteditem

I have this: cmbConnections.DisplayMember = "Name"; cmbConnections.ValueMember = "Index"; cmbConnections.DataSource = DBConnectionSettings.ConnectionList; All Ok! Now add new item to list: DBConnectionSettings.Connection c = new DBConnectionSettings.Connection(); c.Name = reply; c.Index = DBConnectionSettings.ConnectionList.Count + ...

How to achieve 'wordwrap' of groupboxes in winforms?

I had a big explanation of what I wanted, until I realized that what I'm trying to reproduce is precisely word wrap, but with 200x150 groupboxes. The only way I can figure to implement it would be to hardcode the positioning of the groupboxes on the resized event of the usercontrol (which I am getting going on right now). I'm wondering ...

First week date to be added in VBA

Hi , I need to add automatically current weeks first date into a table and a text box of a vba form. could anyone help if any functions are available ?? ...