Answer Questions
Roel van Lisdonk ComboBox Binding with a Blank Selected Index Initially???
I'm making a search engine windows app that contains ComboBoxes that are bound to my SQL Server database. It would be so much better that once my ComboBox is bound that I could have no item selected (so a blank) incase they don't want to include that in their search but I can't seem to do that without putting in a blank record in my database and that seem soooooo wrong. The only answer I can think of is maybe populate an RA with the data leav ...Show All
Lornita_Kong Populating DataSets
Hi, If I create a data-bound form by dragging a data source onto my form, the code to populate the underlying dataset is not generated. Obiously it is a simply line of code, but is it the plan to make this automatic as well Regards Allen ...Show All
purecharisma Virtual ListView crashes on VirtualListSize
Example: - listview with 20000 virtual items - RetrieveVirtualItem() feeds some dynamically created items - scroll to the end of the list - set VirtualListSize to 200 (via a button click for instance) You'll then crash internally with an ArgumentOutOfRangeException exception (here at index 200). Nothing helps to avoid this. Really odd. The crash happens somewhere in ListViewItemCollection.get_Item(). Looks like something isn't aw ...Show All
ArchMcFry Update Command error
Even if I create a new record, after entering contact details I get this error message: update requires a valid updatecommand when passed datarow collection with modified rows error The problem is made worse from the fact that my code was mainly created& ...Show All
Sérgio Vasquez dataview
I am populating a windows DataGrid using a DataSet at the moment. (i.e. DataGrid1.DataSource = Dataset1) Now by checking the checkboxes on the form, I would like to filter out some of the rows in the grid. I think I have to use a DataView. Do you know how to do this please Thanks dim dv as new dataview Dv.Table = My Dataset.mydatatable dv.rowfilter = mycriteriastring (eg: Username = "Remco") datagrid.datasource ...Show All
manguyus Problem With CheckedListBox
I' have more then one cheked objects in the list but I get the same (first) value all the time, despite the index is change. Hear Is the Code strQuery = "SELECT code,name FROM tbl001 ORDER BY name"; orclDa = new OracleDataAdapter (strQuery, strOrclConn); orclDa.Fill(orclDs, "tbl001"); clbMifalim.DataSource = orclDs.Tables["tbl001"]; clbMifalim.DisplayMember = "name"; clbMifalim.ValueMember = "code"; foreach ( int ...Show All
~rabin Ordering Items in a Property Grid
This is really pathetic. I have tried a ton of stuff to try to order property grid items in VB.NET but it seems there is no way. I have heard that it is a VB.Net langauge bug, but very low priority on Microsoft's list... Well, its something everyone with a propertygrid wants, so can't Microsoft just add an Attribute for "Order" pizzayoyo wrote: Ok, i found how to do it in VB, by converting a C# fi ...Show All
Matt Brunell Hide print status
I am having this problem to hide the print status dialog during the print and I haven't found any good solution to it hope this post gets me the solution. My problem is I dont want to display the print status dialog which says printing page 1 of 2 with cancel buttons & everything. Is there anyway to disable that dialogbox appearing. I found in few places to use StandardPrintController but even that doesn't help. Any suggestions ...Show All
DaveVance Passing arguments in a ClickOnce UNC deployed project
I have a ClickOnce application that I am distributing by both web/HTTP and UNC. I need to pass arguments to my application. When I launch from the web address, I can use System.Deployment.Application. ApplicationDeployment .CurrentDeployment.ActivationUri along with a launch URL of URL.application arg=value and parse the query string. However, I can't find any way to do the same for a UNC URL. The ActivationUri is null whe ...Show All
pjella ** Urgent ** - Time
I have a statusbar1.panel(0).text that displays minutes in string form. Could someone explain how i can convert these minutes into hours and then display in the same place. Many Thanks. Petang I'm not using a timer. Im using several DateTimePickers& ...Show All
Narendra Data and multiple threads?
Hi there I'm a bit of a database wimp and need to know the best method (at least the likely best anyway) of doing the following: I have data arriving at the computer from an external source over IP. The data is text delimetered. Records can arrive as slowly as once in 5 seconds and up to 10-20 per second. I need to be constantly monitoring the socket and when packets (records) arrive, spilt it up and put it into a table that is ...Show All
KeithM TaskVision client destroyed my PC!
I've decided to repost this message as separate thread cos I don't think it's getting the attention I deserves. Here's the problem... I installed the TaskVision client about a week ago, and immediately after started noticed weird things happening to my ...Show All
marcexx66 Blank Rows in DataTables
I've implemented a function to insert a blank row into my datatable, however, I'm running into a few issues with it. Namely, it's not adding a blank entry for all the columns. Is there a way to iterate through the columns in my combobox, and based on the datatype of the column, insert the appropriate blank value Currently I have the following: Friend Shared Function InsertBlankRow( ByVal Source As DataTable) As DataTable ...Show All
Theron how to draw a line on the form?
how to draw a line on the form Dim g As Graphics = Me.CreateGraphics() g.DrawLine(.....) g.Dispose() ...Show All
MarceloVallim adding an object to a datarow cell?
Is there any way to add an object to a datarow cell or can a cell only have text I have a datagrid and when I click on a certain cell, I'm trying to take that cell information and display more information based off of the& ...Show All
