blah blah blah is here! blah blah » Close

0
votes
1 answers

How to hide the ID column in the data grid, But I can able to get it if user click and sort

Hello! I have write a following code to display the fields of my choice in dataGrid. What, I want to do is to hide the ID column of COUNTRY table in the dataGrid. So it should not appear to user. But, what else I want to do is to get the ID ...

0
votes
1 answers

Auto Refresh WinForms

Hey friends, How're u all doing? I wanted to know ur ideas about how can I refresh all open winforms of my application. Let's say (Example): MainPage of my application is having "Login", All SubForms are having [b]LoginChe ...

1
votes
1 answers

DataGridView checkbox column header cell (.Net 4.0).

Hi, I'm trying to render a checkbox in a datagridview column header so that when the checkbox is checked/unchecked all the cells in that column should be checked/unchecked accordingly. The datagridview is bound to a database table but the ...

0
votes
0 answers

DisplayFormat/DisplayStyle property of TextBox (Visual Studio 2010, .Net Framework 4).

Is there any predefined property by which I can set the DisplayFormat/DisplayStyle of a textbox? Suppose I want a textbox to hold the actual value 888888888888.88 and show it formatted as 888,888,888,888.88. In short it should hold 'Double' ...

0
votes
0 answers

How to: Consuming webservice in console application (C#)

Hi, I'm novice by complete to webservices et al. I've created successfully a webservice and referenced it in a console application. By simplification let assume that the webservice contains a webmethod, the 'classic' CelsiusToFarenheit ...

0
votes
2 answers

Mouse Location...

GlennP
329

Hi All, I'm trying to track the mouse pointer on the screen. The below code works for detecting clicks and mouse location on the form. However only when the mouse is clicked and you are over the form. [code] private void For ...

0
votes
1 answers

Problem in resizing controls (.Net 2008).

Hi, we all know how to dock or anchor controls so that they resize themselves accordingly when a form is resized. It works fine till we have rows of controls on left and right size of the form. But what if have three columns (Columns as in ...

0
votes
4 answers

Advice on winforms

basically, i made an application on the console that sends and receives information. it works like a chat (it does work, like i chat, i checked). now what i did here. i transfered some of the code to a winform, and i struggle to understa ...

0
votes
1 answers

Problem in button (.Net 2008, Framework 3.5).

When a button is focused by pressing Tab key, a rectangle appears on it. Even if the button's TabStop property is set to false, when the button is clicked with mouse the rectangle appears. Is it possible to stop the rectangle from app ...

0
votes
0 answers

Problem in ToolStripButton (.Net 2008, Framework 3.5).

Hi, I have an editable datagridview that's been databound with dataadapter and datatable, and a normal button on a form. When i edit the dgv's cells and click the save button it fires the datagridview_cellvalidating event and if the cell ...

1
votes
1 answers

importing a cell value from excel to winform(textbox)

Hey friends, I know it had been really long time since I'd posted any query here. don't have time to explain the reaon now... but I need help regarding: I need to import & export a cell value into my textbox field in my windows fo ...

0
votes
0 answers

Displaying a recursive binary tree

Hi Guys, I’m hoping someone out there can point me in the right direction with a task I need to do. I’ve spent the last few hours googling for solutions, I’ve learned a lot, but I’m missing a big piece of the picture still. I wouldn’t sa ...

1
votes
2 answers

1000 separator as in Excel.

Have anybody implemented a 1000 separator as in Excel???? I wish that I can display the label text (int) with the 1000 separator applied to it. I mean instead of showing 2150052, the user should get 2,150,052. How can I do this????

1
votes
3 answers

FileSystemWatcher sentenced to Death.

I was trying to create a utility which should monitor a user specified drive.... but while troubleshooting I'm discovering that as I try to fetch (a particular) network drive..... my application is suffocated to death. The wait cursor (not ...

1
votes
1 answers

File overwrite dialogue

I want to do something like this:[code]. . if(ShowDialog(MessageBox.Show("File already Exists, do you want to overwirte the existing file?","File Overwrite???", MessageBoxButtons.YesNo))=="Yes") . . [/code ...

Feedback