BASIC Macros-Unable to load whose dialog is 1

I am attempting to import Wincore data through Utilities>Macro>Microstation BASIC.  After running the wincore.bas file and then selecting to open the .clg file, I receive an error message "Unable to load whose dialog is 1". Any advise on this?

Thank you!

Parents
  • After running the wincore.bas file and then selecting to open the .clg file, I receive an error message "Unable to load whose dialog is 1"

    A MicroStation BASIC macro always has a .bas source code file.  When you first run a macro, it is automatically compiled to a run-time .ba file.

    If a BASIC macro has a user interface (i.e. a dialog box) then it is stored directly in the .ba file.  In that case, you must run the .ba file to see the dialog, otherwise you see the error message you quoted.  If you have a BASIC macro that pops a user interface, then the .bas file is insufficient.  It's one of the snags of BASIC that you must keep track of both types of file.

     
    Regards, Jon Summers
    LA Solutions

Reply
  • After running the wincore.bas file and then selecting to open the .clg file, I receive an error message "Unable to load whose dialog is 1"

    A MicroStation BASIC macro always has a .bas source code file.  When you first run a macro, it is automatically compiled to a run-time .ba file.

    If a BASIC macro has a user interface (i.e. a dialog box) then it is stored directly in the .ba file.  In that case, you must run the .ba file to see the dialog, otherwise you see the error message you quoted.  If you have a BASIC macro that pops a user interface, then the .bas file is insufficient.  It's one of the snags of BASIC that you must keep track of both types of file.

     
    Regards, Jon Summers
    LA Solutions

Children