Unable to access form in Designer View.

M

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
 
J

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...
 
J

Joey Callisay

any reason for this behavior sir?

Pete Vickers said:
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
 
M

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top