Quantcast
Channel: Windows Forms General forum
Browsing all 12583 articles
Browse latest View live

Combobox does not revert to NULL when text is deleted.

Not sure whether it is a flaw in .NET or not, but: If a user empties a combo box (i.e. wants to blank out the value) the selected value does not revert to null, Instead it keeps the last valid selected...

View Article


simple .vbs app executes normally on my win7pro workstation -- same .vbs app...

I created a very simple .vbs app --- WScript.Echo "Hello World"   on my windows 7 profession workstation.  I double click the app (from Windows Explorer) and a messagebox appears on the screen that...

View Article


how to set a form as a child form to an MdiParent?

I have an MdiParent form and several child forms that open inside the MdiParent.But within one of the child forms(lets call it Form1) I have a button that when clicked it opens another form(lets call...

View Article

AddHandler not working in child form

I have an MdiForm application. I have 2 child forms inside the MdiMain form.I have a button on ChildForm1 that when clicked opens ChildForm2. On the button click event I have:Dim vLU As New ChildForm2...

View Article

Resizing controls in the

I have a question on designing Win forms application on VS 2010. My mini application consists of a single form where the controls are placed in multiple panel and group box controls. Initially the...

View Article


c# update a form

HiI'm new to C#, so go easy on me. I just set up a new Windows form. I set up my database connection in Visual Studio 12, in Data sources i dragged a table onto my form (details mode).So now i have a...

View Article

Target for Delegate for TreeNode ContextMenuStrip Won't Fire

I have a contextmenustrip added to the nodes of a treeview.  The menu appears when I right-click a node, but the target method of my contextmenustrip does not fire when I click on the label in the...

View Article

Manage Winforms menus in Visual Studio 2010

I'd like to get ideas on managing the main menu items in a Winforms application (VB.Net in this case). By management, I mean the items' enabled/disabled state depending upon a user's permissions, which...

View Article


Object Reference not set to an instance of an object DataGridView

Hello Experts,In VS2010 I have C# project with DataGridView bind to datasource showing 4 columns but some times i get this weird error "Object Reference not set to an instance of object" and this is...

View Article


Formatting a textbox for currency

I'm stumped.  This should be the easiest thing to do in the world, and yet there is no obvious choice here.  I want a simple textbox that automatically formats itself for money with a $ and 2 numbers...

View Article

couldnt make any download....

Hi there, i am using sony vaio laptop... recently i had format my laptop... after that due to some problem my internet is not working properly like if you open youtube videos not playing, if you search...

View Article

Something very Strange when i fill a table

hii have this query:            SQL = "select A,B,C from MyTbl";adp = new OracleDataAdapter(SQL, Conn); dsView = new DataSet(); adp.Fill(dsView, "MyTbl"); dataGridView15.DataSource =...

View Article

Crystal report loads slowly with huge data. Can we make crystal report...

Hi, I have visual studio .net 2002 professional edition installed on my computer with crystal report version 9.1. An application is generated using the above tools, the problem is crystal report loads...

View Article


how to use code written in C++ console form written in C in windows form...

I have written a program in C that works in c++ console . Now i drew the interface i want it look like. but I cant combine this code with code needed in windows form application C++. Do i have to know...

View Article

Maximize button on a Form

I have a Form that has following document outlineToolbar Statusbar HorzSplitter (HS)+++HS.Panel1 | |+++StackPanel (SP) | |++SP.Panel1 [Contains few text boxes and labels] | |++SP.Panel2 | |...

View Article


COMO HACER UN EDITOR DE CODIGOS EJEMPLO COMO EL NOTEPAD++ QE COLOREE LAS...

select * from tabla where

View Article

COMO HACER UN EDITOR DE CODIGOS EJEMPLO COMO EL NOTEPAD++ QE COLOREE LAS...

select * from tabla where

View Article


HOW TO SAMPLE code editor like Notepad + + QE COLOR KEY WORDS AND HELP ME SHOW

ejmselect * from tabla where cod = 1 andso in a textbox one step please ==>

View Article

Data won't show on form until user clicks on form

ok I don't get this at all. Please help.I have a MDI windows app. I have one child form let's call Form1. In Form1 I have this code:Public Sub New(ByVal Barcode As String, ByVal FirstDate As String)...

View Article

Bug with Panel and AutoScroll = true

Encountered the following problem with the Panel has AutoScroll = true, add items to it using panel.Controlls.Add () and offset Top these elements will eventually appear Scroll, and I need you delete...

View Article
Browsing all 12583 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>