Dear all,
I am new to Bentley Microstation and I am using Microstation v8 (2004). In my organization, they have developed some VBA utilities in Microstation v8 few years back by outsourcing. The outsource company does not exists now and we want to have some changes on the Utility. We have source code which is in VBA (mvba).
I have successfully changed the code as needed by the organizations, now I have few mvba codes and a folder (dependency files are there). But the problem is to create a setup file (deployment) for these mvba.
Preciously there was one executiable file and upon installing it, all the utility get installed and shows in the toolbar with drop down menu on Microstation v8. How can I create such a deployment file in Microstation?
I will be grateful for any suggestion, tips or URL links
Sorry If I sound silly, this is my first interaction with Microstation.
Thank you,
regards,
Kiran
How does your organisation use MicroStation? Is there a single location or multiple locations? Are all locations connected by the same network?
Regards, Jon Summers LA Solutions
We are survey institute and have multiple installation of MicroStation like more than 60 licenses. But not all the users use that Utility, may be 12-15 users are using that custom utility. Yes, all the PC are connected by the same Network.
What I observed is that, the code is in .mvba extension (like survey.mvba) and when it gets installed it is like in .ma extension and there is no file caleed survey.ma.
its better if u read the documentation called MicroStation VBA in bentley folder. there is most of the requirements with examples too. u can also use search for particular subjects..
HTH
regards
cjan
Kiran Shakya said: All the PCs are connected by the same network
In that case, create a shared folder on your network server. Then in your MicroStation site configuration file you can specify that shared folder to MicroStation when searching for VBA projects. VBA help has more about this: search for MicroStation VBA Environment Variables.
You can specify MS_VBASEARCHDIRECTORIES to tell MicroStation where to look for VBA projects. For example, if your network shared folder is N:\projects\MicroStation\mvba, then you would place something like this in a configuration file:
MS_VBASEARCHDIRECTORIES < N:/projects/MicroStation/mvba/
Kiran Shakya said:The code is in .mvba extension (like survey.mvba) and when it gets installed it is like in .ma extension and there is no file called survey.ma
MicroStation VBA projects live in a .mvba file.
I don't understand "when it gets installed it is like in .ma extension". All you do to 'install' a VBA project is to copy the .mvba file to a location where MicroStation can find it.
Nor do I understand "there is no file called survey.ma". Why should there be? A .ma file is the result of an MDL build process, which has nothing to do with VBA.
Please post questions about VBA to the VBA Forum.