Answer Questions
Vikram Chudasama Binding a datagrid to a custom typed dataset
I'm trying to bind a datagrid to a custom typed dataset without much success. I want to do it a design time so I can use the table mapping tools. I'm creating the dataset with the XML designer, adding the dataset to the form by ...Show All
Corneliu Barsan_MS Datetimepicker bug
i have a datetimepicker with a showcheckbox property set to true. I set the format of the date to MM/dd/yyyy so that i can input numeric dates. But everytime i input the numeric dates the cursor focuses on the checkbox control. This is obviously a bug. is there any workaround to this problem please help. To attempt to clarify your issue, you have a DateTimePicker on a form with other controls. Programatically setting the date of the DateT ...Show All
s1981s Windows Explorer Default Tile Size
What is the default tile size used by the Windows Explorer when using the Tile view I would like to recreate my own file explorer (using a ListView control) but I wish to mimic as closely as possible the look of the Windows File Explorer. The ListView has a TileSize property which I'd like to set to the exact tile size Windows uses. ...Show All
hesidoyo How to print content of Listview?????
Hi to all, How can I print the content of a listview Please help me! thx juvi ...Show All
Fil52724 syntax help for select case
Hi, please tell me what I did wrong. I have a select case it is working like this: Select case mycombo.selectedItem case "Company" DoSomething But if I replaced 2nd line with Case "Company" or "Account", I got this Cast from string 'Company' to type 'long' is not valid error. What is the right syntax here Thanks! Dim s As String = "Account" &nb ...Show All
Brendan Green Multiple installs, multiple versions, multiple sources
We've got a situation where our consultants will go into multiple customer sites and have to run a specific application that's installed from servers at each site. The customers may each be on different versions of the application, but the consultant will have one laptop and will need access to each version. Will ClickOnce set up different instances of the app in different folders automatically If not, how can the application, or man ...Show All
pookie_halo Displaying images on a form using code
I was looking if someone can give me some help with my code. I need to know what the best way would be to have a dialog box that returns an array of image filenames and use that array to create a new picture box for each image that was selected and display it on the form Should i use a for loop or a foreach loop I think I just need help figuring out the best way to create a new picture box for each image. What I plan to do after the images ...Show All
RenRen le casseur Non-Decorated Functions in VB.net
Hello all, I have been fighting with this for some time now. I need to create non-decorated functions in a VB.NET dll to expose to another programming language. Currently I have only found a few scattered C++ examples and that's about it. Any help would be greatly appreciated. >So I suppose what I am asking is, is there a way to make a VB.net dll expose itself to other MFC apps and COM apps as though it were MFC. No, ...Show All
RichLeyshon Ambiguos error...
Hi all. I have very strange problem and make me crazy. I don't know what it is. This is the code: int id, n=0; this.treeView1.TopNode.Nodes.Clear(); for (int i = 0; i < ApplicationState.GroupCount; i++) { id = Convert.ToInt32(xml.xmlData[0].ChildNodes[1].ChildNodes .Attributes["GID"].Value); this.treeView1.TopNode.Nodes.Add(xml.xmlData[0].ChildNodes[1].ChildNodes .Attributes["GroupTitle&quo ...Show All
BrunoCO Check node level in treeview
Hello, i have a nested treeview structure.When I click on a particular node I wnt to find out the level of that node in the treestructure.Is there a method or property in treeview to do so. supriya Public ReadOnly Property Level () As Integer Member of: System . Windows . Forms . TreeNode Summary: Gets the zero-based depth of the tree node in the System.Windows.Forms.TreeView control. Return Values: The zero-base ...Show All
shanku giving a panel focus
I am sure its simple, but I have searched about and can't seem to et something working. Simple window, i created a panel in. Here is what I have and have tried: The commented portions are what I have tried. [code] private : System::Void IrrlichtPanel_Paint_1(System::Object^ sender, System::Windows::Forms::PaintEventArgs^ e) { ObjDisplay->init((s32) this ->MyPanel->Handle.ToPointer()); //this ->MyPanel ...Show All
JBeyer Gridview and getting current row/cell
This is a truly stupid question. I have done this a million times with 1.1 and asp.net but cannot figure out how to do this using .net 2.0 and a WINDOWS application. Basically I have a gridview control which contains some records. The first column contains the primary key for my record. When the user clicks on a row I want to extract the value held in the primarykey column so that I can get that record from my dataset and display ...Show All
Anthony Whalley Visual Basic
Hi a newbie question for anyone who is into VB. Anyhow is VB available ffor Mac OS X Or at least is their an application that will make VB programs and files run... at least for database and all. Thanks. Not directly, ...Show All
Pravin03 NumericUpDown bug with data binding?
I have a data entry form where I am using a NumericUpDown control. I have bound all of the controls via a BindingSource to a class I have created in my application. If I click in the control and change the value from 1 to 10 by simply adding a zero on the end, the bound value does not get updated when I use the tab key to advance to the next control. If I use the mouse to select another control the bound value is updated. If I select or erase th ...Show All
abrang .msi file created under Visual Studio 2003 does not run under .NET 2.0
My applicaton and its installation package was created under Visual Studio 2003 for .NET 1.1. Unfortunately, my customer upgraded all their w/s to .NET 2.0. Now, each time the .msi file runs, this is the error message I see: "This setup requires the .NET Framework version 1.1.4322. Please install the .NET Framework and run this setup again. ...." I've tried to edited the setup.ini file to set SupportedRuntimes and the Property VSDSupp ...Show All
