Need help working from home with your Bentley software? We're here to help - click here
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?
What version of Microstation are you running?Have you used this routine before?Have you updated software since then?
MicroStation BASIC has been obsolete and unsupported for years. I wouldn't be surprised if it can't even run on the Connect version of MicroStation.
What is this routine supposed to do? What is a CLG file?
Microstation 08.11.09.829Power GeoPak 08.11.09.878Power InRoads 08.11.07.615
Turns out its now a .ba rather than .bas file.
MaryB said:I wouldn't be surprised if it can't even run on the Connect version of MicroStation
Don't be surprised: MicroStation CONNECT does not support BASIC. It does, however, support VBA v7.1, which is a 64-bit version of Microsoft VBA.
Regards, Jon Summers LA Solutions
Amber McCullough said: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.