Answer Questions
Terry Denham Running My EXE The Second and Subsequent Times Displays An Installer Popup
I have a Visual Studio 2005 C# forms project and a Setup installer project which generates a .MSI that installs the forms project. I run the installer and install the forms project, then I click on the installed EXE shortcut to run the forms project code. The first time I launch the installed EXE it displays the forms, but on the second and subsequent time I launch the EXE it first displays an installer popup, then reinstalls itself and then rer ...Show All
tigreye007 VS 2005 Treeview - Selected node font color, how do I change....
I setup a treeview and when I build the project and select a node in the treeview, the font color is transparent instead of white. How do you change the selected node font color in the designer of VS2005 I looked in the properties and could not find where to adjust it. I figured it out. I had my window forms transparency key set to "White", which made the white font transparent in the treeview. ...Show All
Chris Lorton change not reflected in the underlying data object
This is a basic question. Maybe there is a simple solution, but I just cannot find it. I have a TextBox which is bound to a data object's property. This data object implements IEditableObject interface. So this is a two-way binding . The data can be shown in the GUI control and the changes made through the GUI control will be reflected in the underlying data object. The code to bind is shown below. nameTextBo ...Show All
jberlanga Configuration Manager - possible bug?
In trying to learn the new architecture for application settings in .Net 2.0 I have come across the following and am wondering if it is a documentented error. I cannot access AppSettings or ConnectionStrings using the string indexer, but can only use the integer indexer. For example: System.Configuration.ConfigurationManager.ConnectionStrings["MyConnString"].ConnectionString This throws an error - generally that it is null. However ...Show All
jena How to quote back slash in C#
Can anyone confirm how to quote back slash "\" in C# Is it "\\" or something else I need to search for a back slash in a string. Thanks. yes. its' \\ the first one is an escape, and the second on ...Show All
Philip York Use of Custom Editor at run time
Hi, If I implement a custom editor by inheriting from UITypeEditor, Can I invoke it at RUN TIME from a standard control other than PropertyGrid, say a comboBox or a button If it is possible, could you please let me know how to do it or could you please direct me to some URL which shows how to do it. Do I have to create a custom control that inherits from control for doing this Thank you. regards. S Help Please !!! Surely your ...Show All
Keyser ADO.net and MS Access Errors
I am trying to update/insert/delete data using ADO.net connection to MS Access tables. I have successfully created a connection to a table and can successfully insert data into the table using the update command. But when i try to amend data& ...Show All
chenwen Data Binding
Hi, How should i correct the statements below, so that the ID text box will shows the ID=1 when the arrow of List View point to ID=1 Or is that any other methods to do this IdTextBox.DataBindings.Add("Text", dataset1.Tables["employee"], "ID"); Thanks. Hi, Below is the codes to build list view and event handler: //build list view public void FillListView() { //create the databa ...Show All
DarkoSK Bug in Control Box behviour..
Hi.. I have come across a strange situation. I have a winForm in my application.. which is normally hide /visible false but used to prvide the Even handling functionality for for Tray application. I have set ShowInTaskBar=false and IsAccessible=False f ...Show All
Vip80 simple email question
I would like to be able to have a form that populates an email with the To address, and an attachment, but I would just like to keep it simple and use the default mail client installed on the users pc. I assume this is a&nb ...Show All
SteveWolfe CheckedListBox vs Listview
Anyone here who knows the main difference between using a CheckedListBox control vs a Listview with CheckBoxes property set to TRUE Thanks... ...Show All
Neil Kirby C# and VB.NET in same app... Possible?
Hi all, I'm in a job surrounded by C# people, and I'm a VB.NET guy. To avoid learning C# (which is one messy language to a VB guy LOL) - can .NET, let's say, have one form/module/class using VB.NET and another C# ...Show All
Nibu Thomas Resizing a User Control at runtime with mouse interaction
Is there any way of resizing a user control at runtime recurring to mouse interaction. What i need to do is to resize an user control like i was resizing a diagram block in the same way we do it on microsoft visio, for example. I know it was possible to do it in vb6, but i can't find out how to do it in .net. I don't know which way to go to solve this. Can someone help me please There was a similar post ...Show All
RluD How to have text size adjust to fill space.
I have a resizable panel that contains a textbox. The textbox can only display a single character at a time. The textbox's dock is set to fill. How would I adjust the size of the text in the textbox to fill all vertical space available So as the panel is increased in size, the size of the text increases to the max possible visible size. And visa versa. Thanks. Here is what I did: private void GameC ...Show All
chris_sentman CheckListBox can ony load 65536 rows???
I am having a problem with the CheckedListBox class. It seems to load only 2^16 = 65536 items. Actually, let me rephrase that. It can load all the items I want to. But, when it comes to handling the ItemIndex to do any kind of arithme ...Show All
