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

Software Development Network >> Windows Forms

Windows Forms

New Question

Scroll on mousescroll
Enabling Menu Strip in Main form from child Form
What are the keycodes for these?
Open form with button
Any way to align Message Box text?
Force a Click onto Another Control?
Throttling a Windows Form Application
Custom Menu's
Getting the DataRow that corresponds to the CurrentRow of a DataGridView
A challenge. Text to binary, and back.

Top Answerers

BlackMan890
Behzad Karim
Gazcelt
Whoisit
FC-Shiro
chris441962
EmekaAwagu
DodgingRain
ReneeC
JayaC
Jane and Richard - Visor Deluxe Review
Only Title

Answer Questions

  • mouxaifeong Creating a Custom MaskedTextBoxColumn for a DataGridView

    I am trying to create a MaskedTextBoxColumn to be used in a DataGridView control on a windows form in vb2005. I am working off the article http://msdn2.microsoft.com/en-us/library/7tas5c80.aspx which describes how to do a calendar control in a datagridview. The two issues I have run into are setting the 'Mask' property of the MaskedTextBox control by setting parameters on my Cell & Control classes. It works fine if I hard code the mask into the default constructor (New()) but not when I create a parameterized constuctor (New(mask as string). When debugging, it appears to call my parameterized constructor, then it calls the default constructor essentially nullifying my 'Mask' property. I've overridden the 'Clone' function on my Cel ...Show All

  • Carolyn Evans Access Web through Excel?

    Hi I'm still new to VBA in Excel, I was wondering if anyone knows how to access the internet content through Excel using VBA coding Is there are a library that allows you to do that, if so how do I get the library and it's detailed functions Many thanks nevermind everyone, I've figured out how to do it. I find an article called CONNECTION INTERNET VIA VBA http://www.vbfrance.com/codes/CONNECTION-INTERNET-VIA-VBA_35329.aspx ...Show All

  • Shiplu Form Design

    Can a form receive contact data entry, send out emails and prints mail labels all in one interface Please provide samples. Thanks. to send emails: VB.NET http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=616274&SiteID=1 C# http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=760457&SiteID=1 for printing, something trickier so I would suggest searching the forums as well as reading these: http://msdn2.microsoft.com/en-us/library/system.drawing.printing.printdocument(VS.80).aspx http://msdn2.microsoft.com/en-us/library/system.windows.forms.printdialog(VS.80).aspx http://msdn2.microsoft.com/en-us/library/aa467115.aspx ...Show All

  • Surly GraphicsPath on Transparent Bitmap

    I've recently migrated over from VB6 to VB.Net and C#. I decided to rewrite a fairly simple program that drew lines onto a semitransparent form and then made the form completely transparent once the drawing was complete. The problem that I've found with C# is that after I call Bitmap.MakeTransparent(), I cannot use GraphicsPath to draw on the form. Is there some way of setting the bitmap back having a solid background after calling MakeTransparent Any help would be greatly appreciated. Will Vandergrift Wilz Modz It is not clear how the bitmap and drawing on the form interacts. Show us some code please. Here is the code for setting up the graphics object and also for drawing the lines and displaying the bitmap. p ...Show All

  • cichanlx Button's default property

    Hello, i've migrated from Win32 Delphi to .NET VS 2005 C# develpment lately. I would like to ask, if there's some functionality as a Delphi's button's "Default" property in the VS, please For example, there are edit and button on the form, i want to execute OnClick event handler, when user presses Enter key in the edit control. Thank you for any kind help. If you click on the TextBox and go to the Properties panel, look for a property that says AcceptsReturn. Set this to true to accept a return key. Then in the Properties panel toolbar, click the button that looks like a lightening bolt. That gets you to the control's click events. I think the one for the Return key is Enter. You would pu ...Show All

  • psc161 Automated Scheduler + C#

    hellow I wants to develop an "Automated Scheduler" to send regular mails to our registered clients. This should be done with ASP.net 1.1 / C# or windows services. We are expecting a ddl/exe ( must be multi-threaded ) sort of program which would be deployed on webserver, and using windows scheduling services we can trigger that component to fire mails from database. any similar example or any site help....urgent hellow all, I got some idea from ur reply,but how to proceed further,what I have to do first n can you explain my question in detail what they are expecting about "automated scheduler". help .....urgent. Check this article ...Show All

  • renealejandrov Where is the Publish tab?

    I'm trying to create a ClickOnce application. In the help files, it says go to Project->Properties and then click on Publish tab. But I can't find any publish tab! Am I missing something ok, found where I was going wrong.. ClickOnce is not that easy when VC++ is used! ...Show All

  • Can-Ann Prevent datagridview showing glyphs when working with rows

    Hi @all! I'm currently working with the .NET 2.0 datagridview. I've overwritten the datagridviewrowheader class to display different icons in the rowheader. That's fine so far. But the grid still displays these glyphs in the background of the rowheader cell. With the property showeditinglyph it's only possible to disable the editing icon, but I don't want the datagrid to show any icons or glyphs. How can I disable this functionality in the datagrid   \Helmut   Thanks for your hint. This was almost the right solution, but it would be better to remove the PaintParts.ContentBackground bit flag. (probably you even meant that) Now it's working! ...Show All

  • weaasd how can i set icon/image in listview sub item

    is there any way i can set an icon/image for each listview subitem in .NET v2.0 The ListView control in .net2.0 do not provide such feature. You need to extend ListView class by youself. Hi, I don't quite follow what you want. ListView has four view mode which are Details, LargeIcon, SmallIcon, Title and List. And only in details mode can you view the subitems. You can use the image list to show the icon before each item as Dave said, but what do you mean by setting an icon for listview subitem Take a look at the Small Image List, Large Image List and State Image List properties for the list view. ...Show All

  • jewelfire Formatting entries in DataGridView selection

    I have a DataGridView (Dgvx1) and I am trying to change the format (currency in the code below) in the selected cells after the user clicks a ToolStripManuItem. My problem is that the format doesn't take effect. When I added a color change as shown in the code, the color did indeed change after selection but not the format. Am I missing something Thanks, Rene --------------------------------------------- Private Sub CurrencyToolStripMenuItem_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) _ Handles CurrencyToolStripMenuItem.Click Dim counter As Integer Dim myStyle As New DataGridViewCellStyle myStyle.Format = "C2" myStyle.ForeColor = Color.Red ...Show All

  • Tryin2Bgood trouble saving textbox.txt

    Have a details view of "invoices" on my form with the fields InvoiceID (is identity) as combobox CustomerID as combobox Date as month calendar InvoiceTotal as textbox Invoiceid is autoincrement, customerid is selected from drop downlist, date(obviously just pick the day), InvoiceTotal is filled on a button click from dt.compute("sum(Total)","") My tableadapter insert, select and update all select all fields except InvoiceID. When I try to update It is not "seeing" the value in the textbox and says, "cannot insert null value "invoicetotal"" Databindings are set to invoicebindingsource, invoicetotal. Have changed Textbox datasourceupdatemode to onproperty ...Show All

  • Pockey Visibility + TabStop

    Hi, I got some controls on a Form which I hide if they are not necessary. If they are depends on the input in other controls, so they might just appear by change of the Visible flag. validation of the input and the change of the visible flag is done on validation of a control. The problem is now that if somebody navigates through the controls with the Tab key, the new controls are ignored the first time. Example: - Form1 with TextBoxes textBox1, textBox2 and textBox3 - Tab order is textBox1, textBox2 and textBox3 - textBox2 is not visible. - event handler for textBox1.Validating contains: textBox.Visible = true; If you navigate now from textBox1 by pressing the Tab key, textBox2 appears, but the cursors jump to textBox3. If you conti ...Show All

  • Aneel Web "color picker"

    I am working on an application in VS2005, using a VB type project. I have been playing around a little bit with the Color Dialog control but it doesn't quite do what I need. I want to allow the users the ability to change some of the colors used for various things, and I would like to restrict the choices to those available within the "WebPalette" side of things. But I need to restrict it further because I don't want to allow for the selection of "light" colors because the areas that they can work with all have a white background. Therefore choosing something like "white" for the text color would be disasterous and comical at the same time. I would like to create a "list"... similar to that one ...Show All

  • Juan Carlos Ruiz Pacheco why do my textbox take default value

    hi Actually i have a textbox which is binded at the time of the form_load. now whenever i have a new data to be entered and i entered a string in the textbox at the lostfocus of this textbox.it automatically gets filled with the default number. Can you send me some solutions for this problem waiting for the reply Thanking You what is this default number you are referring to What is the code you are using of course if you implemented the lostfocus event on the textbox and you change the contents of it in here, then it will be replaced when you move out of the textbox Hi heartly4u - would you mind posting a code snippet That should help you get a better answer. Actually textbox takes the d ...Show All

  • R1ZWAN Web Publishing with multiple connection strings

    Hi, We have two environments available to all users, one for testing and user training, pointing to a database and a live environment pointing to another database. A third is on the developer machines and we all have our own DB running locally. I publish to two different locations for users (live and test) and two links on the users desktop point to either environment, which need different connection strings. Here's my problem: Before publishing, I change the connection string to say "Data Source=testserver", but when users start the test app it will fail and the log says: ********** http://d9k2cn1j/Golfbreaks.TheClubhouse/Test/Golfbreaks.TheClubhouse_1_0_0_6/Golfbreaks.TheClubhouse.exe.config did not succeed. ******* ...Show All

96979899012345678910111213

©2008 Software Development Network

powered by phorum