Answer Questions
Damiaan 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
Nate_CeeCual_n_D0TN3t Programming windows form in .NET
Could you tell me some titles of books for programming windows form. I would like to design a typical of windows form. Thanks to kind people. i'm reading "programming microsoft visual basic .net" by Francesco Balena. isbn 0-7356-1375-3 it covers dot.net 2002; i know it's old but he writes well and the content is very deep, that way you really know what you're doing; ...Show All
Matt213213 Controls Gone!!
I have no idea what just happened. I was adding items to my menu through the designer, I then got a message that said something about the Items in the collection..blah blah...with an OK button. I clicked the button and then to much my dismay, all of the menus I created are gone as well as the statusbar at the bottom my window. All if the controls are in the designer.vb file and I have tried rebuilding, closing everything, opening, de ...Show All
dpighin82 Datagrid - Background color of the cell
In the datagrid I have two columns Name and Start_date If start_date is today's date I want to show the Background color of the cell as green Thanks My problem got solved Check out this link: http://www.syncfusion.com/FAQ/WinForms/FAQ_c44c.asp#q745q Tony ...Show All
agerman77 Connecting to DB2 from VB. NET
I can connect to DB2 using the following code. objDB2Conn = New Odbc.OdbcConnection(strConnStr) objDB2Cmd = New Odbc.OdbcCommand(strSQL) objDB2Cmd.Connection = objDB2Conn objDB2Cmd.CommandTimeout = 0 objDB2Conn.Open() But i am trying not to set the username and password in the connection string (strConnstr). I want to get the datasource prompt dialog box that is automatically shown when trying to create a connection (say from access or even c ...Show All
Keith Crile Detecting Dirty Data in local DataTables
This might be a pretty easy question, but I am very new to ADO.NET.. Here is the scenario, there are 2 users viz. A and B. User A has a local copy of a DataTable and user B has his own copy of the DataTable. User A has ...Show All
nubie Locking down the desktop
I am writing a custom web browser that will only allow users to view a particular website while taking an online test. While the user is taking the test, I would like to limit their desktop funcationality (ie. prevent them from running other ap ...Show All
Need the scoop databinding to a label
I'm having trouble with some code that should be pretty easy. I have a text box where I enter a name, press a button and a query is sent to the db. Then the results of the query are databinded to a label. Works great the fir ...Show All
JCampos Combobox multiple columns
Is there a way to display multiple columns in a combobox (like access) Thanks ThE_lOtUs wrote: http://www.google.com/search hl=en&lr=&q=vb.net+multiple+columns+in+a+combobox Check the first link http://www.codeproject.com/vb/net/multicolumncombo.asp :) Those are ok, but when you inherrit from textbox en use a captionles form (in this case with a Datagrid) as editor you ...Show All
Funkyavocado How to populate a listview?
Please help, i want to populate my listview from a datasource, how do i do that all i can find in the web is adding single listitems and subitems, i'd appreciate any help. and also, deleting multiple items.. thanks in advance. thanks chris! how about the outlook interface did it use a listview or a datagridview Here's a C# example: // Sample DataSource ArrayList arylst = new ArrayList(); arylst.Add("Test Data 1"); arylst.A ...Show All
CARR215 "dll not found" using VB6sp5 windows xp
application giving msg "dll file not found" in windows xp but works fine with windows 2000 both machines have VB6 service pack 5. the dll is in the application path for both the machines First of all, you'll get best s ...Show All
Randy the new guy Click once - When running install only getting .application xml in IE
Hello, After I publish my application to a web site and then I try to install it using the publish.htm page all I get is the applicationname.application xml displayed in the browser. Is this a problem with my internet host or am I missing something simple I tried a 1 form project to make sure it was not anything to do with my current project and got the same results. Thanks for your help! JR Th ...Show All
aarrgghh Dressing Up the UI
I'm working on an application that could be easily deployed with standard controls like buttons, listboxes, etc... However, I really want to dress it up a bit with fancy buttons on other graphical elements. What's the best way to do this Do I  ...Show All
AShika Printing Multiline Textboxes
Hello I am developing smart client application and I have a problem with printing out textboxes output. I have two columns of the multiline textboxes on a panel. They have word wrap set to true. The panel is my main working area and the content of the panel is printed on the A4 format. In Print_Page function I am iterating through the panels collection of the controls. Then I cast control to TextBox type and print out their text property using ...Show All
Sachin Kalse DataGridTextBoxColumn in DataGridView
hi all, I have the DataGridTextBoxColumn in the DataGridView, the DataGrid is associated with some DataSource and internally with a table, The table has some columns like CustomerID, CountryID, CityID etc., I want todisplay the CustomerName, CountryName, and CityName, instead of ID, which areassociated with some other master tables, Actually, I can do this easily with DataGridViewComboBox column, as we can attach seperate DataSource ...Show All
