Quantcast
Browsing all 12583 articles
Browse latest View live

Webbrowser Control and NTLM Authentication

I have a .Net 2.0 app where the user has already provided credentials and been authenticated against a domain, but the user's machine may not be a member of the the domain. The app is using the...

View Article


Listbox to multipal selected item how to insert database rows..?

please help me sir

View Article


Windows Graphics object DPIX And DPIY properties in c#

HiI am working on a desktop application in c# in Visual Studio 2010.  I needed to draw some shapes and so i was testing DPIX and DPIY properties of Graphics object in OnPaint method. Both DPIX and DPIY...

View Article

How to check disk space

Hi All,I am copying file and directories through recursive call...I need to check the disk space in these recursive call....So how can I check that ??? If disk space is less and file size is more then...

View Article

How do I use this value in another form. I can double-click the row in the...

 public void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)        {                    string PID=   dataGridView1.Rows[e.RowIndex].Cells[2].Value.ToString();...

View Article


C# controls

Hi,I'm relatively new to C# having mainly mucked around in VB.Net but am striking a very unusual problem which is confusing the living daylights out of me.I decided as both a learning exercise and...

View Article

How to drag a text file out of a form into explorer?

Hi there....Currently, I have a form app that does something and then displays the results in an RTF box.  I would like to add additional functionality where the results text is put into a text file...

View Article

Method to print form data to a w4 form

What is the best way to take a bunch of textbox and label text and print them to fit on boxes of a w4?The form isn't in the same layout as a W4 form.

View Article


Determining Width of a DataGridView with DockStyle.Fill

I have a DataGridView control residing in a splitcontainer.  The design width of the control is 545, but it expands with DockStyle.Fill.  When I try to determine the expanded width, I get the design...

View Article


This assembly is built by a runtime newer than the currently loaded runtime...

So I'm getting this error:Error37 'Could not load file or assembly...

View Article

remote BAT file execution

Respected Community Members,I have requirement to execute the create & Execute BAT file on remote Server from client PC using windows application.How can i perform, what different ways that and...

View Article

combobox bizarre behaviour

I am developing an application using VS and C# and have a combobox which is populated from a database table and the selected item is then used to update textboxes on a form from another table in the...

View Article

How formatting a data in a dataGridView

I have a `DataGridView` in a `C#/WinForms` application.I would like to input a date into a cell.If the user input `01/01/2012`, it's ok, but if `01012012` is input, I have an Exception.I'm able to...

View Article


DataGridView In C# To Update Records

Quick note: I have no idea what they've done with these forums, but for some reason, I can't find the way to put this directly into the C# forums only.One note: The initial button (1) should return a...

View Article

MDI child is not getting when anothe child is closed

I have a main form(F1) from this form i open many other forms(mdi forms). First i open a MDI Child form (MDI1). this form has a spread control ans a cell is highlighted. I open another mdi child(MDI2)...

View Article


Suppress Alt+Left Arrow Key Behavior for TreeView

When a TreeView has focus and a node is selected, the Alt+Left behavior will cause an expanded node to collapse, and if the node is already collapsed, Alt+Left will cause the parent of the current node...

View Article

Set Credential in Webbrowser control (.Net 4.0) does not work

Dear  Team,WebBrowser control (.Net 4.0) search or browse a data as a anonymous user. Even though you try to set up auth header or pass credntial in web request and then convert it to documentstream...

View Article


SEHException Occurred

All of a sudden SEHException occured while trying access the assembly thorugh network. Application has been deployed in server (Windows server 2003) and running in.NET Framework 1.1 and windows C#...

View Article

How to avoid change in control location and size after changing the DPI?

Hi Everyone,I have a custom control which has some child controls which are inheriting from control class only.at 96 Dpi everything works fine. but when i change to 120 Dpi the location and size of the...

View Article

windows console send parameters to windows form application

how do i send parameters from windows console to windows form application and then when i click the executable of the win form if there was parameters it load the main form with the parametersif there...

View Article
Browsing all 12583 articles
Browse latest View live