Unable to access form in Designer View.
Messages   Related Types
This message was discovered on microsoft.public.dotnet.framework.windowsforms.

Post a new message to this list...

Me
Hello,

I created a VB.Net Smart Device Application solution with only 1 project in
it. The project has only on form that I created by selecting Windows Forms
from the Windows Forms Toolbox. After writing and running the code, I
copied the entire Solutions directory to another folder.

When ever I go to the copied folder and open its solution, then look into
the Solution Explorer, there "View Designer", only "View Code". Therefore,
I am unable to look at my form in the Designer View. I can view the form in
the orginal Folder.

This has happened to me with several solutions. What I am doing
incorrectly? How can I get my form back into Designer View?

The only other thing that I can think of that I did was that after I copied
the files to the new folder, I went to the properties of the solution, the
project and the form and changed the names. I manually assigned the same
name to each of the following: the assembly name, root namespace, foldername
, solution name, project name and form name.

MS Visual Studio 2003
MS Development Environment 2003 Version 7.1.3.088
MS .NET Framework 1.1 Version 1.1.4322
Windows 2000 SP 3

Thanks,

Me

Reply to this message...
 
    
Joey Callisay
It happens to me in WinForms, VS cannot detect that the code file is a form
file. The workaround I got is to Exclude the code file first and then
include it back again...

"Me" <Click here to reveal e-mail address> wrote in message
news:jna1d.15938$Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
 
    
Pete Vickers [eMVP]
Hi,
go to the line...
Inherits System.Windows.Forms.Form

Backspace so it reads
Inherits System.Windows.Forms.Fo

key in the 'rm' and up or down arrow - that should do it

Pete

--
Pete Vickers
Microsoft Windows Embedded MVP
HP Business Partner
http://www.gui-innovations.com

Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/community/newsgroups
"Me" <Click here to reveal e-mail address> wrote in message
news:jna1d.15938$Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
 
    
Joey Callisay
any reason for this behavior sir?

"Pete Vickers [eMVP]" <pete at gui - innovations dot com> wrote in message
news:Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
 
    
Pete Vickers [eMVP]
Hi,
Bug :))

Pete

--
Pete Vickers
Microsoft Windows Embedded MVP
HP Business Partner
http://www.gui-innovations.com

Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/community/newsgroups
"Joey Callisay" <Click here to reveal e-mail address> wrote in message
news:Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
 
    
Me
Hello,

Thank you all for your suggestions. You all gave me a hint as to what I
needed to do. I actually forgot to add the following line:

Imports System.Windows.Forms.Form

Thanks again!

Me

"Me" <Click here to reveal e-mail address> wrote in message
news:jna1d.15938$Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
 
 
System.Windows.Forms.Form




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com