Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form Designer won't open

Status
Not open for further replies.

IlyaRabyy

Programmer
Nov 9, 2010
571
US
Colleagues,
We have somewhat old app in VB (WinFiorms), which I am trying to enhance now. (It's working OK, but somewhat slow.)
Since I don't want to modify anything in the original project, I started my own, copy-pasted the form's files (vb/resx/designer.vb) into my working subdir and added this form into my project.
Now, I can see the code(s) of this form, but I cannot invoke Form Designer... Shift+F7 doesn't work, neither double-click on the form's item in the solution window on the right.
(It all does work in the original solution.)
What am I missing?
TIA!


Regards,

Ilya
 
“Since I don't want to modify anything in the original project”, I would – instead of copying / pasting individual files – open the original Project and Save As totally new Project. That would save all settings, all folder and file structure, and that should include all necessary ‘pieces’ for your new Project to modify.


---- Andy

There is a great need for a sarcasm font.
 
Erm - are you sure Visual Studio .NET allows that Andy? Probably easier just to copy the entire Solution folder, although even that has some minor complications
 
IOW, there should be something somewhere in the project (or solution) that defines the GUI part of that form?
I ran search through the entire solution for that form's name - only these three pieces found...


Regards,

Ilya
 
Oooops, I thought I saw Save As, but I am wrong… [blush]

In a simple Project, I see:[pre]
Form1.Designer.vb
Form1.resx
Form1.vb[/pre]
So I would guess all three are needed for VB.NET to work, but they all have to be mentioned in a [tt].vbproj[/tt] file


---- Andy

There is a great need for a sarcasm font.
 
It's a shot in the dark, but...
Can that be that I started my project as a Console App?

Regards,

Ilya
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top