Hi, how can i open an existing excel file as a new document. and if user close it from upper left close(X) button of doc, then it should ask to save the document as a new excel doc file.
amit
modified on Friday, March 20, 2009 7:57 AM
Hi, how can i open an existing excel file as a new document. and if user close it from upper left close(X) button of doc, then it should ask to save the document as a new excel doc file.
amit
modified on Friday, March 20, 2009 7:57 AM
when i am using NativeMethods, then i am seeing fallowing error : NativeMethods is inaccesible due to its protection lavel. Am i missing any assambly reference?.
amit
i got the answer by myself. if any one have the same problem then do this. 1.)Add a column and then set its view property by view.detail.so all item will be visible vertically instead of horizontal. And if you dont want column-header to come with list view items. then set ListView HeaderStyle property by None.
amit
how can i show windows form in fixed size.
amit
Hi, is any one having idea about, how to shows items vartically in listview instead of horizontally.
amit
how to disable arrow keys on grid to fire any event. without inharit grid class.and override processcmdkey event.
amit
Hi all, When I double click on a ListViewItem, I don't want the checked property of the item to change. By default, this does happen and I can't see a way of disabling this behaviour. Thanks in advance.
amit
Hi, i have got a error when i double click on ListView of .Net control, in windows form.can any one tell me its solution. at System.Windows.Forms.ListViewItem.set_Checked(Boolean value) at System.Windows.Forms.ListView.WmNmDblClick(Message& m) at System.Windows.Forms.ListView.WmReflectNotify(Message& m) at System.Windows.Forms.ListView.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
amit
Hi, i have got a error when i double click on ListView of .Net control, in windows form.can any one tell me its solution. at System.Windows.Forms.ListViewItem.set_Checked(Boolean value) at System.Windows.Forms.ListView.WmNmDblClick(Message& m) at System.Windows.Forms.ListView.WmReflectNotify(Message& m) at System.Windows.Forms.ListView.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
amit
Hi, i have two object of same class, suppose object name are class1 and class2. and i have made class1 object and assign it to class2 object.if i do make chages in class2 then it also affact to class2 object. but i dont want this.means if i make any changes in class2 then it should not affact to class1 object. so for thos what should i do. please help.
amit
Hi, can we can open .aspx page without showing its extesion. i mean, suppose my aspx page name is info.aspx, but when i ren the application then it open the page /info , form but .aspx should not come,while opening page.
amit
Hi, i have a button on my form.and i want Rounded border at all sides of button.so how can i do that.
amit
can we hide focus from grid cell
amit
how to deactivate grid cell if it is active.
amit
i want it in splitter control panel2.which i have used in user control.
amit
Hi, i have a user control windows form.where i use splitter control. and i drag this user control on another form. i want scrolling on my user control.for which i have use used splitter control.but splitter control,do not shows scrolling (splitter control panel2) so how can i show scrolling in user control, when i drag it in to another form.
amit
thanks for this. but i want to set Style for header also.so if you have any suggestion regarding this.please reply.
amit
hi, is it possible to set font or diffrent style for popup message box in c# windows application.
amit
how to detarmine mouse event c# row selection with key. like shift or controls key. so how can be find to select row according to ctrl or shift key
amit
you can add Template column in datagrid dynamicaly according to ur recqurement. where you are binding you can write this dgExample.Columns.AddAt(position,templatecolmn) or u have option like you can use protected variable at code behind page and assign it to column like this suppose strHTML is protected variable at code behind then write in code behind page like strHTML=" " and use it in your aspx page like this <%=strHTML>
amit