Answer Questions
Bob Pokorny Problem accessing a windows application with HTTPS
I am facing a problem with web deployment of a windows application, What i am trying to achieve is I have deployed a smartclient on webserver and trying to use it from a client application and IE. The windows app is a very simple application. Accessing with a client APP: I am loading the exe using Assembly.loadfrom by giving the URL as the input. In the client app if i give the HTTP URL it works fine. If i change it to HTTPS (SSL) it thro ...Show All
VIGILJO getting off spash screen
My splash screen won't go away! Could you please post the necessary code to make it go away Well then I'd like to know a bit more about what exactly you are doing. How are you displaying the splash screen Could you post part of the code segment here -Mamta How about trying this code, assuming Form2 is the next form you want to display Form2 ff= new Form2(); ...Show All
F.Chen UserControl question's
I am a newbie to the .net enviorment and probably have a silly Can anybody tell me how or if you can create a user control that is backward compatible with 2003 Can I install the 2.0 framework and then use a control made in 2005 H ...Show All
marioc Word Document closed notifocation
Hi, I want to develop an shared document application with smart clients. The user downloads a word doc file from server, which is opened in MS Word. I want to know after the user closed the word document, that the document has been close ...Show All
juliomgm How to serialize with TreeView?
How to serialize with TreeView in .NET 2.0 Very nice article! I made one adjustment to your code to eliminate the need for the assumption: 'One assumption about this method is: Since all nodes a serialized based on their "full name" field, no two ROOT nodes can contain the same name (Text property on the node) otherwise the serialization will fail with a SerializationException saying someth ...Show All
Brandon Teoh How can I get the DisplayMember value in a combobox in the datagridview?
I have a datagridview dgv with columns name and companyID, companyID column is a combobox, now, how can I get the DisplayMember value and not the ValueMember Get the cell's FormattedValue instead of value. -mark DataGridView Program Manager Microsoft This post is provided "as-is" ...Show All
BIODIGITZMAN Bug in Object.Equals method.......?while comparing boxed object...
I don't understand whether its a bug or not... Consider this code. int i=1; int j=1; Object ii=(Object)i; Object jj=(Object)j; 1) Console.WriteLine(i==j); 2) Console.WriteLine(ii.Equals(jj)) 3) Console.WriteLine((Object)i==(Object)j); Resuls: 1) True. 2) True 3) False Why its giving difference result for == operator and Object.Equalse() method while comparing object after boxing(ie int are type c ...Show All
Lakshmi Kanth How to capture an event of a control y ParentForm
I'm working on a control that verifies that a text box contains something when clicking on a button. My control has two properties, one for the textbox and other for the button. I've added a delegate for the .Click event of the button, but in&n ...Show All
Udo Eberhardt ListView - OwnerDraw + Background
I need an OwnerDrawn ListView plus a custom background. SetStyle( ControlStyles .DoubleBuffer, true ); SetStyle( ControlStyles .UserPaint, true ); SetStyle( ControlStyles .AllPaintingInWmPaint, true ); ...works, causing OnPaint and OnPaintBackground to be called. Have used this frequently. Trying to use the new .NET 2.0 OwnerDraw feature, however, causes problems. Adding this .OwnerDraw = true ; Causes OnDrawItem to be c ...Show All
Justin Lindh SIMPLE question for all you .NET geniuses
Not that I'm NOT a .NET genius!!!! I just want to make sure YOU ALL know!!! (OK ENOUGH OF THAT!) I'm a genius-WANNA BE Let's say we create a form, a class derived from the form class. Now, this form has buttons and everything in it. &nbs ...Show All
Clement M toolstrip.overflowbutton BUG?
Dear all, I have in C# 2.0-Application of me insert a toolstrip-Menu, something comes to a overflow, and a overflow-button is displayed. Because I have custimize the toolstrip-menu, I will custimize the overflow-button too. I custimize the overflow-button with the command this .toolStrip1.OverflowButton.ShowDropDownArrow = true ; this .toolStrip1.OverflowButton.Text = "More >>"; this .toolStrip1.OverflowButton.ToolTipText = "MOR ...Show All
rpallares strange combobox add errors
Simple code, make a class that overloads ToString, so that will be the text displayed in the combobox items, add instances of that class to Combobox.Items. but if ToString returns null you get a strange error. when running normally, you get: "Too many items in the combo box" when running with the debugger, you get: OutOfMemoryException. This make it very tricky to debug :S Tho if you go combobox1.Items.Add( null ); you get the correct ...Show All
dragonsbb16 Binding Navigator Problem
Hi, I was wondering how you see the code for the previous, first and delete buttons on the binding navigator. The reason being is I run my application and the user presses the + button which displays a new record but if they then press the previous or first record button the program crashes with an unhandled exception. This is because there are fields in the new record that are required. I have put in a try catch for the Save button click ...Show All
Benjamin Day combo box requirement
Hi, My requirement with combo box is like this. When focus comes to the combo box then only it should display drop button, when the focus looses It should just display like text box. Thanks for the advanced help. Regards pavan kumar Here is a way; public partial class Form1 : Form { TextBox tb; public Form1() { InitializeComponent(); tb = new TextBox (); } ...Show All
scsi0505 Sticky question
What's the best technique used to see all the events and the order in which they execute during the life of a winform carrying labels, textboxes, checkboxes, and dropdownlists, etc Thanks. I appreciate your detailed explanation. Please ...Show All
