473,386 Members | 1,924 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,386 software developers and data experts.

Form & Designer File Becoming Separated

Hi there,

I am having an issue with the IDE in VB.NET 2005.

Some of the ".Designer.vb" files have becom separate from the base ".vb"
file. This has happened to a number of derived forms and if I try to view
the deisgner I am only presented with the base form.

Any ideas on how to join this back up again?

Nick.
Sep 20 '06 #1
3 9320
Aaah I found a manual fix,

I opened to project file in an XML editor and edded the following element to
the effected parts...

effected parts:

form1.vb
form1.designer.vb
form1.resx

<EmbeddedResource Include="Forms\form1.designer.vb">
<DependentUpon>form1.vb</DependentUpon>
</EmbeddedResource>

<EmbeddedResource Include="Forms\form1.resx">
<DependentUpon>form1.vb</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>

After saving and reloading the items are joined correctly. How they became
"unjoined" is anyones guess, possibly VSS is to blame?

Nick.

"NickP" <a@a.comwrote in message
news:eQ**************@TK2MSFTNGP02.phx.gbl...
Hi there,

I am having an issue with the IDE in VB.NET 2005.

Some of the ".Designer.vb" files have becom separate from the base
".vb" file. This has happened to a number of derived forms and if I try
to view the deisgner I am only presented with the base form.

Any ideas on how to join this back up again?

Nick.

Sep 20 '06 #2
Interesting. Is there anyway to prevent files from being separated so it's
like VB2003. I've got enough files in my projects and don't need two files
for a form.
--
Dennis in Houston
"NickP" wrote:
Aaah I found a manual fix,

I opened to project file in an XML editor and edded the following element to
the effected parts...

effected parts:

form1.vb
form1.designer.vb
form1.resx

<EmbeddedResource Include="Forms\form1.designer.vb">
<DependentUpon>form1.vb</DependentUpon>
</EmbeddedResource>

<EmbeddedResource Include="Forms\form1.resx">
<DependentUpon>form1.vb</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>

After saving and reloading the items are joined correctly. How they became
"unjoined" is anyones guess, possibly VSS is to blame?

Nick.

"NickP" <a@a.comwrote in message
news:eQ**************@TK2MSFTNGP02.phx.gbl...
Hi there,

I am having an issue with the IDE in VB.NET 2005.

Some of the ".Designer.vb" files have becom separate from the base
".vb" file. This has happened to a number of derived forms and if I try
to view the deisgner I am only presented with the base form.

Any ideas on how to join this back up again?

Nick.


Sep 20 '06 #3
Hi Dennise,

Pfftt I don't think, I can only think it is a bug with the IDE that it
happens in the first place. I have had the same thing happen in 2003 also.

Nick.

"Dennis" <De****@discussions.microsoft.comwrote in message
news:15**********************************@microsof t.com...
Interesting. Is there anyway to prevent files from being separated so
it's
like VB2003. I've got enough files in my projects and don't need two
files
for a form.
--
Dennis in Houston
"NickP" wrote:
>Aaah I found a manual fix,

I opened to project file in an XML editor and edded the following element
to
the effected parts...

effected parts:

form1.vb
form1.designer.vb
form1.resx

<EmbeddedResource Include="Forms\form1.designer.vb">
<DependentUpon>form1.vb</DependentUpon>
</EmbeddedResource>

<EmbeddedResource Include="Forms\form1.resx">
<DependentUpon>form1.vb</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>

After saving and reloading the items are joined correctly. How they
became
"unjoined" is anyones guess, possibly VSS is to blame?

Nick.

"NickP" <a@a.comwrote in message
news:eQ**************@TK2MSFTNGP02.phx.gbl...
Hi there,

I am having an issue with the IDE in VB.NET 2005.

Some of the ".Designer.vb" files have becom separate from the base
".vb" file. This has happened to a number of derived forms and if I
try
to view the deisgner I am only presented with the base form.

Any ideas on how to join this back up again?

Nick.



Sep 22 '06 #4

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

Similar topics

4
by: Nomen Nescio | last post by:
can anyone be so kind as to look at http://www.mysolution.ws/HYPOCRITE.php and let me know why it isn't passing the form data to http://www.mysolution.ws/insertHYPOCRITES.php for the most...
9
by: Collin VanDyck | last post by:
I have a basic understanding of this, so forgive me if I am overly simplistic in my explanation of my problem.. I am trying to get a Java/Xalan transform to pass through a numeric character...
2
by: Mark Hannon | last post by:
I am trying to wrap my brain around storing form elements inside variables & arrays before I move on to a more complicated project. I created this simple example to experiment and as far as I can...
0
by: rmacias | last post by:
I'm getting annoyed in that it has been over 30 minutes and none of my messages are being posted by the Web based news reader, so I'm using Outlook Express in hopes that this messages gets posted. ...
2
by: Philippe Meunier | last post by:
Hi, I would like to code kind of Form designer. I would like it to act like the VB.NET designer and the problem I am actually facing is about the drag & drop of controls on the form. I add them...
14
by: Jan Nielsen | last post by:
Hi In Microsoft Access it is possible to write code like this Sub test() DoCmd.OpenForm "TestForm", acDesign Dim a As Control For Each a In Forms("TestForm").Controls Do stuff Next End Sub
2
by: Steve | last post by:
I have a .NET windows program that has a VB.NET component and a C# component. The VB component contains the form and handles all the UI stuff. The C# component drives the engine that actually does...
9
by: TheSteph | last post by:
In VS 2005 Form files are in 3 parts : From1.cs, Form1.Designer.cs and Form1.resx. In VS 2003 there is only one ".cs files". How can I split my old VS2003 ".cs files" files in 2 files :...
0
by: genzy | last post by:
I'm facing the below problem. With <deny users="?" />, the Windows Login ID is able to be obtained to fill up the Windows IDSID text field automatically, but reading the file info is failed. ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.