PC Review


Reply
Thread Tools Rate Thread

Can't open form in design mode any more

 
 
Fred Morrison
Guest
Posts: n/a
 
      6th Aug 2004
All of a sudden, any attempt to open any form that inherits from my base MID
Child form gives this error:

An error occurred while loading the document. Fix the error, and then try
loading the document again.


File or assembly name ErrorObject, or one of its dependencies, was not
found.

KB 814732 comes close to being the same, but not exactly. This application
worked fine until my colleague had her computer id changed to correct a 'Z'
to a '2' while some items were checked out from VSS.

My biggest fear is having to recreate 20+ MDI forms from scratch. There has
to be a better way, right?


 
Reply With Quote
 
 
 
 
Andy Becker
Guest
Posts: n/a
 
      6th Aug 2004
"Fred Morrison" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> All of a sudden, any attempt to open any form that inherits from my base

MID
> Child form gives this error:
>
> An error occurred while loading the document. Fix the error, and then try
> loading the document again.
>
>
> File or assembly name ErrorObject, or one of its dependencies, was not
> found.
>
> KB 814732 comes close to being the same, but not exactly. This

application
> worked fine until my colleague had her computer id changed to correct a

'Z'
> to a '2' while some items were checked out from VSS.
>
> My biggest fear is having to recreate 20+ MDI forms from scratch. There

has
> to be a better way, right?
>


A common reason for seeing this in my own code was things happening in the
Load event of the base MDI child. It gets fired by the IDE in this
scenario.

I can't explain how your colleague's machine name change might have affected
this, though. Only that some code is running at design-time which is
somehow sensitive to the change. Protecting it with a test for
Me.DesignMode would defer the error until runtime, but at least you won't
have to re-work forms.

Best Regards,

Andy


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't open form in design mode Mark Andrews Microsoft Access 2 27th Sep 2009 12:15 AM
VBA shortcut to open custom form in design mode? Burma Jones Microsoft Outlook VBA Programming 4 30th Mar 2006 11:37 AM
Problem when Open Form in Design Mode C# 2.0 =?Utf-8?B?QkxN?= Microsoft Dot NET Framework 0 11th Oct 2005 06:38 AM
Unable to open form in design mode Why? Uncle Sam Microsoft Access Getting Started 0 8th Sep 2004 04:25 PM
Re: How do I open a lock form in the design Mode? '69 Camaro Microsoft Access Forms 0 7th Sep 2004 06:40 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:14 AM.