Answer Questions
sheetalsonar Combox.SelectedValue is null after item is selected
In my new C# 2.0 windows application, I want to display drop down lists that hold key/value pairs. So I created a simple class "ClsLookup" with LookupText and LookupValue properites. I add instances of these lookup classes to a ComboBox's item list and set the DisplayMember and ValueMember properties of the ComboBox. After the user selects an item in the ComboBox, the ComboBox.SelectedValue property is null. The ComboBox.SelectedIndex ...Show All
Albert Yen Creating an application running within IE.
Hello all, Could anyone point me out to some tutorial on how to create and deploy a cab file which will run a .NET app within IE Thanks, M. I tried many sources to find good answers. This seems to be a subject that lies&nbs ...Show All
John Smiths How-to Start .Net executable with parameters?
I have not been able to find some documentation on how to pass parameters to a .Net windows forms executable. I am not sure what changes I need to make to the application to accept parameters I want to be able to issue something like System.Diagnostics.Process.Start("c:\myfolder\myapp.exe 1 T") where in myapp.exe I am able to read the two parameters on startup and implement some logic accordingly. Thanks in advance. ...Show All
ASP.noob Editable Panel within UserControl
I have a usercontrol that I drop a panel and a label onto. I dock the label to the top and the panel dock to fill. When I drop my custom usercontrol onto my form, I can't add controls onto my panel. I want the ability to add ...Show All
Den1se How to fix the print dialog issue in windows forms?
I am using VS2003 c++ (c# also fine). Just coded a print and printpreview function, and both are working. The issue is when I click print, first time, it does not show labels such as printer, page range etc. Any number of clicks does not help until I click print preview. Thereafter, print button gives all the lables. Look like a common issue, setup missing some place. Thanks The code void btnPrint_Click(Object* sender, System::EventArgs ...Show All
Jonleeofbj horizontal separator between MenuItem-s
Hi, I created (without the designer) a menu, and the items show nicely one below the other. But I would like a horizontal separator something like File New Open -------- Exit I tried with properties like Break and BarBreak, but that is not what I want. There is a frequently used Windows standard, which i ...Show All
Markdem yes/No column in Datagrid??
Hi In Windows datagrid, one of the column is a boolean column, in which, user don't want to see True/False. They want to see Yes/No. Similar, kind of requirement is when another column is bind with a checkbox. They don;t want checked or unchec ...Show All
Drew Wildner Updates are soooo Fun
Ok has anyone come up with any good ways to speed up updating in simple applications Not N-tier and such just a simple little application communicating over a network to a database, lets say an access database. Flat but wide file. Updates from ...Show All
Marian Todorov Where to download TaskVision Database!
I can not install TaskVision. Who can give me a DataBase Script to download! Thanks a lot! I want to use C# version. But a parameter problem was occured during my installing server code. I can not solve this problem, so I want&n ...Show All
Elena Kharitidi What is the ASPNET Windows account for?
Hi anyone, Just wondering why is the user name called ASP.NET appeared in the windows User Account without creating it, and any effect if get rid of it since it is the limited user type but not administrator type. This account is automatically installed by the .NET Framework for use by the aspnet_wp.exe worker process. ASP.NET web applications are run under this account. ...Show All
QuantumArchitect Child window Size problem
I have initialized the Form1 parent window shown below: void InitializeComponent(void) { // // Form1 // this->AutoScaleBaseSize = System::Drawing::Size(5, 13); this->ClientSize = System::Drawing::Size(292, 266); this->FormBorderStyle = System::Windows::Forms::FormBorderStyle::FixedSingle; this- ...Show All
Fametown.com Getting program version
I need program to write its version. Can i do it someway I mean the version which is specified in setup project The setup project is a different assembly, and most likely, it saves the information in the registry (thinking of&nb ...Show All
Andre.Ziegler ovveride OnPaint not called on Custom Tab Control
Hello I am trying to create a custom tab control which inherits from a tab control but my ovveride paint does not get called Does anyone know why i just want to draw the tab control my own way namespace CustomControls { public class TabControl : System.Windows.Forms.TabControl { public TabControl() { this.Name = "ScrollingText"; this.Size = new System.Drawing.Size(300, 300); } protected override void On ...Show All
Voodoorider How do i retrive a datatable from a listbox.Datasource.
Hi guys, Supposely i used a DataTable to set a listbox.DataSource, how do i retrive the Datatable with its columns and rows from the DataSource i tried the following code DataTable myTbl = (DataTable)myListBox.DataSource; it returns a reference to an array of Objects, when i tried to access/use the Datatablem, an null reference to the object is always encountered .. ...Show All
cornholios40 Filtering data using passed value from another control
Using VS 2005 and its new features like TableAdapter, I was able to display this Customer/Orders -like structure in my form(frmMain) with so much ease.Now I designed it in such a way that a user can display the data he wishes to see by using another form(frmChoose). This frmChoose basically had a datagridview which displays all of the Companies and once the user select a Company, I want it in such a way that the value would be passed ...Show All
