On 8/11/2011 6:51 AM, Ryan Kriste wrote:
> "Run-time error '365': Unable to unload within this context"

Unable to unload within this context (Error 365)

Specifics

In some situations you are not allowed to unload a form or a control on
a form. This error has the following causes and solutions:

     There is an Unload statement in the Paint event for the form or for
a control on the form that has the Paint event.

     Remove the Unload statement from the Paint event.
     There is an Unload statement in the Change, Click, or DropDown
events of a ComboBox.

     Remove the Unload statement from the event.
     There is an Unload statement in the Scroll event of an HScrollBar
or VScrollBar control.

     Remove the Unload statement from the event.
     There is an Unload statement in the Resize event of a Data, Form,
MDIForm, or PictureBox control.

     Remove the Unload statement from the event.
     There is an Unload statement in the Resize event of an MDIForm that
is trying to unload an MDI child form.

     Remove the Unload statement from the event.
     There is an Unload statement in the RePosition event or Validate
event of a Data control.

     Remove the Unload statement from the event.
     There is an Unload statement in the ObjectMove event of an OLE
Container control.

     Remove the Unload statement from the event.


This appears to be something the programmers need to look at as all the
solutions appear to be in the programming.

--
Gene Young


Legacy User Group guidelines:
http://www.LegacyFamilyTree.com/Etiquette.asp
Archived messages after Nov. 21 2009:
http://www.mail-archive.com/[email protected]/
Archived messages from old mail server - before Nov. 21 2009:
http://www.mail-archive.com/[email protected]/
Online technical support: http://www.LegacyFamilyTree.com/Help.asp
Follow Legacy on Facebook (http://www.facebook.com/LegacyFamilyTree) and on our 
blog (http://news.LegacyFamilyTree.com).
To unsubscribe: http://www.LegacyFamilyTree.com/LegacyLists.asp


Reply via email to