-
- How to prepare a notepad and wordpad?
by Santhosh Pathipati
- 3 Replies
- Last post
by Karthikeya Pavan Kumar .B
- Sir:
How to prepare a notepad and wordpad
-
- Combo box problem
by Hassaan Nasie
- 9 Replies
- Last post
by BonnieB
- hi
im having a little problem with combobox control
the problem is that when i show another form on the dropdown event of combobox then the combobox dosent remains drop down...
but when i show a dialog (.showdialog) the combobox remains drop down even after the dialog box is closed......
is there any way i can close the drop down of combobox without clicking it.....on some event of my
-
- Executer une requete SQL qui retourne un seul enregistrement
by misscricri
- 2 Replies
- Last post
by misscricri
- Bonjour,
j'utilise la version 2003 de .net. Je travaille avec une base de donnees Sql qui est charge dans un datagrid.
Je voudrais pouvoir lorsque je fais la selection de certaines lignes, pouvoir les afficher dans mon datagrid.
J'ai aussi ce code qui me genere une erreure lorsque je veux pouvoir executer une requete sql me permettant de retourner une seul enregistrement :
public st
-
- How Can I handle Mouse events over a Form with Trancperancy Key ?
by informat
- 10 Replies
- Last post
by informat
- Hi : I had a Form and I put the property Transparency Key to "Control" so some of the form will be hidden .... but I still want to handle User Mouse Clicks on the hidden part of the form ... How Can I thanks ...
-
- Setup with license key
by Eli Gazit
- 1 Replies
- Last post
by Yu Guo ¨C MSFT
- Does anyone knows a way to create a setup with activation key
Any tool or method will be helpful.
-
- ToolTip For DataGridViewCell
by Minal333045
- 3 Replies
- Last post
by reet
- I need to display tool tip for each cells in a datagridview. I have set the tooltip text for the required columns and set ShowToolTip property to true. It works fine when the mouse rests over the column header. However no tooltip is shown for individual cells, when the mouse rests upon other portions of the cell apart from the column header.
Can anyone help
-
- Accessing cookies from response object
by HariAdu
- 7 Replies
- Last post
by nobugz
- Hi,
I¡¯m working on a winapp that sends a httprequest to a remote server. The server actually sends back a cookie for login request. I have searched a lot. I didn¡¯t find the right solution for accessing the cookies from the response object.
I tried to check the cookie count on response object which shows always as 0. Some one please tell me how to access cookies from a httpresponse.
-
- StroglyTyped dataset with changed schema
by vipasane
- 4 Replies
- Last post
by vipasane
- I was fooling around with Oracle and SQL 2005 Express
So that I made a converter/ replicator with strongly typed dataset (used mainly drag & drop). It fetches all new/ changed data from oracle and updates this info to SQL.
All worked fine untill I tried to move this same solution to my friends environment, he had a typo on his Schema name. I couldn't fix it just by altering the connectio
-
- Trim Item From DropDownList
by kjak
- 2 Replies
- Last post
by kjak
- ==================================================================== IDE: VS2005 PRO Technologies: VB.NET, MS ACCESS ==================================================================== I have a dropdownlist that is populated with an EmployerIDNumber, EmployerName, EmployerAddress, and EmployerCity. The format looks like this: EID & " :: " & empname & " - " & ad
-
- obtaining image from camera
by diditel
- 1 Replies
- Last post
by Yu Guo ¨C MSFT
- hi all,
i would like to know how to command an array to obtain static images for 5 picturebox. This has to be done one after another, automatically.
thks.
pls include codes.
-
- how to set Listview Item Heigh in C#
by swathi_challa
- 3 Replies
- Last post
by Gavin Jin - MSFT
- how to set Item Height in listview without setting font size
--thanks
-
- what was undone
by zmrcic
- 0 Replies
- Last post
by zmrcic
- How can I get text in richtextbox thet will be undone when I press CTRL+Z....
If I have 'msdn' typed in rtxt, after UNDO I'll get 'msd'...How can I find out what object(word, image, letter) was removed doing UNDO action....'n' in this case...thanks
-
- error adding new data source
by Dutchnomad
- 2 Replies
- Last post
by Dutchnomad
- Hi there,
I am working on an application in Visual Studio 2005 (no new stuff like Orca's). When adding a new data source via Data|add New Data Source I get the following error:
"An error occurred while creating the new data source: An error occurred while generating the data source"
Can anybody shed some light on this cryptic message
What I did to solve th
-
- Child form cannot be shown from separate child form
by Jonswaino
- 6 Replies
- Last post
by Damiaan
- I have 2 windows forms. The main form (frmMain) and another child form (frmChildForm). When I click a button I want the other form to show. Now strangely I've written the following code inside my main form: frmMainForm frmMain = new frmMainForm(); frmMain.Show(); But obviously this is the code for the form which is already showing. If I type frmChildForm, the intellisense won't pick it up, it d
-
- Multiple DataGridViews Same DataSource Different Filters
by Chris Langsenkamp
- 5 Replies
- Last post
by Chris Langsenkamp
- Here's a puzzle for you. We have a populated DataTable and three DataGridView controls. Each DataGridView is supposed to show a different subset of the records, so we created three BindingSource controls and tried to set the DataSource for all of them to our DataTable, each with a different Filter. That didn't work, as it seemed the filters replaced each other and only the third DataGridView showe
-
- Bindingsource movenext
by shevo
- 1 Replies
- Last post
by Ken Tucker
- What does Bindingsource movenext action perform when it display the next record in the database I wish to put a subroutine after clicking the button with Bindingsource.movenext( ). But I want the subroutine operation to run only after the 2nd record is displayed. However, it seems that when ever I click the button with the Bindingsource.movenext( ), my subroutine will run 1st before displayed the
-
- looking for "drawer" like control
by AlexZakharov
- 4 Replies
- Last post
by AlexZakharov
- I¡¯m looking for an extendible ¡°drawer¡± like control which is ubiquitous on Macs, but is rarely seen on
Windows.
In other words - by clicking on a designated button somewhere on a left edge of a form I want a "drawer" (panel) to come out to the LEFT of that form and stay there until the user decides to explicitly close it.
Ideally I want to see the "drawer&
-
- Custom Control can't be used
by SpurryMoses
- 14 Replies
- Last post
by Rado R
- Hi,
I've developed a simple control by inheriting from ComboBox.
eg public class CatKeyword : ComboBox {}
There's hardly any extra code to it. I've done it such that the new Custom Control appears on the 'My App Components' list on the toolbox - just like a real comboBox!
It worked when I first created it. But I went to use it again today and when I place it on the form it says "Failed
-
- Sorting CategoryAttributes for PropertyGrids
by Matt Sipes
- 14 Replies
- Last post
by Alan4s
- This is my first post, and I just want to say that I am so excited that I found this dev forum. It will come in very handy for development. Thanks everyone for being a part of it. I wanted to talk about Sorting Categories in property grids. I have failed to find anything that tells me how to do it. I have made a properties sorting class, but not category. I have come
-
- DataGridView with fill column hangs in AdjustFillingColumns on .net 3.5
by omtslug
- 4 Replies
- Last post
by TLeffelman
- Our app has recently started to hang when adjusting the width of a dgv form. The only cause I see is our upgrade to vs 2008 b2 / .net 3.5 beta on our dev machines.
It is really easy to reproduce. Create a simple winforms application. I did it with vs2005, put a dgv into the form and set dock to fill, add a number of columns.
Then add this row after InitializeComponent to set the last column
-
- How to check if a form has been open? Windows
by meNu
- 4 Replies
- Last post
by Bashmohandes
- I want to check if a form is opened before trying to open it again!
-
- Textbox usercontrol base.Text="" doens't work (caching issue?)
by Pieter Vanhees
- 1 Replies
- Last post
by nobugz
- Hi,
I created a very simple user control that inherits from Textbox. The only function the textbox has is that a default text is shown in another color when there is no text inputted by the user (like the search textbox in IE7).
The strange thing is, if I want to clear the textbox in the EnterTxt function, the base.Text = "" line doesn't change the text in the textbox to "
-
- Return a value from windows Form
by Sathyashankar
- 7 Replies
- Last post
by Adriaan W
- Can anyone help me to return values from form at any time or when disposing.
-
- Problem removing column
by Redsome
- 5 Replies
- Last post
by cverdon
- I would like to remove an autogenerated column, so I wrote some code similar to the following dataGridView1.AutoGenerateColumns = true ; dataGridView1.DataSource = customersDataSet; dataGridView1.Columns.Remove("Fax"); Unfortunately, an exception thrown because the Columns collection is empty. If I don't remove the column, the whole table is displayed as usual. It seems that the Columns
-
- Trying to close a form following a loading error
by KFrostILEM
- 3 Replies
- Last post
by nobugz
- Hi,
Using VS2005, writing in VB.
I'm trying to have a form dispose of itself because of a load error where it fails to find its settings files.
Problem is, if I call Me .Close() , there's an unhandled ObjectDisposedException referring to the form itself.
I'm guessing that this is because of something along the lines of "I'm calling the load code during the constructor, but the er