Software Development Network Logo
  • IE Development
  • Game Technologies
  • Audio and Video
  • Windows Forms
  • Visual FoxPro
  • SQL Server
  • Visual Studio
  • VS Team System
  • Visual Basic
  • Smart Devicet
  • Visual C#
  • .NET Development
  • Visual C++
  • Windows Vista
  • SharePoint Products

Software Development Network >> Windows Forms

Windows Forms

New Question

DropDownList issue
Datagridview and checkbox
how do I restrict extension?
Hyperlink as a treenode?
DataGridView Column problem ...HELP
Deploying files with a click once application
how to add a Remote Component as my custom prerequisites
How can i get the result that is coming from messageBox buttons??
UserControl - Best Practices
Dynamic User Interface

Top Answerers

Jamie Gordon
Steve Gadoury
Zero_
GROTH
Dario Galvani
bslim
Jigar Lakhani
PDav
Rui Dias VD
Helen999888
sitemap
Only Title

Answer Questions

  • Rajesh Kulkarni Checkbox in a datagridview

    Hi, I need to catch the checked event of a checkbox in a row that is in a datagridview. The dgv is binded to a bindingsource which bind a dataset and when a checkbox is clicked, a method is executed that uses the checked status of those checkboxes including the one clicked of course. CellClick doesn't seem to change the status in the dataset until the event is done and CellContentClick does nothing at all. There is ValueChanged but the focus needs to be changed for it to work. Thanks ...Show All

  • chadhowell C++ Drag and Drop

    I know there have been lots of questions asked about this, but I can't see any that answer my particular one. I have pictureboxes that I want to be able to move round a panel freely - they contain bmps. I have implemented the dragdrop events of the panel like so: private: System::Void pnlDragDrop_DragDrop(System::Object^ sender, System::Windows::Forms::DragEventArgs^ e) { PictureBox^ picPole = safe_cast <PictureBox^> (sender); picPole->SetBounds(posx, posy, picPole->Width, picPole->Height); } private: System::Void pnlDragDrop_DragEnter(System::Object^ sender, System::Windows::Forms::DragEventArgs^ e) { e->Effect = DragDropEffects::Move; } private: System::Void pnlDragDrop_DragOver(System::Object^ sender, System: ...Show All

  • nazdrug06 Charts in .Net

    some one can help me by saying how to do the charting in .net. .Net framework supports for charting [inbuilt component exist ] or have to go with third party components. okay.thnx vodic for the quick respond. it implies that in .net we can do charting. pl can you list down the libraries Yes, you can do charting, but you have to create everything yourself. Everything you have is only few methods for drawing simple shapes like circles, rectangles or lines. Everything is in System.Drawing class library. Write it your self. It's not so hard. Create custom component and then override method OnPaint. In c++: void OnPaint( ...Show All

  • SudriptaRakshit C# open a new form, and close a form...

    Well... i want to do this: open a form and close the form that is open... Example: Form_P f = new Form_P(); f.Show(); this.Close(); But, my program close.. why Thanks for the reply but what i ment by is that i want to know how to close a form in C#. I know how to in vb.net... This is what i mean: frmMain starts a new frmExample Now, how do you make it that frmMain CLOSES frmExample when a button is pressed Thanks for any feedback! Hi jaomello: we have two ways for this problem: #1, Registering Form1.Closing event, cancel it and hide the main form #2, Start another thread for the second form: public static void ThreadProc() { Ap ...Show All

  • Andrew Mercer App. runs on Win XP, not on Win 2000

    I created an VS 2005 application that runs on a Win XP SP2 computer. But xcopied to Win 2000 SP4, it silently fails to run, with no error messages. Both computers have .net 2.0 re-distributable installed. Any help Solved by setting "copy local = true" for ADODB.dll reference. Thanks to everybody! That makes absolutely no sense, but OK, whatever.. Hi, Can you check your eventlog usually the problem is detailed there, maybe execution permissions. Let me know. Regards for future reference, you would be best to create a setup and deployment project to make sure that all files required are correctly package ...Show All

  • JawKnee Databinding methods such as Eval(), XPath(), and Bind() can only be used in the context of a databound control.

    Some body help me I have a problem in binding the two dropdowns in form view control in VWD2005 express edition, i was trying to do this with out writing single line of code. I have two drop downs in form view control, ddName1 gets the value from datasource1, and ddName2 gets the values from datasource2 depending upon the selection of ddName1 , if i try this directly with out binding to the  the datasource field that works , but i want to bind the dropdowns to the datasource fields. If i try this i get the error message as ////////////////////// Databinding methods such as Eval(), XPath(), and Bind() can only be used in the context of a databound control. Description: An unhandled exception occurred during the exec ...Show All

  • PaulVSTO Focus problem in MDI

    I have a form displayed in an MDI container, which has another form placed on it as a child control (with TopLevel = false). When I activate a different MDI child form and then return to the original form input focus does not return to the control which owned it when I left the form. Any ideas ...Show All

  • wadnerk new windows update offer cannot install

    In the windows update page we are offered the new update program, great, however after accepting install the active x that is required to download in order to install does not appear. I do not get an error message, just a page that does nothing. I have checked all I know how to do, is there a problem with this new offer unfortunately this is the wrong place to post your question, these are development forums and not technical support. the best place to ask would be over at the appropriate newsgroups: www.microsoft.com/communities Thanks! ...Show All

  • Evgeny Popov Datagridview / Backgroundworker and Web Service

    Hi There I have a datagridview1 filled with data. A user multi-selects certain records after which I take the selected records and add them to datagridview2. This is the final review process for the user. From here I need to insert these records into a new table. Everything is done using an XML webservice I'm writing. I know how to get data from the webservice into the datagridview1. I also know how to add the selected rows to datagridview2. I also know how to insert a new record from the datagrid1 using a webservice into the database using an INSERT stored procedure in SQL server 2000. But here's the catch, I use a backgroundworker to do the inserting/calling the webservice to insert the record. When I loop through datagridview2 row by ro ...Show All

  • Subhas Insert Record

    I have a stored procedure to add a new record to my database. When the insert button is clicked the stored procedure gets the next available URN and inserts a new record with that URN. This works fine. However after its inserts a new record into the SQL database i would like that record to appear on the screen. The data is filled by a dataset. Beth the data in the dataset is disconnected from the database. You will have to refill the dataset to see the changes made to the database. ...Show All

  • PatriotB Can't get DrawItem event any more, in some special case

    This interesting thing was found by use of DebugView to monitor the all events. Suppose that there are 2 controls, one is propertyGrid, one is myListBox, which is a subclass of ListBox. myListBox uses OwnerDrawFixed mode, so it has to draw all items manually. However, in some mysterious case, I found that when I repeatedly opened and closed the propertyGrid, myListBox may never raise any DrawItem event. I output all events to DebugView, then found that WM_PAINT was there, but didn't WM_DRAWITEM. Also it can't restore from this bad status no matter what I did (move, refresh, resize, maximize, minimize...), until I recreate another myListBox. I think WM_DRAWITEM is nowhere to be manually emitted, since it's managed by control. ...Show All

  • Ancalagon menuStrip1.Renderer.DrawSeparator problem(error)

    Hey, I am using menuStrip1.Renderer.DrawSeparator to use my own image for the seperator for the menu strip in my program. I tryed doing this: menuStrip1.Renderer.DrawSeparator = SurfScape1.Properties. Resources .seperator; But i got an error saying: Cannot assign to 'DrawSeparator' because it is a 'method group' How do I fix this Thanks :) Since your image is really small, would it work for you if you'd draw a line instead of a bitmap Like this: Rectangle rect = e.Item.ContentRectangle; // Experiment with rectangle size and position here e.Graphics.FillRectangle( Brushes .Violet, rect); Andrej Hi, if you'd like to draw your own separator, either a] make your own Renderer by inher ...Show All

  • stfkbf Datagridview combobox query

    I have a datagridview with 5 columns which a populate with dataset, which retrieves data from a table. The first column in the datagridview is a combo box which contains IDNumbers. In the combo box, I wish to show a number of IDNumbers that are in another table. In code, I have defined another dataset to retrieve the IDNumbers, but I do not know how to connect the secondary dataset with the IDNumbers to the combobox's items collection in the datagridview. How am I able to do this in such a way that I can have multiple rows in the datagridview with the same IDNumber (The database has been setup correctly to allow for this scenario.) Thanks James Hi, Try the following code ...Show All

  • warning9 RichTextbox image

    Hey, in Visual C# 2005 is there a way to make the rich textbox have a background iamge Thanks :) So Netscape uses the rendering engine of IE and some stuff of Firefox... becuase all I want this webrowser control to do different is dont make the sound that tells you you cant do somthing when I press the Enter key, and to show my own html file or nothing at all when there is an error on or loading the page... .. ... so I can do that without making my own control from scratch... Thanks :) hmmm, well making my own Richtextbox would be to hard for my level, I am having trubble making a custom webbrowser control... Well, instead of making a background image would it be possible to make the ric ...Show All

  • Tamiri problem woth hard disk

    i am facing a strange problem that my hard disk spece is automatically decreasing plese tell me what should i do. hey i have scanned my hard disk and the spywares and vires found have deeleted but still facing the same problem Again, this is not the correct forum for this topic. Please search Google for a solution or search www.microsoft.com. Good luck! I am sorry to tell you but this is the incorrect forum for this topic. I will have to redirect you here: www.microsoft.com. But I suggest scanning your computer for viruses and spyware. i tried to go to microsoft.com but was unable to find where to go can u tell me ...Show All

575859606162636465666768697071727374

©2008 Software Development Network

powered by phorum