Enable Application Framework - Disappeared - VS2005 Pro

Hi all,

Everything was fine until yesterday... Now if I double click My project (Visual Basic 2005) I get to the Application page but the "Enable Application Framework" and "Windows application framework properties" does NOT show.

I need to enable the framework to change a couple settings. How can I make this checkbox appear again ?

If I create a new project this option will show perfect.

I think the cause of this problem was that I copied and pasted a form, renamed it I got lots of errors and I think I got Application.Myapp corrupted (opened it and saw lots of chinese characters). Closed the copied form, deleted it and I was able to get rid of all the errors (I think Application.Myapp is ok now).

I've got yesterday's backup but I'm not sure if I should replace just this Application.Myapp or if there exists a different solution. The project is compiling OK.

Any thoughts ?

Thanks,

ST

[1044 byte] By [Sergio_CL] at [2008-1-7]
# 1

Actually, I've closed the project, deleted file Application.myapp and reopened the project.

VS generated the file again... and all my settings were set to what I had previously...

Strange but true... It worked fine... Not sure if there are side-effects though...

Thanks,

ST

Sergio_CL at 2007-10-2 > top of Msdn Tech,Visual Basic,Visual Basic General...
# 2
I've never seen that checkbox ever appear for me. I don't get it. I have VS2005 with SP1 installed. Any ideas?
Brendita at 2007-10-2 > top of Msdn Tech,Visual Basic,Visual Basic General...
# 3
I just realized that this option only appears if it is a VB application. How can I do this with a C# app? I like C# much better :)
Brendita at 2007-10-2 > top of Msdn Tech,Visual Basic,Visual Basic General...
# 4

The setting is in your vbproj file. Open it with notepad and change:

<MyType>None</MyType>

to

<MyType>WindowsForms</MyType>

PatMeade at 2007-10-2 > top of Msdn Tech,Visual Basic,Visual Basic General...