Quantcast
Browsing all 12583 articles
Browse latest View live

error while using combo box

con.Open();            cmd.Connection = con;            DataSet ds = new DataSet();            SqlDataAdapter da = new SqlDataAdapter("Select Class_ID,Class_Name from tbl_Class where...

View Article


How do I abort an MDI closure if the user decides to not to close one of the...

I have an MDI application where multiple child windows may be open.  If the user elects to close the application (from an Exit menu or the "X") I need to show him each child window with unsaved data...

View Article


Windows 8 32 bits

Because I can't find where to buy a lab top with Windows 8 32 bits, I have to buy a new PC with windows 8 64 bits and install windows 8 32 bits on it.Is-it possible ?And how to get Windows 8 32 bits...

View Article

Modifying the color of a control in a windows form application without...

My question relates to Windows Form Application GUI internals.In my C# windows form application I modify a controls background or foreground color.The modification invokes a repaint event and a...

View Article

Auto Arrange Dynamic Buttons

As you can see from my previous posts I have been getting some help on the forums in reference to creating dynamic buttons and everything works great so far. I have one problem though.  I have been...

View Article


Windows Forms C# - How to Create ToolTips for ComboBox Items

Hey People,I am trying to add a tooltip for all the items in my combobox. I have a combobox that is being auto populated by a query running against my database. Some of the items are exceeding the size...

View Article

SubMenu item Event Handler in C#

Hi,i had a menu under which several sub menu items are there, i need to assign the click event for the submenu item.Thank you in Advance.- David

View Article

Formatting is slow in DataGridView than MSFlexgrid

Hi, We have updated our application from VB 6 to VB.Net. We are using VS 2008. Now we are trying to convert MSFlexgrid used in our application to DataGridView. Here is my datagridview codeTry Dim i As...

View Article


fileListBox (C#) Open Files

hi,I want to open *.txt file form my fileLisBox to an Textbox? (C#)Can somebody help me??thx

View Article


pretty often: System.AccessViolationException

I really do not know what to do about this. Often, when I run Forms programs with Visual Studio the application crashes with an exception like this "AccessViolationException". I never exerienced any...

View Article

How to calculate age in Year, Month, Day using DTPicker in C#

I am using Two Dtpicker control. One for register date and another is Birth date. So, I want to display Age in Year, Month, Day into another three different combo box. These three combo box also...

View Article

Auto Arrange Dynamic Buttons

I was informed my question is a WinForms question and not a Visual C# question so here I go.As you can see from my previous posts I have been getting some help on the forums in reference to creating...

View Article

CustomTypeDescriptor GetProperties event not firing DataGridView

Hi, I'm working on a windows forms project using .NET 4/Visual Studio 2010.I'm trying to implement a TypeDescriptionProvider/CustomTypeDescriptor/SubPropertyDescriptor solution to enable hierarchical...

View Article


Download rar or zip file from http site then extract and select own...

Hi all me again got asked to make this a new thread for my question so i have done. What im wanting to do is download a rar or zip file from a http, choose a save location at the time of download and...

View Article

Save combobox selection in program

I have two combobox in a form with various names, which are stored in: Option Strict On Option Explicit On Public Class Form1     Private Sub Form1_Load (ByVal sender As System.Object, ByVal e As...

View Article


Dataset Visualizer Windows Froms: the application you are debugging has...

I am working on a windows forms application on .Net 4.0 and when I click and try to view the dataset through the dataset visualizer I'm getting an error message saying "the application you are...

View Article

Pressing enter to a message box edits the datagridview - How to prevent this?

Dears,I have a usual master-detail data entry form where the detail is in DataGridView. I tend to show a messagebox once the user saves the data. If the user "clicks" on the messagebox, no issues, but...

View Article


MissingManifestException on Forms in subfolder when converting a WinForms...

Hello,I am having some run-time problems converting a windows forms project that was written in Visual Studio 2008 to Visual Studio 2012. The conversion happens without incident, our projects compile...

View Article

context menu on selected listiew items in vb.net

I am using a listview control and trying to achieve a context menu on the item being selected. But the menu is appearing in the blank area of the form....here is my code...Private Sub Form1_Load(ByVal...

View Article

ASP connection string problem??

hello to all respected experts,                                      I m new in asp ,i retrive parametres through flash files in this user fill the feedback and i get the feedback mail,now i want to...

View Article
Browsing all 12583 articles
Browse latest View live