| Problem adding new form to existing project (5 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| I get this message box when trying to add another form to an existing project. "Automation server can't create object" The new form is subsequently not added to the project. I've tried things like clearing all 'read only' flags on the project files. Do I need to reinstall/repair VS.net 2003? Mark |
|
| What happened to the LINE in vb.net? (5 replies, VIP) |
| microsoft.public.dotnet.framework.windowsforms |
| hi... Just going about making my form up and noticed there is no LINE in the toolbox!!! what happened, where did it go? what do I have to activate to make it appear in the tool box? Thanks, Gary |
|
| Close Form while processing Constructor (2 replies, VIP) |
| microsoft.public.dotnet.framework.windowsforms |
| In the constructor of my form, I check for some conditions and if they don't match I want the form to get closed, or better said, never be shown. I get an error if I call Me.Close() either in the constructor or in the Form Load or in the form activate events. Is there any other Event or method I could use? I guess it's a very common task to be done, so what's your solution to this? Thanks in advan... |
|
| Saving Windows Forms control properties at run-time? (3 replies, VIP) |
| microsoft.public.dotnet.framework.windowsforms |
| Hello, Is there an easy way to save some/all properties of a windows forms control into a type of file? I came acros with "Serializable" attribute but it seems that I have to inherit evey windows forms control and mark them asa serializable? Does anybody know an easy way for this? Thanks in advance... Ă–zden |
|
| Design mode at runtime (2 replies, VIP) |
| microsoft.public.dotnet.framework.windowsforms |
| I have a form in my application. This form contains some controls a panel with controls in it. I have to be able to move, resize, ... the controls in the panel (only those in the panel). Is it possible to use the design functions of the framework to do that? All the sample that I've seen use a form designer at runtime, but I need only a "panel or container designer". Does anybody know if it's poss... |
|
| How to do sms in window app? (4 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Hi, I am currently working on mobile application, and I am try to implement SMS (text message) into my vb desktop application. Add codes to VB app and sent SMS to Smartphone device as a notification message. What api or dll do I have to use in VB app.? I know that there is a SMS lib in mobile platform, but not in window appl. Please help. thank you |
|
| Shared Data (2 replies, VIP) |
| microsoft.public.dotnet.framework.windowsforms |
| I am working on a forms based application that will have 3 or 4 different forms. I need to share a data set between them that can be updated by each or the forms. What is the best way to do this? How can I instantiate a class that is available to each of these forms? thanks, Andrew |
|
| Reflection in COM (3 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Here's what I need to do: Given a string representing a COM progID, instantiate the COM object (I know how to do that). The next step is to call a set method for a property. The catch is that the property is sent to me as a string and I need to convert/coerce/change the type of the passed in parameter to the type of the COM property. Here's what I've tried: // creates the COM object from its type ... |
|
| Skinnable window form (2 replies, VIP) |
| microsoft.public.dotnet.framework.windowsforms |
| Hi, I need to add skin support to my WindowForm application. How can I achieve this in a quite fast way ? Are there any free tools / code sample bringing thins functionality to .Net around ? Regards, Taibo |
|
| IE Icons (4 replies, VIP) |
| microsoft.public.dotnet.framework.windowsforms |
| I'm embedding IE in my app, and I want to display a toolbar with the back, forward, stop, home, etc icons of IE. Is it possible? Or is there some (C) problem? If possible, where do I get them? |
|
| Save attributes - Please Help ! (2 replies, VIP) |
| microsoft.public.dotnet.framework.windowsforms |
| I want to save a set of attributes for a control to a text file, an xml file, or (eventually) a database. So, I have things like Font, ForeColor, BackColor, Dock, Anchor, Location and Size. I want to somehow serialize all of these into a text string, or an xml document perhaps, that I can save away as a file, so that I can later read and parse this file and restore the properties for the control. ... |
|
| Friend modifier and derived forms (4 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Hi. The documentation says that variables declared Friend can be used anywhere on the same program. I have a VB form that is the base form for other forms on the same application. Controls that have the Modifiers property set to Friend on the base form can not be modified on the derived forms. Why? Shouldn't Friend controls be acessed anywhere on the same program? Regards, Chirs Leffer *** Sent vi... |
|
| Cannot show inherited forms in design mode (4 replies, VIP) |
| microsoft.public.dotnet.framework.windowsforms |
| It seems that every now and then, totally at random, Inherited forms stop working in design mode. Once they stop working, I can never get them to work again. When I try to show the form in design mode it says "An exception occurred while trying to create an instance of MyClassName. The exception was "Specified cast is not valid."". The form compiles just fine and everything works well except for t... |
|
| Determine pixel color on desktop using mouse? (2 replies, VIP) |
| microsoft.public.dotnet.framework.windowsforms |
| I want to be able to capture a pixel color of any item on the desktop using the mouse. This is a typical "eye dropper" tool. Does anyone have ideas on how to capture a mouse event in any other window on the desktop...then get the pixel underneath it? Thanks. |
|
| Timer Question? (3 replies, VIP) |
| microsoft.public.dotnet.framework.windowsforms |
| I'm using VB .NET 2003 and I cant figure out how to do this, I have a windows application with 2 Forms and a Timer the Timer is on Form1, I also have a Button on Form2, I want to click Button1 located on Form2 an have the Button1 Click event perform Timer1 functions, for example; Button1 Click ....... Timer1.Enabled False, sounds simple enough but I cant get Form2 to inherit Form1's Timer componen... |
|
| Form position (8 replies, VIP) |
| microsoft.public.dotnet.framework.windowsforms |
| Hi I have a panel to which I have added several forms as follows; form1 New frmone form1.TopLevel False Me.MyPanel.Controls.Add(form1) form1.BringToFront() form2 New frmtwo form2.TopLevel False Me.MyPanel.Controls.Add(form2) form2.BringToFront() Is there a way to know which form is currently at the top? Thanks Regards |
|
| help button (6 replies, VIP) |
| microsoft.public.dotnet.framework.windowsforms |
| Hi, Could anyone please explain to me why i need to disable the minimize and maximze button if i want to display the help button on a windows form? i can't see the connection... kind regards, Bruno. |
|
| Screen Configuration Mechanism ? (2 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Does anyone have any useful links or ideas on allowing end user screen configuration in .NET ? What I am after is a mechanism that allows developers to create rich client forms in some sppropriate "default" layout, but which then allows a privileged user to manipulate the screen layout at run time (to affect all or selected users), ie. hiding particular panels, controls or grid columns, changing t... |
|
| Wizard forms (3 replies, VIP) |
| microsoft.public.dotnet.framework.windowsforms |
| Hi all, what is the best approach to create wizard for an application? Do i have to take as many forms as the wizards will have or take only one form and multiple panels on it. or is there any other good approach? plz provide me the answer Noor |
|
| BUG: Refactoring code (7 replies, VIP) |
| microsoft.public.dotnet.framework.windowsforms |
| Hi, Refactoring a winform causes problems if moving this form to a subdirectory in the same project. What is the workaround for this and will this be fixed in future? Thanks /BOB |
|
| smart tags (2 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Hi All, Can anybody tell me how to create smart tags like what we see in MS word application? TIA, Jyothi |
|
| Is there any method that can add custom datagrid column to the table style collection editor? (3 replies, VIP) |
| microsoft.public.dotnet.framework.windowsforms |
| So that i can use the custom datagrid column in the designer thz |
|
| overriding WndProc (3 replies, VIP) |
| microsoft.public.dotnet.framework.windowsforms |
| Protected override void WndProc(ref Message m) { .... base.WndProc(ref m); } When should override the WndProc member of base class? Can "Parent.WndProc(...)" be used to replace "base.WndProc(...)" in the following code? What's the meaning of "parent" in C#? Why is it needed to call "base.WndProc(ref m);" at the end of the WndProc()? Thanks! |
|
| Beta Windows Forms app (3 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Hi. I've been working on this app at the company I work for for a little while, and we're pretty close to really releasing it, but before we do, I'd like to get some feedback on a number of things. One of the big questions is, being a Windows Forms app, is this going to deter people from downloading it? The app itself is pretty small, but this is completely overshadowed by requiring a 24 meg runti... |
|
| DataGrid Sorting problem (2 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Hi: I have a datagrid. When clicking header it sorts automatically, but when I use datagrid.DataSource to manipulate data, the row of data that user select is different from the the row (same row number) in the dataset. How can I solve this problem and find out the correct row number? BTW, how to stop sorting? I set AllowSorting false, but it still sortable. Thanks, Dennis |
|