How to remove all code from multiple VB6 .frm files and leave form design?
问题 I have a large VB6 app with many .frm files. I want to basically 'gut' the code from all the forms and just leave the GUI design. What would be the best way to perform this task quickly? 回答1: If you really have enough forms that you can't just open each form and Ctrl + A , Del , Ctrl + S Then you can always write a quick VB program to do it. Visual Basic puts the information needed to display the form at the beginning of the file followed by the code. Copy each .frm file to a backup, open it