Windows Develop Bookmark and Share   
 index > Windows Forms Designer > Forms Designer Error Display HTML Source
 

Forms Designer Error Display HTML Source

I have a form that has errors on it.... Not a problem. When trying to view the Forms Designer, VS normally will display the error in a "browser" window and "render" html. My IDE is now only showing the "raw" HTML in the form of a string. I would like to see the "rendered" html.
kmurray  Monday, June 08, 2009 8:53 PM

Hi kmurray,

Why do you think this page is an html page? Microsoft doesn't announce how does the page is made. We don't think VS generate an html file and show it in the VS window. VS should generate that html code dynamically. As most of the web site you have browsed, it is not exactly some html pages on the server, instead, it is dynamically generate and send to your client.

I think the valuable information is in the Error List, you can right click an error item to copy the text. Hope this helps.

Sincerely,
Kira Qian


Please mark the replies as answers if they help and unmark if they don't.
Kira Qian  Wednesday, June 10, 2009 8:45 AM

Hi kmurray,

Why do you think this page is an html page? Microsoft doesn't announce how does the page is made. We don't think VS generate an html file and show it in the VS window. VS should generate that html code dynamically. As most of the web site you have browsed, it is not exactly some html pages on the server, instead, it is dynamically generate and send to your client.

I think the valuable information is in the Error List, you can right click an error item to copy the text. Hope this helps.

Sincerely,
Kira Qian


Please mark the replies as answers if they help and unmark if they don't.

The problem seems to be associated with IE8, try uninstalling IE8 and see if the problem goes away. (Note: I don't mean the underlying issue with your form, but rather how the error is displayed to you).

stoned99  Thursday, June 11, 2009 6:47 PM
We are changing the issue type to “General Discussion�because you have not followed up with the necessary information. If you have more time to look at the issue and provide more information, please feel free to change the issue type back to “Question�by opening the Options list at the top of the post editor window, and changing the type. If the issue is resolved, we will appreciate it if you can share the solution so that the answer can be found and used by other community members having similar questions.


Please mark the replies as answers if they help and unmark if they don't.
Kira Qian  Wednesday, June 17, 2009 6:40 AM
I had the exact same thing happen. I was handling a form "core" function (overridden OnMove), and I mistakenly accessed a variable that doesn't exist in a designer. Instead of being given a meaningful error in the designer window, I was presented with raw HTML followed by an unfortunate crash by VS (looked to me like a buffer overrun). The fix in my case was very simple: a check to see if this.DesignMode evaluates to true, and if so, don't perform any further calculations (ironically, I had the line in there before I had done any actual override work code, but I had evaluated a static variable prior to checking for DesignMode - and that was my downfall).

Hope this helps!
JSeeley150  Wednesday, June 24, 2009 8:39 PM

You can use google to search for other answers

Custom Search

More Threads

• Printing a windows form page
• Color properties in Visual Studio 2008 Windows Forms Designer
• Developing a Keyboard component
• did u see the new thread button on the prev. window
• User control resizing abnormal behavior
• Create and edit a TabPage as a stand alone object
• Custom control displays differently in TabPage
• How to receive data from RS 232 cable or from COM port in VB.Net 2005?
• Changing size and position leaves the selection handles behind.
• Unwanted Focus to FlowLayoutPannel