Re: [ADVANCED-DOTNET] Importing existing forms in VS2005

2007-08-02 Thread Sébastien Lorion
That is exactly what I said is not working but should. Sébastien On 8/2/07, kara hewett <[EMAIL PROTECTED]> wrote: > Sebastian > > To add an individual winform, open the solution containing your project. > Then add each winform .cs file and not the project containing the > winform into the soluti

Re: [ADVANCED-DOTNET] Importing existing forms in VS2005

2007-08-02 Thread Sébastien Lorion
Yes, that would work too, but that is what I meant by a PITA ... Why do we have to do it that way, ie copying controls (copy/paste does not always work btw), copying code and copying ressources (if you have more than one language, only copy/paste controls will not do the trick). Sébastien On 8/2/

Re: [ADVANCED-DOTNET] Importing existing forms in VS2005

2007-08-02 Thread kara hewett
Sebastian To add an individual winform, open the solution containing your project. Then add each winform .cs file and not the project containing the winform into the solution containing your project. On 8/2/07, Sébastien Lorion <[EMAIL PROTECTED]> wrote: > > I want to add existing winforms indiv

Re: [ADVANCED-DOTNET] Importing existing forms in VS2005

2007-08-02 Thread Peter Vertes
I did it differently. Say I have Project A that has the winform that I want to copy. I create a new project, Project B, that also contains a winform. I select all controls on the winform inside Project A and hit Ctrl-C, then I go to the blank winform in Project B and hit Ctrl-V. I'm not actually

[ADVANCED-DOTNET] Switch the app.config file used by app.

2007-08-02 Thread Booth, Bill
I think the only way is via another AppDomain. http://msdn2.microsoft.com/en-us/library/system.appdomain.setupinformati on.aspx -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Russell Sent: Thursday, August 02, 2007 3:08 PM To: A

Re: [ADVANCED-DOTNET] Importing existing forms in VS2005

2007-08-02 Thread Sébastien Lorion
I want to add existing winforms individually, not a whole project. That said, I think if I open the other project in my new solution and copy/paste the forms I want, then that might work. The result I get when adding forms one by one is that VS do not "see" them as forms, even if it will correctly

[ADVANCED-DOTNET] Switch the app.config file used by app.

2007-08-02 Thread Stephen Russell
I am lost in getting a use of a real config file while the user sees a local one. I tried this : AppDomain.CurrentDomain.SetData("APP_CONFIG_FILE", "\\server\path") unfortunately that will try to write data when in turn I'm trying to read the data: If AppName = "ChargeIt" Then ConnStr

Re: [ADVANCED-DOTNET] Importing existing forms in VS2005

2007-08-02 Thread kara hewett
Hi Sebastian 1. Create a VS Solution. 2. Open the existing winforms project into the solution by Selecting the Solution with the mouse. Right mouse click on the name of the solution. Add Existing Project. Selection your project. 3. Open additional winforms projects by repeating step 2 for ea

[ADVANCED-DOTNET] Importing existing forms in VS2005

2007-08-02 Thread Sébastien Lorion
I am trying to import some existing forms (windows form) into another project. How to do this so that I will get the designer to open when I double click on them ?! Should be simple, but apparently, it is not ... -- Sébastien www.sebastienlorion.com

Re: [ADVANCED-DOTNET] Inheritance issues with the toolstrip control

2007-08-02 Thread Mike Andrews
Hmmm... I'll give that a try. However, putting controls like buttons, labels and other such controls and changing the access modifier to protected allows you to make changes to the control in the derived UserControl class. It just seems odd to me that a control like the ToolStrip wouldn't support

Re: [ADVANCED-DOTNET] ILASM or verification bug with ldtoken

2007-08-02 Thread Fabian Schmied
> I would agree with you here Fabian, put up a link to connect and I > will vote for it. I've reported it here: https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=290313 Regards, Fabian === This list is hosted by DevelopMentor® http: