Hello,
I have a VB.net application within a single .vb file which contains windows form code which was modified manually (despite the 'It can be modified using the Windows Form Designer. Do not modify it using the code editor.' message).
I would like to somehow import this code into Visual Studio so that I can work with windows form designer to modify the form layout.
1. How can I get Visual Studio to recognize that I have a windows form in my .vb code?
2. Can the resulting code remain in the single .vb file or do I need to have a form.designer.vb code separate from the application code once I do so?
Thanks,
Jeff
I have a VB.net application within a single .vb file which contains windows form code which was modified manually (despite the 'It can be modified using the Windows Form Designer. Do not modify it using the code editor.' message).
I would like to somehow import this code into Visual Studio so that I can work with windows form designer to modify the form layout.
1. How can I get Visual Studio to recognize that I have a windows form in my .vb code?
2. Can the resulting code remain in the single .vb file or do I need to have a form.designer.vb code separate from the application code once I do so?
Thanks,
Jeff