Xtreme Visual Basic Talk

Xtreme Visual Basic Talk (http://www.xtremevbtalk.com/)
-   .NET General (http://www.xtremevbtalk.com/-net-general/)
-   -   Missing form design (http://www.xtremevbtalk.com/-net-general/328575-missing-form-design.html)

Daigon Ali 02-17-2017 06:42 AM

Missing form design
 
Hi All,
I've been creating a Windows Form App in Visual Studio 2015.

It was all going well until I closed the tab titled "Form1.vb [Design]" which showed the form and all the controls.

There is no error but I now seem unable to access the design view.

I added a second form to see if that did anything and notice that it has a different icon. The new form has a little icon of a form with controls whereas the original form just has the letters VB in the icon.

The code all seems to be there and it builds successfully with the form visible when running.

Any help much appreciated.

Daigon Ali 02-17-2017 06:54 AM

Solved
 
I found the solution

Turns out that for some reason something was lost from the "Designer.vb"
and I needed to add in.

Code:

Public Class Form1

End Class

After closing and restarting the design was available.


All times are GMT -6. The time now is 09:02 AM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Optimisation provided by DragonByte SEO v2.0.15 (Lite) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
All site content is protected by the Digital Millenium Act of 1998. Copyright©2001-2011 MAS Media Inc. and Extreme Visual Basic Forum. All rights reserved.
You may not copy or reproduce any portion of this site without written consent.