Visio Guy

Visio Discussions => Visio Bugs (er...Issues) => Topic started by: mc13 on August 12, 2010, 09:14:45 AM

Title: An error occurred while loading 'form_name', do you want to continue loading..
Post by: mc13 on August 12, 2010, 09:14:45 AM
Hi,

I have been developing a VBA project in Visio 2007. The Visio file has somehow become corrupted and when I attempt to open the VSD file I get a dialog box error saying  "An error occurred while loading 'form_name', do you want to continue loading the project".


If I continue to load the file I can view the Visio diagram, but I get a further error complaining that VBA is not installed if I try and open the Visual Basic Editor within Visio to view the VBA code. My assumption is that one of the forms in my VBA project is corrupt which is stopping me from viewing the rest of the code within the Visual Basic Editor in Visio.

My goal is to try and recover as much of the VBA code as I can. I have saved the Visio file as an XML document so that I can get hold of the VBA code between the <VBProjectData> XML tags. The VBA project data is stored as MIME encoded data, but when I decode the data block the resulting file is not human readable (i.e. I can't view the VBA code). Does anyone have any ideas on how I can recover the VBA code? I have tried loading the VSD file into Visio 2010 but I get the same error.

Thanks very much in advance for any help!