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

Windows Form + ADO.Net Entity Framework

Can I (or Should I) use ADO.Net Entity Framework as data access mechanism in my windows form application.Thanks, Durgesh Chaudhary. http://home.techphernalia.com

View Article


c# winforms textbox that does not clear

Have a txtbox that has a keypress event in which if anyone tries to type a date into it a message appears, txt get focus, and the txtbox is to clear.  That is not occuring.  If the user presses zero...

View Article


how to show display memeber of datagridviewcombobox from textbox?

View Article

adding columns to datagridview on form load

I have a formB that opens from formA.  On formA there is a button to add new items and then a save button.  On formA it allows only one item to be added as a time.  On formB I have a datagridview and...

View Article

String.Format question

hii use this:  String.Format("{0:0,0}",MyNum)and i get zero before the number if it small than 102  =  02  --->  how to get 212 = 12  OK1234 = 1,234  OKthanks

View Article


how to print to crystal-report sorted datagridview

hi i have DataGridView that hold my data. how to print to crystal-report **exactly** what i see in the DataGridView ? i print to crystal-report like this:    Cry_1 PP = new Cry_1();...

View Article

How to extend satellite assemblies for Localization purposes?

            Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("ar-sa");            Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("ar-sa");...

View Article

Windows8 PC not connecting to PC in network

Hi,We have a PC with windows server 2003 in which all data stored and all PCs are connected to that one.We have a PC with windows8 OS which is connected to network.Windows8 PC connecting to all other...

View Article


SendInput to a specific window

Hi,    I have target window handle (ID), how I can generate mouse event such as (click) to specific location on that window, can use SendMessage ?, how?.If I use SendInput native API, i success, but if...

View Article


how to fill DataSet by running on DataGridView

hii have this Dataset   DataSet dsPrint;i run on DataGridView like this: foreach (DataGridViewRow R in dataGridView1.Rows) { DataRow dr = ((DataRowView)R.DataBoundItem).Row; P_From =...

View Article

HOW TO COMBINE/MIX A CONSOLE WIN32 (application) WITH WINDOWS FORMS...

HI:I would like to combine a WINDOWS FORM application (there will be buttons on the Windows Form, and an openFileDialog appears -a full path to an Excel file will be obtained from this...

View Article

What is the difference between "dddd, dd/MM/yyyy HH:mm:ss" and "dddd,...

Hi,I have one value= 05/02/2013 00:00:01When I am converting this value to date I am getting different output.CDate(txtstart.Text).ToString("dddd, dd/MM/yyyy HH:mm:ss")Output- Tuesday, 05/02/2013...

View Article

HTML element invokemember("click") is not working

Hi all,  I am trying to search using Google search engine with bulk data from excel sheet.Everything is working fine but after processing some data from excel, execution stops processing a particular...

View Article


Execute Command in Remote Server

Hi All,My Remote Server Name: MyServerName Operating System: Windows Server 2008 R2 with SP1 DomainName: MyDomainName UserName: MyUserName Password: MyPassWordIam using Remote Desktop Connection...

View Article

Mark Rideouts treeGridView - Exapand Glyph missing if DPI > 100%

I noticed there's an issue with the expand\collapse glynph not displaying when the DPI is set to anything other than 100% (Windows 7\8)Glyph's are drawn in TreeGridCell.cs: if (node.HasChildren ||...

View Article


How to get multiple selected values and items from listbox ?

View Article

ApplicationSettings PropertyBinding to SplitContainer's Panel1Collapsed...

Hello,Using Visual Studio 2010 in a VB.Net Winforms application, with 'Save My.Settings on Shutdown' = True:I've created a PropertyBinding in ApplicationSettings to a SplitContainer's Panel1Collapsed...

View Article


C# CheckedListBox - Progmatically select Item

Hi,    Is it possible in a CheckedListBox to select an item in the list progmatically (not check or uncheck just highlight)?ThanksPaul.Paul Wainwright

View Article

How to increase themaxconcurrentconnection from 12

Hi, At present in my organization I am using Windows Server 2008R2 + IIS7.0 + .netv4.0(Integrated mode) and also we have 4core processor. While we are checking its identified that the number of...

View Article

listview checkbox database

  while (rdr.Read())            {                ListViewItem item = new ListViewItem(rdr.GetString(0));                listView3.Items.Add(item);                if (rdr.GetString("Status") == "OK")...

View Article
Browsing all 12583 articles
Browse latest View live