Link to home
Start Free TrialLog in
Avatar of hertzgordman
hertzgordmanFlag for Canada

asked on

Visual Studio 2005 - IDE- Windows Form - Cannot open in design view

Have one form in VS 2005 Windows Form application.

Once I run the app, close it, and return to the design view I can get this instead of the form:

<html><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"><title></title><style>.ErrorStyle  (it goes on).

I then close the design window and reopen it and then the form is showing in design view.
screenshot.bmp
Avatar of Anuradha Goli
Anuradha Goli
Flag of Ireland image

Try

1.
There might be no public Class declaration in the
code behind Form2.vb. Must have deleted everything out of there by mistake
when deleting out some other code. Add this to the code behind
Form2.vb it works.

or
2.close visual studio and open it
from the command promt and reset visual studio's settings.

devenv /resetsettings
Avatar of hertzgordman

ASKER

Thx will try btw its a c# app.
Did the reset now getting this error:

The designer loader did not provide a root component but has not indicated why
ASKER CERTIFIED SOLUTION
Avatar of hertzgordman
hertzgordman
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This is the solution that worked.