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

Software Development Network >> Windows Forms

Windows Forms

New Question

Oledbcommand issue
Why Can't I set the Text property of a Label
BalloonTipShown, etc. events non-functional?
ToolTip Owner Draw
Suppress Script Error in WebBrowser control
How to measure the exact width
set the background color for a row in a datagridview
How to launch a .swf file when button clicked?
ClickOnce Error Message
Custom Control Click Event

Top Answerers

CLR_cn
silverdmm
kusanagihk
Dan Crowell
DaveatAGLC
fwojdag
tkroll
Marcela Moreno
papermater
wpf michelle
Total
Only Title

Answer Questions

  • Handkor CONNECT TO AN UNLOCAL DATABASE BY WIN APP

    Hi every one! I want to connect to a sql server database on a host by a windows application and I have server IP , I cant prepare a connection string for my sqlconnection. please help... Use the IP for the server in the connection string. ...Show All

  • MA2005 Drag and Drop Label containing text into another panel

    Hi all, I was wondering if it is possible to do the following: I have a toolbar-like panel on the left of my form, on the right side of my form I have a larger panel containing nothing. In the toolbar are panels containing labels with text. I want to be able to drag such a panel to the panel on the right side and drop it there. I want it to be dropped on the exact location where I released the mouse button, that exact x-y position. Is this at all possible Any help would be appreciated. hi, did the same code of drag n drop work out 4 u. coz i copy pasted the entire thing but it didnt work out 4 me. can u plz help me out plz, When you set the pane ...Show All

  • DavidThi808 System information - How do I retrieve it?

    I have looked in the System Information class and found nothing and don't know where else to look. Where can I find the following information: - Total Random Access Memory installed - Processor type, name, speed/frequency - Network card installed - Total amount of memory set for the system paging file I need to get the above information and store it in the strings assossiated with each of them. Any help is appreciated. Hi Dave, What you're looking for is Windows Management Instrument(WMI). Here is the example which covers almost all you want. ...Show All

  • bjaroszek TabControl problem

    I have a form with a tabcontrol(with 2 tabpages) and I add a new TabControl at runtime using this->Controls->Add(gcnew TabControl()); Its been created at top left corner of windows and not visible fully..how to control its location/size etc how to access it Thanx in advance cache the tabcontrol instance first by declaring a variable for it, then change its properties at runtime. in C#: TabControl myTabControl = nw TabControl(); myTabControl.Size = new Size(100, 100); this.Controls.Add(myTabControl); joeycalisay wrote: cache the tabcontrol instance first by declaring a variable for it, then change its properties at runtime. in C#: TabControl myTabControl = nw TabControl(); ...Show All

  • xlordt Problem to automatically update the DataGridView?

    What this does is following, it deletes a row where column id at the table have the same result as IdErase. This works fine, but I will also that the DataGridView automatically updates changes, when a row is deleted. c onnDatagrid.ConnectionString = ConnectionString Try connDatagrid.Open() Try myCommand.Connection = connDatagrid myCommand.CommandText = "delete from test where id = " + IdErase.ToString + "" MessageBox.Show(myCommand.CommandText) myCommand.ExecuteNonQuery() Catch myerror As MySqlException MsgBox("There was an error reading from the database: " & myerror.Message) End Try Catch myerror As MySqlException MessageBox.Show("Error connecting to the ...Show All

  • MillBear DisplayMember with multiples columns

    Hi all !! I'm trying to display more than one column in DisplayMember property of a ComboBox control. Is it possible I alson can't concatenate the coluns in the select command, becouse I'm using this command for the DataSource: this.lstTables.DataSource = con.GetSchema("Tables"); I hope you can help me. Regards, Eduardo Schuelter Eduardo Schuelter wrote: I'm trying to display more than one column in DisplayMember property of a ComboBox control. Is it possible NO....When default databinding is in use you can only bind the display member and the value member to a single column You can create a custom data class...that concantenates the columns into a single class field that can be databound Hi, D ...Show All

  • Jacob Pitts 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

  • kin2 creating install.exe

    Hello everyone, does anyone have any documentation or pdf n how to create install.exe or setup.exe for my application simply create a new setup and deployment project in your existing solution. Then of course configure it. http://msdn2.microsoft.com/en-us/library/ha7h54s4(VS.80).aspx the link above should get you started. Follow the link through the bottom also ...Show All

  • Rajesh Ladda Tabpage navigation

      I have a tab control with multiple tabpages. While navigating between the tabpages the contents of the page has to be validated. The problem is after left-clicking on the tabpage head the contents of the previously selected tabpage becomes blank. Is there anyway to display the tabpages contents while validating the tabpage. its in WinForms application.  Regards Venkatesaperumal Which event are you validating the page content in Andrej Its a WinForms application. The problem occurs particularly when a message box is displayed to show the validation message. Hi, venkatesaperumal wrote: Its a WinF ...Show All

  • Herru Perdana Changing window size dynamically

    Hi! I have a question about a window form in visual c++: I have an application which takes as parameters two integers, the width and the hight of a form to be created; moreover, the form contains a panel, which has to be resized too, to fit the hight and the width of that form. The problem is that even using commands like: this->Size = System::Drawing::Size(width,height); this->panel1->Size = System::Drawing::Size(width,height); (located in the constructor, after InitializeComponent() command) the window still has the same dimensions as shown in the visual c++ design window (I mean "form1.h[Design]"). Perhaps there is some option to be set Or maybe something to be changed in the toolbox Thank you! ...Show All

  • Orchid2006 Steam, Runtime error

    --------------------------- Microsoft Visual C++ Runtime Library --------------------------- Runtime Error! Program: C:\Program Files\Steam\steam.exe This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. --------------------------- OK --------------------------- Can anyone explain this to me and maybe give me a solution please Thanks Ken I seriously doubt it. From what I could see of that KB article, it would apply if you were getting the error you are getting with Roxio. You're not, you're getting it with Steam, so it's likely it's just a problem with Steam. The error is surprisingly common in cases where te d ...Show All

  • Shamirza how to recieve a MM_MCINOTIFY message on my Windows Forms Dialog

    hello all i'm new in the C# and DotNet World i'cam from MFC/Win32 World I need to recieve a custom message in my WinForms Dialog in the past, i did it by adding ON_MESSAGE(MY_MESSAGE_ID,OnMyMessage); specialy i need to handle the MM_MCINOTIFY message please help thanks in advance thanks Michael I received it (MM_MCINOTIFY message ) . have a good day You can override the WndProc method in your form (or any control for that matter) and handle any custom messages that are not exposed as events by .NET. Be sure to call the base implementation as well just in case they do something. public class MyForm : Form { protected override vo ...Show All

  • wyktor Trying to show and manage a List<string> in a PropertyGrid

    Hi, I have an application that shows the property of my items in a PropertyGrid. I'm trying to allow the user to add or remove property to his items throw the PropertyGrid, but i can't do it properly. I have followed the articles written in MDSN. So I found a way to do it. Creating a new class that inherits from ExpandableObjectConverter, showing the attributes in a string. But the problem is that it create me a kind of pop up where I can modify the string of attributes, but I don't know how to modify the methods so that the application behaves like I want. Can anyone help me . I have written this code: public class GridSettings { private string nombre, visibilidad; private string tipoObjeto; priva ...Show All

  • RtMahi DataGridViewCheckBoxCell problem

    Hello I am using DataGridViewCheckBoxCell in datagridview. When i check and uncheck the particular column, the column is marked as checked. The code used is as foreach ( DataGridViewRow row in dgOrders.Rows) { DataGridViewCheckBoxCell include = ( DataGridViewCheckBoxCell )row.Cells[ "Select" ]; if (include != null && include.Value != null ) //if checked { Do processing } } what will be the problem It means that you have to set the TrueValue property first.. (I commented it out since i expected most people would do that in the designer...) Thanks, But the dataGridViewCheckBoxCell.TrueValue is always null and error is thrown ...Show All

  • AHooker Handling WM_CHAR in html view

    hi, I hav developed a mail client..........which has html view........so in the html view i hav to handle WM_CHAR......to check whether any modifcation is made in that view.........i hav overidden WM_CHAR.....but my contrl is not going there.........i checked in spy++, there my window was recieving WM_CHAR message.........so can anyone coem out with a technique...........its urgent. thnx in advance, bye, Sudhakar. Hi, Is the WM_CHAR constant value right Or maybe you can implement the keyPress event. http://weblogs.asp.net/dmihalik/Story/3648.aspx A simple html viewer: http://www.viksoe.dk/code/simplehtmlviewer.htm ...Show All

373839404142434445464748495051525354

©2008 Software Development Network

powered by phorum