Answer Questions
ylhyh Problems with TreeView not centering Text vertically on nodes
I'm not sure exactly what i'm doing wrong here, but i'm tyring to allow the display font of a TreeView control to be changed by the end user. Here's some sample code that shows what's happening, as well as a link to a picture of how it's coming out. Here's how it looks by default, 8.5pt. font, code works fine, the root line is in the center of the Text prop string. https://webspace.utexas.edu/carrbm1/public/yes.PNG Here's what happe ...Show All
Volker Gerdes Close multiple forms
I've create a no. of Windows Forms and they are related in the following sequence. FormStart --> FormA1 --> FormA2 FormStart --> FormB1 --> FormA1 --> FormA2 The problem is when I reached end of FormA2. I need to provide a method to close all the Form and back to FormStart. How can I achieve this I can't simply use me.owner.owner.close as the no. of level is not equal. hi, thanks a lot alex for speedy reply an ...Show All
anthonyjl Flash Screen
I am developing an windows application. I want to show a flash screen for 5 seconds, and close the flash screen and load main window. I have put Main method in the Intro Flash form and make the thread sleep for 5 seconds. After that, I am opening Main window. As the Main method is complete, my application terminates. How to design this type of applications Am I doing the correct sequence of methods What is the correct approach to implement this ...Show All
Filip_CEi Click once and Folder locations
okay I started to use click once... which has removed 100% hassels with deployement accross 200+ users.. but I now have issues that have shown up now that where the hell does it install on to the local machine as in vs2003 I would use Application.StartupPath but with an installed click once client it throws errors.. also since I started to use the new settings file (settings.settings) (or my.settings) but again with click on ...Show All
Chrissie1 a bug on ListBox?
Hello, I have a DELL computer with a newly installed Windows XP with SP2 and all updates from WindowsUpdate, I have a very simple application: one TextBox , one ListBox and a Button, when I press the Button the text on the TextBox is added as an Item to the ListBox and in fact the Item is added to the ListBox but it doesn't show any text. Then I added another Button and a FileOpen Dialog, if I press the Add button the application behaves just li ...Show All
Matt Snyder global app config file?
Hi, I have a solution consisting of several forms applications and they all share common configuration properties. Rather than duplicating these settings in all of my .config files (app1.exe.config, app2.exe.config, etc) is there a way to point all of my&nb ...Show All
Dreamwinter enumeration values and integers
I have an enum with 5 options, 0-4. I gather some information from the user, in the form of an integer. Is there anyway to set a variable declared as that enum to the index value of the integer For example: Enum myEnum first = 0 second =1 third = 2 fourth = 3 fifth = 4 end Enum Dim myVar as myEnum Dim userInput as int32 at some point based on user input, the variable userInput get the value 3, so I want to set myVar to myVar = myEnum.fourth, but ...Show All
almazv DateTimePicker Events don't fire
VS 2005 Beta2: I like the DateTimePicker, but it seems the events don't fire, neither click, doubleclick, mouseclick, mousedoubleclick seem to fire. Are these events not yet implemented, does one need to click at a particular location or do I do anything else wrong Thanks - Thomas Please post some code that reproduces this so that we can diagnose this. There is no magic to the code: The DateTimePi ...Show All
Disconnected David DataGrid Word Wrap
How do I incorporate word wrap in a datagrid cell I use asp.net and there are the methods of displaying data are so different, this column based style is new to me. Thanks, Jon ...Show All
Michael Legner Default from icon
Anybody knows how to remove the default icon when you create a form while keeping the minimize box,maximize box... Thanks. Yep, in vs.net, view the form in design mode. click on the form, not one of the controls within, but the& ...Show All
Jits Adding an IExtenderProvider to a custom base Form
I am trying to create a custom base class (based on Form) to use in my app development. I want this custom base class to automatically add an IExtenderProvider for all controls I will add when designing the application forms. I have created the base Form class and the IExtenderProvider. If I add the extender class to the form it will work with any controls I add to the base form. However when I create my app form, I cannot see the extender cl ...Show All
wcns How to enlarge a textbox cell of datagridview?
I have a "Description" column in my datagridview in a winform application. I want the editing area of the cell of column to be 1.5 times the original when user click on the cell, how can I do this Thanks. Thanks for your help. However, Can I do this in the event handler(e.g. CellClicked()) of datagridview instead of using a CellTemplate Any help is appreciated. You could extend the editing control by inheriting from ...Show All
Abdul Hafeez Source path of installation
Hi, How can I know from Installer class what is path of setup files Thank's Alexei Hi, I have found another solution: sending a source path by parameter. Thank's Alexei I used this code to find the relative path to the newly installed Assembly, perhaps it will help. string Path = this .Context.Parameters["assemblypath"]; -tdaley ...Show All
Lani78 Gant/scheduling control
Requesting a gant/Schedule control similar to that found in MSproject a databound control with Tasks Listed vertically with a graphical display of assigned Dates and ability to change views by day Month QTR and year Colin One alternative is&nb ...Show All
Mayukh142725 Gridview Delete Update
Hi, I have a standart Gridview control on my webpage, selecting the data is perfekt showing all data and sort and paging is working. When I push edit the Grid is changed to edit mode and i can type in the row, but when I say Update nothing happens, also when I push Delete nothing happens. What can be wrong Thanks for the help Best Regards Kim Thanks Sheo!!! After looking at it I've found that for some reason my ...Show All
