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

Software Development Network >> Windows Forms

Windows Forms

New Question

how to reorder dgv columns at runtime?
Forms Designer Troubles
ClickOnce .Net 3.0 Framework Prerequisites Does Not Work! Cannot publish because a project failed to build.
Gradient backgrounds.
Setting color of only side of label border
Creating a login form
Cannot get the tooltip balloon to show on a listviewitem
Regarding multiple child forms with word documents
MenuStrip error with RenderMode=System in Windows 2000
Temporarily disable an event handler at runtime

Top Answerers

Paul Fuhrmann
hamdyzaki
jpeng
tkohrs
acedog
AksaiGora
nobs411
mkoren
freeflyr
Tej62007
Xiolink
Only Title

Answer Questions

  • Bruce Baker Flash objects on c#

    Hello! I tried to insert shockwave flash object on my form using the traditional way of com objects, but an error appears stating that "it is not registered" Could you please please help me fix this problem or instruct me the proper way of inserting flash objects on my form. Thanks. Try to Download and install the latest version of Flash player. add it to the Tool Box, Drag ir to the form Set the Movie URL and See what happens Best Regards, I recently solved this problem and would like to share my experience to all developers who may need to use shockwaveflash object in future. 1. use flash9b.ocx 2. remove everything in your project's obj/Debug directory 3. remember to use [STATheard] You should ...Show All

  • starfox96 UserControl as Container

    Hi all, Just a quick question and I am sure there is a simple solution but I just haven't found it yet. I know how to make my UserControl a container by using ParentControlDesigner etc. This works fine and I can drag and drop Windows Forms Controls at design time. However, if I add a Panel to my UserControl Class, compile it and then try to drag and drop another control on the Panel, the Panel does not act as a container. So my question is: If I have a UserControl which consist of a single Panel, which is a pretty lame control I know, how can you get the Panel to act as a container at design time Any help in this would be greatly appreciated. Kind Regards AM PS. The UserControl that I have written does not consist of a ...Show All

  • Lino17580 Detecting word wrapping in a rich text box?

    Is there a programmatic way to detect where a RichTextBox control is wrapping the text contained within it I'm currently attempting to use TextRendered to measure the text and then determine that wraps occur the accummulated length would be at the box's width. This works for 98% of the words, but occassionally, my rpedicted model will wrap a word or two early. A fudge factor on the width seems to fix it, but for the final release, I would like the list of wrap points to be perfect. katesune Okay! That helps a lot. Now, if there was only a method for determining the number of physical lines in the textbox. As it appears, the only way to do so is to just monitor the values returned by the method. katesun ...Show All

  • Coleenh Installshield 10.5 MSM with registerforCOM doesnt have any registry tables

    we are getting an InstallShield 10.5 merge module file from someone else and finding that when built in to an MSI, the install of the MSI does not register the assembly (from the MSM) for COM. The MSM has nothing in its Registry tables (using Orca). If I use VS2005 to build an MSM and set a .NET assembly to RegisterForCOM then it places all the required registry stuff that regasm would do in the MSM file. What SHOULD happen Is VS2005 assuming that the reg settings will be built into the MSM Is IS10.5 assuming that the thing that builds the MSI will determine the reg settings Is it somehow set up to actually run regasm at install time another project says that the MSM works for them, but I dont know how if it doesnt c ...Show All

  • a.d.m Crazy PrintPreviewDialog not in intellisense

    Hello, My intellisense doesn't seem to be picking up on the methods or properties unique to a PrintPreviewDialog. For example, "ppd.MinimizeBox = True" works however the "MinimiseBox" doesn't show up in my intellisense - this is strange because every other component shows it's properties & methods. Regards, Luc Pettett Ariel, Thank-you for your reply - The PrintPreviewDialog is an object provided by System.Windows.Form so I cannot modify the properties. Maybe Microsoft has specified the property 'MinimizeBox' as EditorBrowsable ( EditorBrowsableState . Never ), Has this problem occured for others Regards, Luc Pettett That's ...Show All

  • jk_uk2 Problem with inherits form

    I am trying to modify my existing form to use a new base form. In my new base form, I have added the following property. <DefaultValue(False)> _ Public Property TrainingMode() As Boolean Get Return Me.trainingLabel.Visible End Get Set(ByVal value As Boolean) Me.trainingLabel.Visible = value End Set End Property I use the trainingLabel visibility to indicate whether my system is in training mode. In the base form designer view, I have set the trainingLabel.visible to false. The problem is those inherited form based on the previous base form will change the TrainingMode to true automatically after I rebuilt the base form. I don't know how to debug this problem. As all this happened during the design ti ...Show All

  • Liebethal VB2005 Table Compute error

    Hello, I have a form that is a master detail form. I have a table compute in the form load event. The first time I open the form everything is ok. Then I close the form and reopen it and then I get an error message on the following line of code: visual basic code: What is the value for Me.txtMedeWeker_ID.Text when you get the error The value SHOULD be an integer that functions as the ID. The first time I open the form everything works perfectly. But when I close the form and reopen it I get the error. ...Show All

  • chaza App runs after click-once, fails after setup prog

    Has anyone seen this before : I deployed my VB2005 app to a server using click-once publishing, and the app runs quite nicely on it. I later decided to move to a setup program so that I can give more install options to the user. After creating the setup program, I copied the entire "release" folder to the server, ran the install without error, but now my app won't execute - no fatal errors or any indication of a problem. Basically, double-clicking the app's icon appears to do nothing. If I am missing assemblies, I would expect to see an error of some kind. Any ideas ...Show All

  • vande013 icons in target datagridview

    I have 3 source datagridviews, DGVSource1, DGVSource2, DGVSource3. Each is filled with items in a particular category. I have a target datagridview DGVTarget onto which selected items from the above will be dropped. I'd like DGVTarget's column1 to have distinct icons to show which DGVSource the item came from. How can I show one icon for each item (row) dropped from DGVSource1, a different icon for items from DGVSource2, DGVSource3. Do I use DataGridViewImageColumn Appreciate any help. Thanks. On page 51 of the DGV faqs under heading #6 How do I show icon and text in the same cell ... there is a public class TextAndImageColumn that I have added to my project. One has to add the following name ...Show All

  • jiggs Different Color for Diacritics in Arabic Language

    Dear felows I need your help in finding a way to enforce rich edit text box control to show the Diacritics in Arabic language using a different color than the text. I am using Microsoft Visual studio 2005 for implementing this functionality. Can you pls help me or guide me to the suitable API to do so Thank you so much Dina. That worked. I will be testing to see how this can force every diacritic to be typed in with its character when it is added to the rich text editor.   I will keep  you posted. Thank you for pointing this out. Can you help or recommend any other way to do so I don't have any recommendati ...Show All

  • Mohammad Syed When launching a clickonce in IE7, the popup window doesn't close

    In IE6, I would launch my clickonce by creating a popup with url set to the clickonce's install url. After installation, the popup window closes itself automatically. If I try to launch the clickonce the same way with IE7, the popup doesn't close itself. Anything I can do Is there a setting in IE7 Anyone This is really annoying when launching a clickonce. I have the same problem. Could you share any of your source I end up putting an iframe on the page and setting the iframe's src to the clickonce url. I'm very interested too in finding a solution to this behaviour ...Show All

  • jflowers Form's - Border Color

    Hi, How can I change form’s border color Or is there any method to hide/show form’s border at runtime. Either one will work for me. Ex: If user wants to keep background green, border also should change to green color. Best % V You can't change the form's border color, it is controlled by the current XP theme. Or system color if you don't use theming. You can hide the form border at runtime. Not sure if you'd want this, you'll also lose the caption bar: private void button1_Click(object sender, EventArgs e) { if (this.FormBorderStyle == FormBorderStyle.Sizable) this.FormBorderStyle = FormBorderStyle.None; else this.FormBorde ...Show All

  • Radioedit420 Updating parent grid based on the pop up form confirmation

    Dear All, My problem here is that I have main form with a grid. I have set the modifiers for the grid to be public. So I have text box which upon entering the data it will add a new line to the grid. But if the text box value is below a certain value. I will pop up another separate pop up form where the user will do validation using his password. Then upon validation in this form I would like to update the grid in my main form. How can I reference the main form grid in the pop-up form and edit its value. Thanks Dear Nobugz, I do understand about the private and public because if it is set as private then you cant edit it from other places. Where must I place the code this.Dialog ...Show All

  • silverdmm Problem in ultraTabControl

    I have a winform which has a ultraTabControl having 3 ultraTabPageControl in it. The dock property of the ultraTabControl is set to fill so that the view comes properly. Now its working fine in Visual studio 2003 (1.1 frame work) but when I am migrating same code to 2005 (2.0 frame work) the view is not coming properly though the dock property is set to fill. Any body has solution for this.. As far as I know "Ultra" controls are made by Infragistics. Don't you think you should ask them first ! ...Show All

  • lbugnion Disabled Background

    I have got a problem with my desktop background. It was disabled, the browse and position icon also disable, so I can't set any pictures on my desktop. If anyone know the solution to fix my problem, please let me know, send me an email to my_hann@lycos.com , just in case I'm not check here. Thank you which OS (operating System) are you using I have found this question -which also happens to be my question- twice now in different forums, and both times the questioner was directed to find the appropriate Newsgroup in the microsoft.com/communities. However, I have looked at every newsgroup that seemed like it would be relevant, to no avail. Is there anywhere I can find an answer to this question I'm very frustrated. ...Show All

888990919293949596979899012345

©2008 Software Development Network

powered by phorum