Answer Questions
netwanderer InputBox- simple text input without requiring a whole new form!
hi, remember VB's InputBox function which prompted the user for a string how come we don't get this with .NET designing a whole new form seems like overkill. somebody tell me i'm missing something :) thanks tim Set a reference to ...Show All
Spoofed ClickOnce installing in Documents and Settings\{user}\Local Settings\Apps\...
How do I get this to install in programs/{appname} with ClickOnce You can't. Or at least the application can't. This FAQ says the administrator can change the location of the ClickOnce store. I've never looked into how to do that. http://www.windowsforms.net/FAQs/default.aspx PageID=1&CategoryID=24&tabindex=2 Mike Yea, I realized that it doesn't work. I was ...Show All
vectorvictor Viable click-once scenario?
I am an experienced win-forms developer (but not it asp.net). I have an application scenario where I am wondering if click-once deployment would provide benefit. Basically, it is an internet web/html based training program that needs to launch a local 3D simulation environment (based on the Gamebryo gaming engine). In a perfect world, this is how I would like it to work: 1) User runs through the training web pages, and gets to the simulatio ...Show All
KennS Newbie: Datagridview Getting selected row index
How do I get the index of the currently selected row in a datagridview If there is a bindingSource, maybe use that: bindingSource.Position Peter ...Show All
ASMS Reference to System.Data created for every new form
Every time I create a new form it creates a reference to System.Data and puts the 'using' statement at the top of the code file. But if I delete this line of code and delete the reference, it still compiles fine. Is this just a redundancy overlooked This is just part of the form template. If you are not accessing any data components, then you don't need it. ...Show All
Kim Madsen How to change the font colour of StatusBarPanel
Hi all, May I know how to change the font colour of the StatusBarPanel Please let me know. Thanks With the default StatusBarPanel you can't set the ForeColor. You can inhire the StatusBarPanel class and set the StatusBarPanel.Style property to StatusBarPanelStyle.OwnerDraw to draw your own colored text in the StatusBar.DrawItem event. Here is a little example: Interface and inhired class public ...Show All
Muhammad Khaliiq Azhar Listview Databinding to a either a datatable or business object how?
Hi, I know that databinding has largely improved in vs2005. However I cannot seem to put together a databindingListview. Could somebody help me with an example how to do it. thanks a lot vbjunkie@hotmail.co.uk I know that listview doesnt support databinding however i was wondering if somebody had written a databinding listview in vs2005 . That s all. anybody willing to share the code thanks a lot in advance ...Show All
ismail-marmoush Transparent button on gradient background?
Is it possible to have "truly" transparent buttons, ie have them render correctly on a control that has a gradient background I seem to remember that with VS.2005/.NET 2.0 one has more power to override and do custom control rendering, but have yet to find a solution. In addition to the button being transparent it should also be able to contain and present an image, rendered with transparency (PNG for instance). Can this be done with a butto ...Show All
C_w Smart Tag Display On Design Surface
Hi There I'm creating an application which hosts the window forms designer using the DesignSurface Class When I place a Control on to the designSurface all the adornments for that control show up apart from the SmartTag button. I'm just wondering, do I need to create my own implementation of the smart tag panel and If so, am I right in thinking that I just need to create my own SmartTag Adorner (with relevant glyph and behavior) ...Show All
Thomas I Malmo Sweden Getting an Error when Signing a Click-Once Application
I got an authenticode (2048 bit Microsoft Enhanced Crypto v1.0) key from instantssl.com and ran pvkimprt on it. Both my .spc and .pvk are directly under C:\ Since I installed pvkimprt to the Windows directly it exported the .pfx file to C:\Windows I then moved the .pfx file to C:\ and ran the cert manager to import the .pfx into my personal store. So far so good, or at least I thought. In Whidbey Beta 2 I loaded the .pfx from the store (Select f ...Show All
CCOLDUDE ListViewItem state image change
Hi, I'm trying to change the ListViewItem's StateImageIndex property in the ListView.ItemActivate event handler. The problem is that after the state image has changed, the previous state image is still visible through the transparent sections of the new image. Is& ...Show All
XJudy Problem with Minimizing both Forms
I have asked this question before but I may have described the issue a little poorly. Basically I have 2 Forms. Form1 & Form2. I start the application with Form1. On Form1, I have a button and it's click event has the following code to launch Form2. Form2 frm2 = new Form2(); frm2.ShowDialog(); When I minimize Form2, Form1 is still in the background. Now, the first question is, how do you minimize Form1 as well, when Form2 is minimized The s ...Show All
Oberon MDI Maximized children forms without controlbox?
MDI Maximized children forms without controlbox I have been searching the web and everywhere I asked the question, the answer is that it is a Microsoft Bug. Well instead of telling me that it is a bug, how do I fix this My situation: I have a parent form (frmMain), a welcome/startup (or background) form (frmWelcome) and other child forms for data capturing. The idea is that when the program runs, the welcome form is displayed and stays displ ...Show All
Sans103171 Customizing DataGridTextBoxColumn
I am customizing DataGridTextBoxColumn. How can I access properties in DataGrid to which custom DataGridTextBoxColumn will be added. Say for instance, how I would access SelectionBackColor property of the DataGrid to which this custom column is added Do I have&n ...Show All
Gail Erickson [MS] Passing data
What is the best way to pass data to an running application I use the args in the sub main on start- but after it is running I need to pass it new data Thanks, That all depends on how the application is designed ...Show All
