June 28, 2007, 10:41 AM
jlsnycMaintain Winform
If I copy the MNT and WFM file into a new project, How do I get winform screen to appear? I get the message to recreate the winform.
June 28, 2007, 11:47 AM
John_EdwardsHuh. Have you considered using your development file to deploy the mnt and wfm files to the other project? I get the feeling that something has been "compiled into" the winform that makes it location specific. Changing the target of your deploy may clear up those issues.
June 28, 2007, 01:46 PM
Alan BI would suggest just copying the mnt file across, not the wfm.
The mnt file contains the information for the mde, the wfm and fcm are created during compile, so after copying, deploy that project.
June 29, 2007, 08:08 AM
Maintain WizardWhen you create a Maintain application inside the MDE (Maintain Development Enviornment) we save not only the Maintain commands, but also the winforms information as XML at the bottom of the file.
When you deploy the application to a server, we strip out the XML file and create the Winforms file. However, you cannot re-edit the deployed MNT file in the MDE.
So, try to find the file that was developed, but not deployed to the server. If you open it in NOTEPAD you will see a lot of code AFTER the END statement. If you don't see that code, the Winforms cannot be editted.
Mark