473,326 Members | 2,124 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Designer issues

Why is it that when I move a form (.cs and .resx) file in a project to a sub
folder it totally flucks up on the apps using that component.

No code changes just the actual project structure for the control.

The designer has serious issues.

I regard it as work in progress, not final.
Nov 15 '05 #1
3 1007
Alvin,

If you could describe how exactly it messes up, then it would help. Can
you provide a complete example which displays the problem?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Alvin Bruney" <alvin.bruney@.telia..com.> wrote in message
news:Oh*************@TK2MSFTNGP11.phx.gbl...
Why is it that when I move a form (.cs and .resx) file in a project to a sub folder it totally flucks up on the apps using that component.

No code changes just the actual project structure for the control.

The designer has serious issues.

I regard it as work in progress, not final.

Nov 15 '05 #2
100
Hi Alvin

I haven't tried, but I guess that this is because the resx files goes as a
resource in the assembly. If you move the resource file the name of the
subfolder becomes part of the resource full name and then the form can't
load it.

B\rgds
100

"Alvin Bruney" <alvin.bruney@.telia..com.> wrote in message
news:Oh*************@TK2MSFTNGP11.phx.gbl...
Why is it that when I move a form (.cs and .resx) file in a project to a sub folder it totally flucks up on the apps using that component.

No code changes just the actual project structure for the control.

The designer has serious issues.

I regard it as work in progress, not final.

Nov 15 '05 #3
So where do we fix this, and why cant the designer do this refactoring for
us since in 2004 it looks like refactoring (POGO) etc is all the rage.

"100" <10*@100.com> wrote in message
news:#F**************@TK2MSFTNGP09.phx.gbl...
Hi Alvin

I haven't tried, but I guess that this is because the resx files goes as a
resource in the assembly. If you move the resource file the name of the
subfolder becomes part of the resource full name and then the form can't
load it.

B\rgds
100

"Alvin Bruney" <alvin.bruney@.telia..com.> wrote in message
news:Oh*************@TK2MSFTNGP11.phx.gbl...
Why is it that when I move a form (.cs and .resx) file in a project to a

sub
folder it totally flucks up on the apps using that component.

No code changes just the actual project structure for the control.

The designer has serious issues.

I regard it as work in progress, not final.


Nov 15 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Alvin Bruney | last post by:
Why is it that when I move a form (.cs and .resx) file in a project to a sub folder it totally flucks up on the apps using that component. No code changes just the actual project structure for...
1
by: Sebastian Sylvan | last post by:
Hey. I have two questions. First of all I'm using the Visual C# Express Beta. When you create a windows application it will automatically split the main form into two files using partial...
0
by: sdbranum | last post by:
I have been using Visual C#.NET to code a large project having many data adapters, data sets, datagrids, multiple forms with tab pages, each containing various controls (mostly label, text boxes,...
4
by: rmacias | last post by:
I posted this in another forum, but nobody replied and I need an answer fairly quickly: I'm creating a Windows form application in VC++ .NET 2003. I'm creating the UI is a nested namespace as...
0
by: Tom | last post by:
Hi all In an attempt to create something like http://www.mswcf.com/issues/distributedsystemdesigner/1.gif from http://msdn.microsoft.com/msdnmag/issues/04/07/whitehorse/default.aspx I've...
1
by: Lucien Dol | last post by:
Hi all, Can someone help me with this, please? I've got a user control that (amongst other controls) contains a textbox. The textbox has its Anchor property set to "Left, Top, Right", meaning...
13
by: cj | last post by:
In a project done in 2003 about a year ago I was told to add the SocketWrench code below into the Windows Form Designer generated code area as shown below. #Region " Windows Form Designer...
3
by: Steven Nagy | last post by:
Hi all, ASP.NET : Framework 2.0 - C# A recent addition to my code generater will create GridView's and ObjectDataSource's in a control (ASCX). So the code gen creates an ascx, ascx.cs,...
4
by: Goran Djuranovic | last post by:
Hi all, I am experiencing a strange thing happening with a "designer.vb" page. Controls I manually declare in this page are automatically deleted after I drop another control on a ".aspx" page. -...
5
by: Michael Bray | last post by:
#1 ---- Why does VS2008 "forget" how to open EDMX files?? After opening and closing the file a few times, double clicking on the EDMX file just ends up expanding/collapsing the contents (the...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.