I've seen a number of posts where people make reference to the Microstation VBA Help guide but am having a hard time locating it. There's almost nothing related to VBA in the Help directory within Microstation itself and when accessing Help from the Microsoft Visual Basic Editor, there doesn't appear to be anything Microstation specific. If someone could point me in the right direction it'd be much appreciated.
I'm using Power InRoads V8i (SELECTseries 4)
C:\Program Files (x86)\Bentley\PowerInRoads V8i (SELECTSeries)\PowerInRoads\MicroStationVBA.chm
MaryB
Power GeoPak 08.11.09.918Power InRoads 08.11.09.918OpenRoads Designer 2021 R2
Answer Verified By: Colin Mucci
Thanks for the quick response Mary, that's exactly what I was looking for. What a roundabout way of accessing it though...you'd think Bentley would've included it in the standard help window
Hi Colin,
Colin Mucci said:but am having a hard time locating it.
Yes, that has been discussed many times. But when you search for this topic, you also receive answers where to find the file.
Colin Mucci said:when accessing Help from the Microsoft Visual Basic Editor, there doesn't appear to be anything Microstation specific
When you press F1 and you cursor is in MicroStation VBA code (e.g. class type, method etc.), MicroStation VBA help is opened automatically instead of standard VBA help.
Regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
Colin Mucci said:I've seen a number of posts where people make reference to the Microstation VBA Help guide but am having a hard time locating it
Here it is!
Colin Mucci said:there doesn't appear to be anything Microstation specific
There are two VBA help files:
When editing a VBA project using the Interactive Development Environmnet (IDE), some of your code will be MicroStation-specific (e.g. LineElement) and some will be generic VBA (e.g. Double). If the editing cursor lies in a MicroStation keyword, press F1 to pop VBA help about that keyword. If the editing cursor lies in a generic VBA keyword, press F1 to pop the Microsoft help about that keyword.
LineElement
Double
Regards, Jon Summers LA Solutions
Thanks Jan and Jon for elaborating. very helpful
I copied that file into my Windows "Documents" folder for easy access.I wasn't aware of Jon & Jan's solution to that (I never tried it) so I got to learn something, too :-)
it's funny you say that, i did the exact same thing once you showed me where it was haha thanks again