GeoMedia Discussions

Search for an answer, post a question, or answer other users' questions in our GeoMedia support discussions. This discussion board is a great way to collaborate with industry peers around the world. It is intended for discussion and support of the GeoMedia Desktop and Add-on applications.
Showing results for 
Search instead for 
Do you mean 
Reply
Frequent Contributor
Posts: 152
Registered: ‎01-14-2018
Accepted Solution

Creating new warehouse

Dear all,

 

I am trying to automate creating a new warehouse and be able to choose the "Access Template" and choose the "Access database" as in the below image,

 

new WH.jpg

 

Could anyone help in this?

Thanks a lot

 

Khaled

Technical Evangelist
Posts: 567
Registered: ‎09-11-2015

Re: Creating new warehouse

Hi Khaled,

 

you can use the GDatabase.CreateDatabase method, which should work for Access (and only for Access), but the easiest way is to copy the file "C:\Program Files (x86)\Hexagon\GeoMedia Professional\Templates\Warehouses\normal.mdt" to a new location and rename it to your_name.mdb.

 

Pavel