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

Software Development Network >> Windows Forms

Windows Forms

New Question

CellValueChanged() event inside the KeyDown() event
Listview Column Widths
ClickOnce update to deployment manifest
OpenType or TrueType font ?
Just try too...
How to Lock a excel Col when created in vb.net
Tab Key is not tapped!
User interface forms programming
Where does my application reside
Working with Data in Datagridview

Top Answerers

Behz
rsws
Roberto Garavaglia
imdz
Scott Allen - OdeToCode.com
Petchey
johnb01
Lampkin
Rishab
Baji Prasad
sitemap
Only Title

Answer Questions

  • k4ran masked TextBox

    i use mask textbox for thousand seperator and i use 000,000,000,000,000 mask but please help me how can i do following: 1- i want the number length dynamic and no limited 2- when no number enter or the lenght is short i want to omit extra commas. This cannot be achieved with MaskedTextBox. Your request is quite popular and we posted a sample on how to do this at: http://msdn.microsoft.com/smartclient/codesamples/windowsforms/default.aspx DecimalTextBox control. Hi! Hmm, this page changed. In the meantime you can download the code from http://download.microsoft.com/download/0/8/7/087e6a47-7306-4a5c-ad97-d1ffd58d712e/decimaltextbox.msi Hello guys, I am with the same problem using ...Show All

  • theFranz PropertyGrid - Custom Types

    Hello, I've used a property grid in my project. I have a custom class, called Vector, which should be shown in the property grid too. So I used the TypeConverter and ExpandableObjectConverter. In the property grid, I see an entry called Location with a string representation of a Vector (like this "24;50"). I can expand this property and I see two sub-entries, called "X" and "Y". The problem: if I change the string representation everything works fine. But if I change the x or y values, nothing happens. That means the set-method in the Location property is not called. I don't know why. Here my code: Class A (uses f.ex. the Vector class) { [GlobalizedCategoryAttribute("Layout")] public Vector L ...Show All

  • Anil Narayanan Problems with the "(Name)" Property when I implements IExtenderListService

    Hi, I've implemented a form designerhost using the MSDN sample: DesignerHosting. I created some new properties using the IExtenderProvider interface and I implemented the IExtenderListService interface in my DesignerHost. Thas was the only way that my new properties were shown in the PropertyGrid for every component i added to the designer. This gone good. The problem is that I also implement a "Name" property using the a extenderprovider, and in the propertygrid this property nows appears TWO TIMES. Every time y change the value of this property it changes in the two properties at the same time. If I quit the implementation of IExtenerListService then all the properties I created disappear in the PropertyGrid, and also the TWO & ...Show All

  • djm-web BindingSource.current resets property in object collection

    Hi I've been searching the forums for a couple days to find the solution to this problem but I have had no luck. I have a binding source on a windows form which is bound to a collection of type BindingList that holds a set of Portfolio objects. Each Portfolio object contains a collection which holds securities objects. The intention is that when the user selects a portfolio on the form, summary information for the securities are displayed. However I have noticed that when a portfolio object is set as the current object (bindingsource.current) it loses its securities. To make it a little clearer, when the application loads there are three portfolios, the first one is automatically displayed and should show the security information but ...Show All

  • Darathar ClickOnce Deployment and MS Word Print Template

    I'm really excited about the whole ClickOnce thing. But it appears I've run into a couple of problems: 1) the app includes a "Print" command, which uses a MS Word doc as a template to create a .pdf file. I can't get the doc to install with the rest of the app. 2) the reports that the app creates for the user seem to be disappearing when I update to a newer version of the app. That is, when starting the app running 1.0.0.5 and 1.0.0.6 is available, if I update the app to 1.0.0.6, the reports I have kept are no longer available. Of course part of this could be that I can't figure out where the h**l the files are for the app on the user's system. They're not in the Program Files folder; I can't find the XML files it's us ...Show All

  • GuyVerachtert Unable to move the position of custom control during design time

    Hi, I developed a WebCustomControl in c# 2003. Everything is fine but when I am trying to use this in VS2005 the control is not moving during design time. Actually it is locked. How to remove the lock for webcustomcontrol that was built in 2003. Or is there any way to make the control moveable through code that was developed on c#2003. Any help is really appreciated. I need it badly. Thanks, Sukanya. Try right-clicking the form and turning off "Lock Controls"... Sukanya wrote: Hi, I developed a WebCustomControl in c# 2003. Everything is fine but when I am trying to use this in VS2005 the control is not moving during design time. Actually it is locked. How to remove the lock fo ...Show All

  • Garegin Gulyan RRRRR Thread-Safe Databinding - HOW?!!?

    This is driving me crazy, in the time I've spent doing this I could've built a car! Ok in .NET 1.1 I had no problems making a new thread and chaging GUI controls from it. However, in 2.0 I can't do that - I need to call a control's invoke() method so that it updates it in a thread-safe manner. There's only one problem though. Separation of presentation and logic. All my properties are stored in a Settings object, which is databound to my GUI controls. When I do my business calculations, I don't want to have to think about my GUI controls every god damn time I want to change my Settings.Default.SomeThing = "aaa"; Basically, here's what I want: textEdit2.DataBindings.Add(new Binding("Text", Settings.Default, "MySetting")); And then be able t ...Show All

  • chris_dev Switching forms (Closing a form and going to the next)

    In my application, I need to go from one form to the next EG: Splash Screen > Entrance > Tip of the Day > The main application I tried putting somthing like: frm_main main_frm = new frm_main (); main_frm.Visible = true ; //I also tried main_frm.Show(); this .Close(); But the whole application just ended. ~DtD Also, is there a way to access a from just by it's name EG: frm_main.Show(); or frm_main.txt_name.Text="DtD"; For instance, create a project and add a second form. In the Load event of the first form you put this code (don't forget to add the System.Threading namespace): private void Form1_Load( object sender, EventArgs e) { Form2 form2 = new F ...Show All

  • AlexBB "ICO.ICO" - Icon Help

    Hi, I'm up to the stage of making my icon for my application with VS2005 and am experiencing some difficulties. The problem is when I finish my icon, it stays the same as it was before I made it - it looks as if I never added any colours to it! Is there any way to overcome this Thanks. Eragon. Are you using the IDE to create the icon If you are, you may want to invest in some dedicated icon software. There are some quite cheap icon creators out there, I use Microangelo and it is more than sufficient for my requirements. Why not download their trial version to see if it suits your needs. ...Show All

  • A.Issa Columns in DatTable???

    If i have some data associated with a dataset and in that data I was pulling data from 3 different tables but I only wanted my datagird to show specified columns that I choose could i do that Anyone got any links on how i could get that done That is, now these data are in one table. I think hiding columns is a easy way, you can do it like this, datagridview.Columns[1].visiable.false; Otherwise, you may remove columns like this datagridview.Columns.Remove(column1); Hope this is helpful. It is new to .Net 2.0. For a datagrid you need to add a datagridtablestyle to your datagrid. Just add the columns you want shown in the datagrid. There are some vb examples on the vb-tips website . Try to use the datatabl ...Show All

  • Jean-Pierre Fouche ClickOnce: How to add a prerequisite from the command line?

    Hi, I have Crystal as a prerequisite, so if I publish using VS, several additional entries appears in the .manifest file: <dependency> <dependentAssembly dependencyType="preRequisite" allowDelayedBinding="true"> <assemblyIdentity name="CrystalDecisions.CrystalReports.Engine" version="10.2.3600.0" publicKeyToken="692FBEA5521E1304" language="neutral" processorArchitecture="msil" /> </dependentAssembly> </dependency> If I create a manifest manually, using Mage, what should I do to add the prerequisite to the manifest file Thanks, Leonid. I didn't find it in the tools, so I'm not sure ...Show All

  • Ro0ke installing .net framework automatically

    Hi! I have a software, which should be run from CD (no installation), however I need to install - or offer to install .net framework 2.0 on the computer of course. I've tried ClickOnce and it works well, but it installs the software to the client computer. Now the question is, how to install the corresponding framework I expect that I will have to have a piece of unmanaged code, which determines if the framework is already installed (and starts my application) or that will start the right framework package (right platform and language). How should be this done Thanks. I think Mike was referring specifically to this part of the doc: To create a Bootstrapper setup for a project and add Micro ...Show All

  • hr0nix Form responding slow

    Hi, I got 2 forms. From1 has buttons and some checkboxes to start a test after a button is pressed. If a button is pressed, it opens Form2. When i'm done with Form2 i close it. Then i get back to Form1 and then it starts responding slow. This only happens when i start a test that has filestreams and filereaders and some more stuff with files involved. How can i see whats making it slow I disposed everything in Form2 when it gets closed. Even when i close the Form1 its still running, I have to press the 'stop' button in order to continue. Any suggestions anyone Thanks in advance! Hi nobugz, I got it fixed. I did a "rollback" on my code and tried it again with that peace of code, and it works. A ...Show All

  • ekkapop Changing the Colour of an Individual DataGridView Cell (.NET 1.1 vs 2) - Please Help

    Hi, everyone. I've been working on this frustrating problem for the entire evening and I thought I'd come to the forum for some insight and direction. I'm writing an application in Visual Basic 2005 which uses a DataGridView control which is bound to a datatable. I'd like to dynamically highlight an individual cell in red. I've written a similar program in the past with Visual Basic 2003 and I'd like to reuse as much of the code as possible. However, I'm running into a major barrier when trying to individually colourize cells. In 2003, I used something like the following snippet... DataGridTest.Rows(1).Cells(1).Style.Backcolor = Color.Red This works like a charm in 2003 but doesn't seem to work at all in 2005. After doing some rea ...Show All

  • joginaidu error trying to publish from vs2005

    I try to publish my application using VS2005, and below is the warnings I receive in the IDE.. Warning 1 Files could not be downloaded from http://dnbl291/TestForm/ . The remote server returned an error: (404) Not Found. 1 1 TestForm Warning 2 Unable to view published application at http://dnbl291/TestForm/publish.htm . 1 1 TestForm Hi ChitoDownNet , I have the same problem when I try to publish my 2005 Visual Studio project, did you find the solution Regards Vate The problem for me was that I was not using the Fully qualified domain name of the server. ie server.domain.net etc so it was trying to go through the proxy server therefore the problem. Make sure you use the FQDN, and ensur ...Show All

8788899091929394959697989901234

©2008 Software Development Network

powered by phorum