| Drag and drop inside a treeview control (3 replies) |
| ASPFriends.com 'winforms-cs' list |
| Does anyone have an example of how to do drag and drop within a treeview control? I want to be able to move my "folder" items around in the treestructure. Odd Helge Gravalid |
|
| C# vs C++ (2 replies, VIP) |
| ASPFriends.com 'winforms-cs' list |
| Dear All (especially all Microsoft peeps and list modifiers and anyone who really, really knows what they are talking about) I have a major question && decisions to make, so I need advice. I studied Computing Maths at college and we were tought Ada and Maple and a bit of Borland C . I started to get into computers somewhat and in the summer just before my final year I bought Visual Studio. The goa... |
|
| Windows && COM && dotNET (2 replies, VIP) |
| ASPFriends.com 'winforms-cs' list |
| Hi Again ... And what is the future for COM ? You only have to take a look with oleview.exe to see that the whole of the Windows system and just about every component is registered with it. Surely this is not about to change ? What's up ..... perhaps Microsoft have run out of room in the CLSID space ???? Maybe they need to slow the registering of components down a bit before things start going ver... |
|
| Links in a datagrid (4 replies) |
| ASPFriends.com 'winforms-cs' list |
| I'm a newbie to winforms programming but have a fair amount of webforms experience so bear with me. I want to create a datagrid with basically a hyperlink column that opens another form. Very similar idea to the project table on the start page of VS.Net although I note that that is an htm file with javascript. The datagrid, no problem. The link column I'm not so sure about. I've done some digging ... |
|
| RE :: Mitch Denny (2 replies) |
| ASPFriends.com 'winforms-cs' list |
| Mitch ... Thanks for that lot, I know you didn't have to. It's just that the only contact I have with anyone is through these lists as I'm unemployed. And I needed to get some idea of the working world and its attitudes and direction, etc. Don't get me wrong I do intend to learn C# and managed C in depth ( I already have ... asp.NET is covered) .... it's just I feel I should dive into COM a bit fi... |
|
| 1 App Instance and Switching App Focus (5 replies) |
| ASPFriends.com 'winforms-cs' list |
| Hey list, I have here some code that makes sure only one instance of my application runs: using System; using System.Diagnostics; using System.Windows.Forms; class Foo: Form { 20 public Foo() : base() { } 20 20 public static void Main( String[] args ) { Int32 RunningProcesses 3D Process.GetProcessesByName( Process.GetCurrentProcess().ProcessName ).Length; if ( RunningProcesses 3D 1 ) { Application... |
|
| Column indexes do not change when reordered in ListView (5 replies) |
| ASPFriends.com 'winforms-cs' list |
| Hi, I have a listview which allows the user to reorder the columns. However, once the user has reordered the columns, I can not get the new index position of the columns. The columns collection does not seem to be updated. Has anyone ran into this and is there a work around? Thanks. Benson |
|
| ActivateMdiChild (2 replies) |
| ASPFriends.com 'winforms-cs' list |
| Doesn anyone know how to use this method or a similar method? I have a tabcontrol with my child forms as tab pages, but I want to be able to activate the appropriate child form when I click on the corresponding tabpage. Please help! Thank you, Thomas Breivik |
|
| Drag and drop special items (2 replies) |
| ASPFriends.com 'winforms-cs' list |
| I have an application with some person objects. I want my users to be able to drag and drop this objects to some special other objects in my application. But I DO NOT want them to be able to drag them ANYWHERE else. Not to the run line. Not into the visual studio editor. Nowhere except for those special fields in my application. 20 Anyone have a clue how to do(make the workaround) for this? OddHel... |
|
| *NEW* Autodeployment article and sample (2 replies) |
| ASPFriends.com 'winforms-cs' list |
| I just wanted to let you know there's a new auto deployment article written by Jamie Cool on the Windows Forms team on GotDotNet http://www.gotdotnet.com/team/windowsforms/appupdater.aspx ***.Net Application Updater Component**** Want to make your application smart enough to update itself? This article describes how to do just that. The .NET Application Updater component included with this article... |
|
| SV: SV: RE: Drag and drop inside a treeview control (2 replies) |
| ASPFriends.com 'winforms-cs' list |
| After testing some more I find the last problem to be false. It has nothing to do with the speed of the dragging. It has to do with where I click. When I click on the textarea of the node everything works fine. But when I click on the image this does not seem to work as well. The reason is that I try to check for the Node.Bounds property to get the selected node. 20 Is there any way to get the are... |
|
| beep (4 replies) |
| ASPFriends.com 'winforms-cs' list |
| How do you do invoke or play a MessageBeep (as in the old SDK) in WinForms ?? And more general : how do you play system sounds ?? TIA |
|
| Looking for info on creating rich client that work over the net (10 replies) |
| ASPFriends.com 'winforms-cs' list |
| Hi, I'm looking for information about creating rich clients that can be launched from the net. I'm planning on user web services for communication with a server. Any pointers would greatly be appreciated. |
|
| Windows .NET Apps (3 replies) |
| ASPFriends.com 'winforms-cs' list |
| Hi ppl.. If this is out of place here please direct me to an appropriate mailing list. Now I have gotten a feel for web applications I am starting to fiddle around with windows apps in C#. Where can I find some good examples to get going? The first thing I did was dump a datagrid on a form and try hook components up to populate the datagrid using a simple query "SELECT * FROM InItems" from an Acce... |
|
| Design Time Woes (2 replies) |
| ASPFriends.com 'winforms-cs' list |
| Hiya ppl... I asked this ? related to windows forms a few days ago and unfortunately deleted my email by mistake. Cannot even remember what list I asked it on so searching the archives could take a leetle while... Please someone re help me again here. I am a Delphi programmer by profession. In Delphi to create a simple app with a DataGrid populated from a simple query I simply create a new form, d... |
|
| SV: saving user prefs? (7 replies) |
| ASPFriends.com 'winforms-cs' list |
| SWYgaXQgaXMgc2V0dGluZ3MgdGhlbiB1c2UgSEtFWV9DVVJSRU5UX1VTRVIuIEZvciBzaG9ydGN1 dHMgYW5kIGZpbGVzIHVzZSBhcHBsaWNhdGlvbiBkYXRhIGZvbGRlciBvciBzb21ld2hlcmUgZWxz ZSBpbiB0aGUgcHJvZmlsZSBkaXJlY3RvcnkuDQoNCj4gLS0tLS1PcHByaW5uZWxpZyBtZWxkaW5n LS0tLS0NCj4gRnJhOiBBbmR5IFNtaXRoIFttYWlsdG86QW5keS5TbWl0aEBtYWN0ZWMuY29tXQ0K PiBTZW5kdDogMTQuIG1hcnMgMjAwMiAwNDowNQ0KPiBUaWw6IHdpbmZvcm1zLWNzDQo IEVtbmU6 IFt3aW5mb3Jtcy1... |
|
| Size of Form (8 replies, VIP) |
| ASPFriends.com 'winforms-cs' list |
| I am creating a dialog box in code. No matter what I try, the size of the dialog remains the default size. I have also tried setting the Width and Height property, to no avail. Here is the code: private void btnCreate Click(object sender, System.EventArgs e) { Form dlg 3D new dlgTest(); dlg.Text 3D "Dialog Test set in code"; dlg.FormBorderStyle 3DFormBorderStyle.FixedDialog; dlg.BackColor 3D Syste... |
|
| Displaying Word doc HTML in Windows form (3 replies) |
| ASPFriends.com 'winforms-cs' list |
| Moved from [aspngcs] to [winforms cs] by Marcie Jones marciejones@yahoo.com Hello, I have a Windows Form with a TreeView control that filters my C: drive to display only Word docs. When I click on the Word doc I'd like to be able to display the Word doc *in my windows form* as HTML. Is this possible? I'm not sure what kind of control can display HTML or even a .doc file. Any suggestions, ideas, co... |
|
| Dataset binding problem. (3 replies) |
| ASPFriends.com 'winforms-cs' list |
| Perhaps someone can offer a solution. This isn't very complicated, I think. The deal: I have a set of textboxes in a Windows application with databindings to a dataset. When the form loads, the databindings are set. However, I want a person to be able to load a saved dataset from an XML file. So, I'm doing this: this.myDataSet myNewSavedDataSet; However, even though the myNewSavedDataSet has data ... |
|
| Handling events between multiple class instances? (3 replies) |
| ASPFriends.com 'winforms-cs' list |
| Hello group... I'm just getting into UserControls and custom events. I have created a user control for a Windows Forms application. I want one instance of this control to be able to communicate with all of the other instances of the control on a given form. To create this effect, I assumed events would be the logical choice. I created my own event, and it works perfectly, except that it is only ha... |
|
| Binding a dynamic ArrayList to a ComboBox. (2 replies) |
| ASPFriends.com 'winforms-cs' list |
| Hi, My question is do I have to bind the ArrayList to the ComboBox each time the ArrayList data is changed ? Because I tried to bind it once, but then when I changed the ArrayList values, the ComboBox content didn't change. (I use : ComboBox.DataSource in order to bind it to the ArrayList). Thanks, Shalhevet. |
|
| How do get the windows directory (3 replies) |
| ASPFriends.com 'winforms-cs' list |
| How can I get the path to Whatever the Windows Directory is for this machine i.e C:\windows or c:\winnt |
|
| Winform Weirdness (5 replies) |
| ASPFriends.com 'winforms-cs' list |
| Hi All, I am running into a strange winform behavior. I created Form based on Form class, called frmbaseform. I wrote some code in Load event of it. I inherited a new form from frmbaseform, called frmcustomer. I saved all files and closed IDE. When I open the frmcustomer form in IDE, the code of Load event of frmbaseform is executed. The same code doesn't get fired when I open frmbaseform in IDE. ... |
|
| WindForm MDI problems with maximized forms (2 replies) |
| ASPFriends.com 'winforms-cs' list |
| Hello, Today, I ran into a peculiar problem with MDI form behavior. When I have an MDI form and child MDI form, maximizing the MDI child form causes some of the controls which are anchored to be hidden. For example, if I anchor controls to the bottom right corner, maximizing the form might hide the bottom most control (a button, for example). I appears that when you maximize an MDI form, the calcu... |
|