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

Software Development Network >> Windows Forms

Windows Forms

New Question

Bmp size on dialog boxes...
Excel Automation from within Forms application deployed with ClickOnce
Is there a Scale Bug?
Highlight the cell with an error...
Minimize to tray
Extended WebBrowser Control
save image
Drawing picture of 256 colors in picturebox
pdf
How to access currencymanager from listbox DrawItem event

Top Answerers

wutwjd
CraigInCalifornia
toniSQL
Ben Paddick
BlitzTitan
singlenipple
RakkaRage
Reta
Daniel Blei
Keith Newton
sitemap
Only Title

Answer Questions

  • J. Aldrin MouseHover Event for Form Buttons (help please)

    This is my 1st time at using certain MouseEvents,what i'm want to do is this...The buttons i have now the Form and ToolStrip all have a Black BackColor..What i'm looking to do is when the persons mouse "RollsOver" a Button the Background color will change... The over all Effect i'm trying to Achive is similar to the Windows Media Player Beta 11 the button is Black ,but when Rolled over it Lights up!! Can someone help me with this cant seem to find any good example in any of my books to achive this look... Thxs in advance PS: here is some code i'v got to work partly..lol seems the only time the Button lights up Red is when the Mouse touches the very outer right side of the button...Not even the button itself,when i roll the mous ...Show All

  • markovuksanovic Testing Multiple Instances of Winform application

    Hi, Wanted to know what are the testing tools available to test the multiple instances of a win form application. Here is what i need to do: I have a win form application which uses some external toolkit. the toolkit has limitations in terms of the instances creation. I wish to automate the stress testing of the win form application using some tool so that i can find out the threshold limit of the external toolkit.. Basically i want to do a load generation on the win form app by spawning multiple instances of the application with the necessary user clicks scripted in. Are there any tools that come along with the VS 2005 which can help me or i have to resort to LoadRunner or any other tool. Any pointers would be appreciated. Thanks Paritos ...Show All

  • M Anwar Can we Add ListItem objects to ListBox ?

    Dear friends i have basic doubt that is can we add ListItem's to ListBox (or) is ListItem's are only for ListView any suggetions Thanks Ranadheer It is only for ListView. You can add any object to ListBox, but it must have a suitable ToString() method. That would be ok if it was a ListView the OP is using, but I think he's using a ListBox. Dear Matthew I have added ListItem objects to my ListBox it working fine. but i am getting Exceptions when i try to remove that ListItem Objects from my ListBox the exception is "List that this enumerator is bound to has been modified. An enumerator can only b ...Show All

  • Dan Mikkelsen clear a cbo selection in vb.net 2005

    I have a set of combo boxes the user wants to clear the selectons and start over (they build a order by statement for a query) I cant find a way to deselect the selected item. I am getting an error the .clear is not a member system.windiows.forms.combobox Or, if you just want there to be no item selected, then: theComboBox.SelectedIndex=-1 ah! Should be: theComboBox.Items.Clear() to clear the combobox: theComboBox.Clear() thats all. Is this what you are after ...Show All

  • furjaw Can c# perform a CTRL+V

    Hi all How can i get my program to perform a CTRL+V. (paste from clipboard) Thanks. Lars Hi, You can do it by creating a context menu strip add menu item Paste and assign it shortcut key Ctrl+V. Now for any control you wish to have Ctrl+V functionlaity set its ContextMenyStrip property to the context menu strip you have created for example contextmenustrip1. Now Create a class variable for a active control for example c and on Mouse Enter (focus)event of each control you want to have Ctrl+V funcaitonlay set c to the that control on which got focuse so that we have active control reference. Now in menu item click write the code to set the text for example c.text="some data from clipboard" etc.     ...Show All

  • JackMit Taskbar item flashing

    I am using VS2005 in a VB.Net 2 type application, and my main form has several buttons and functions which cause other forms within the same application to open. If the main form does not have focus (either out in another application, another form within the same application is open, etc) and information on the main form is updated, how can I get the item in the taskbar that represents my main form to "flash" for a period of time I am presuming I can take the same concept of the "solution" for this and apply it to the other forms within the applcation. Example, main form open, another form opens to display information, and remains open. The user then selects the main form, the second one gets updated information, an ...Show All

  • Rob Davis38041 datagridview.ClearSelection()

    Hi all How does this work . I have a datagrid which is bound to a DataTable when the form opens. The program automatically selects the first row it that datagrid. How can i "unmark it" without loosing currentRow Tnx. Lars It clears all selected cells ( if multiview allowed), so as no cell is selected after use of this method, u don`t have currentRow property. U must put its value into other variable be4 calling that metod, and then unselect. This way u can achive everything u wrote. ...Show All

  • Max André Bündchen passing parameters to stored procedure

    i have a stored procedure that returns me a select statement. i need to pass the procedure a parameter.. i saw the .add function, how do i actually pass it the parameter id   Private Sub MultipleBillsViewDataGridView_CurrentCellChanged( ByVal sender As Object , ByVal e As System.EventArgs) Handles MultipleBillsViewDataGridView.CurrentCellChanged Dim myConnection As New SqlConnection( My .Settings.CostingConnectionString) Dim myCommand As New SqlCommand( "sendList" , myConnection) myCommand.CommandType = CommandType.StoredProcedure myCommand.Parameters.Add( "@id" , SqlDbType.UniqueIdentifier) myConnection.Open() Dim s As String = myCommand.ExecuteScalar.ToString Dim ds ...Show All

  • thedewd System.AccessViolationException in System.Drawing.SafeNativeMethods.Gdip.GdipDrawLineI

    I really do not know what to do about this. Often, when I run Forms programs with Visual Studio the application crashes with an exception like this "AccessViolationException". I never exerienced any problems with other standard applications like e.g. Word, Excel, Outlook, only self written programs in C# seem to suffer from this. Most of these applications then contain either something like a ToolStrip or a DataGrid which then after an exception like this are only represented by a white rectangle with a red X. The controls itself are standard out of the box. I ran the Microsoft Memory Diagnostic today, but it did not find anything wrong with my memory. Does anybody has an idea what may cause this exception See the end ...Show All

  • nils49 how to make valdation to my input data

    my application should have full validation on data... but I do not know how to make validations ... for example ... the name should be no more than 50 chars .. date should be yyyymmdd gender should be 4 chars or 6 chars ( male or female ) and so on ... hot o make validation on text numbers dates help me or give me a source to learn but before that I hope to write me exaples here thanks in advance I think you could make use of “Regular Expressions” for validation, please see if this helps. http://msdn2.microsoft.com/en-us/library/system.text.regularexpressions.regex.aspx Hi one thing you could do is the following: in your ...Show All

  • crussting Update Datasource From DataGridView

    Hi. I am new to C# and Winforms and I am having trouble updating my database from a DataGridView Control. I can populate the DataGridView no problem but I am getting an error when I try to update the datasources with the changes I make in the DataGridView Control. Below is my code for my form that contains the DataGridView: The exception is occuring in the updateBtn_Click() method when I am trying to update the database when a user clicks the corresponding button. It doesn't seem to like the line: da.Update(ds, "articles"); The error message says "Update requires a valid DeleteCommand when passed DataRow collection with modified rows." Any help would be greatly appreciated. Thanks, Stephen Weisel namespace article ...Show All

  • Tim Cools is the right place to ask question about installshield

    With Install Shield, if I want to include a dll and that dll is pat of a merger module (redistributable) it includes the whole merge module in the installation project and it doesn t allow me to include only the dll. Do you know if it s possible to include only a certain dll with an exe project and not the whole merge module that includes that dll. Thanks As Ahmed said, no, this isn't a right forum to ask that. Please visit official InstallShield forums . Thank you. since installsheild is not a Microsoft product, it would be the wrong place to post and the best place would be over at their forums. If you are using the setup & deployment project within VS2003/2005 (Pro/Std editions) then yes this is the cor ...Show All

  • REspawn Opening Microsoft Office Outlook !!!

    Hi everybody, I have Email Addresses in a column of one of my DataGridViews. I need to open Microsoft Office Outlook, whenever users click on these Email Addresses, and have a new Email opened and ready on the screen with these Email Addresse in front of TO: section. I have already tried the following code in the Click Event of this column: Process .Start( name@yahoo.com ) ; , but didn't work. Does anybody have any idea !!! Thanks so much, Mathew You can add parameters to the URL, i.e. mailto:<email> Subject=XXX&Body=XXX Hi, Thanks so much. It worked. Can I pass more information like Subject and Body of my Email too How Thanks again, Mathew ...Show All

  • Juergen Lorenz Microsoft release policy

    This is the error, which makes me cry. Everytime i work with datagridview, it makes this error in time. I remove every problematic Columns, but it doesnt work. It seems that designer sees something that no longer exists . For instance iDKontaDataGridViewTextBoxColumn was removed from the designer part of the class. ANd designer still says, that it is there. What may be the sollution of this I would like to continue my work without removing whole tab pages of my forms. Please help. Tnanx for every help. There is a HotFix for this problem: KB Article Number(s): 921019 I applied the fix and I no longer have the problem. Best wishes Bill I'm getting the same problem - it is ve ...Show All

  • enric vives Particular question about a Setup and Deployment project.

    Hello everybody! I'm quite new to Visual Studio and I'm having a hard time finding out this. I have a working project right now, which installs perfectly. It installs some application files and some help files. What I need now is the help files, instead of being inside the .msi package, to be outside, just in a folder. For example, in the installation folder I have the setup.exe, the .msi package, and the Help folder. So, when I run the setup, I need it to perform as usual, with the only difference that the help files are copied from that folder and not from inside the .msi file. The destination folder of the help files is not changed, so the shortcuts must remain as they are now. In other words, I need the installer to take the files of t ...Show All

141516171819202122232425262728293031

©2008 Software Development Network

powered by phorum