Answer Questions
Chris Battias Setup questions...
When installing my setup project, if the same app already exists it will throw an error stating to uninstall the previous one. How do I change this behavior Thanks, Tom You can change the ProductCode GUID and set the RemovePreviousVersion option to True. This will perform a Major Upgrade which essentially uninstalls the old version and installs the new version. ...Show All
blsamp Databound listbox not updating
I have a list box bound to a Name property in a custom class. How do I make it show changed data I have a NameChanged event and when I trap that in the form and show the listbox.text value in the debug window it is differen ...Show All
Mario Delamboy File Access
I am new to .NET development (very new) and am trying to write a very simple application that will allow users to look at a list of files, and download them (text files). The text files are on a different computer, and are accessed through a mapped network drive. When I try yo use the dir() function to get a list of files to display to the user, I can get file and directory listings for local drives, but not for any mapped drives. Any idea how I ...Show All
celina listview
Hi All, I just want to ask how i can get the selected item in a listview control in vb2005... Hi, Especially i want to use this to get the current item with all subitems to export 'em into a second form. Does this contains all of the subitems, too thnx Use the ListView.SelectedItems property: If ListView1.SelectedItems.Count > 0 Then Dim selectedItem as ListViewItem = ListView1.SelectedItems.I ...Show All
Liz - MSFT VB2005 - Listview Column Sort
I'm having a problem that is cited fairly commonly on the net. I've tried various solutions and all of them have the same problem. I'm trying to do a column sort. String variables sort nicely. However variables that are integer variables don't sort at all. The order is very messed up. There is some sorting but not based in the full magnitude of the sorted integers. Can anyone help me with this. I've tried several ways of doing this, beginning wi ...Show All
Damian Coverly PropertyGrid Invalid Property Value
Hi All, In my custom form designer, I have a property grid. I am having a problem while selecting multiple (>1) controls to change their common property. For example, if I select 2 labels at the same time, and change the size of them, I will get an error message saying "Invalid Property Value", and the details show "Specified cast is not valid." The property then got changed. But when I select only one control to change ...Show All
Ebaoll Programmatically loading a combobox in VB .NET 2005
I would like to programmatically (vb .net 2005) load a combobox with the values of a table (or from a sql sentece) All I have is the object (cbx as combobox), the connection (always open)m and the name of the table or the sql sentence... What is the code I have to put in the load event of the form thanks You need to create a DataAdapter and/or Command object to retrieve a DataReader or DataTable object to set as the DataSou ...Show All
Recep TARAKCIO?LU SplitContainer Splitter Gets Focus Rectangle?
Hello, I'm developing a Windows Forms application using tjhe VS .NET 2005 July CTP bits. What a tremendous piece of software! Miles ahead of previous versions. One thing I'm noticing is that the new SplitContainer control gets a "Focus Rectangle" during moving that persists even after the resize is complete. I believe that this is a bug, since I've seen no other application ever with a focus rectangle on the splitter... Can anyone comment Is thi ...Show All
Dmitriy_Vasyura Combination of fields as DisplayMember?
Hi, I'm binding to an array that holds class objects. Setting a DisplayMember works fine for one property like: cbPartners.DisplayMember = "Name"; cbPartners.DataSource = myArray However, I'd like the display member to be a combination of several properties like "FirtstName" and "Name". Is there any way to do something like that Thanks perfect, that helped :) You have t ...Show All
oyke Delay when load crystal report
I have an application which uses Crystal Reports with VB.NET and SQL Server2000 . My problem is, when i launch the report from the vb application it is taking a lot of time to display it. It is a normal report with no subreports. b ...Show All
Anuragsh_21 Custom cell for DataGridView
I did a custom cell that inherits from DataGridViewButtonCell i want to override the Paint method. I did so but i also want that when i click on the cell, it reacts like a real button. it toggles in and out. How can i do so Here is the paint method which i took from an example of msdn2 protected override void Paint(System.Drawing.Graphics graphics, System.Drawing.Rectangle clipBounds, System.Drawing.Rectangle cellBounds, int rowIndex, ...Show All
Dahlman How can I invoke the copy to clipboard functionality on the GridView
I see that the GridView already has copy to clipboard functionality when you set the "ClipboardCopyMode" property. If you press <Ctrl><Insert> the selected rows/cells/columns gets copied to the clip board. Does anyone know if it is possible to invoke the same copy functionality (as when you press <Ctrl><Insert>) from my program Hi, If you want to pragmatically copy data into the ...Show All
sogod After printing, focus goes to another form!
I have a main form that collects some information and then gives buttons to open other forms (like a menu). The other form collects more information and automatically prints a small print job. When the print job is printed, control returns&nb ...Show All
j_jst Simple multiple form application
I have an application with two forms, FrmLogin and FrmMain. When application opens up, FrmLogin pops up for authentication, once successful, FrmMain should open and FrmLogin should close. Looks like I can not close the FrmLogin! Any idea Thanks. This is&nbs ...Show All
gregaug Visual Source Safe Hell
I am having loads of problem using vb.net project under visual source safe. I’ll start with How can I exclude source safe information from the project when I take a copy of project home I don’t have source safe on my home pc. Every ...Show All
