Am Samstag, den 30.09.2006, 08:19 -0500 schrieb Tommy Pruitt:
> I get the following error with any Macro.
> 
> Error loading BASIC of document script-lb.xml:
> General Error.
> Genteral input/output error.
> 
> If I open a form and select any combo or command button that uses a
> macro I get the error.  It only happens on the first selection.  The
> rest of the commands work fine from that point on.
> 
> Any ideas?

You have to load the library containing your macros first. On the first
try calling a sub you get the error, but it seems this initiates the
load, then the second call works. Insert one of this calls in a macro
bound to the "OnLoad" event of your form:

   ' global library for the whole office:
   globalscope.basiclibraries.loadlibrary("MyMacros")

   ' macro embedded in the document or form
   basiclibraries.loadlibrary("MyMacros")

Hit F1 and insert this into the search field of the "index" tab:

   BasicLibraries; LibraryContainer

and you'll find more explanations.

Have fun,
Marc


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to