What is the exact sample of VBA code to get to the Designer > File > Import…
OR
Designer > File > Export… and let the user to browse the directory that the user want ?
Note: This will let the user run the VBA can have the option to browse or select whatever directory (s)he want to and import the universe or export the universe?
The Designer SDK does not have functionality for browsing the universe folder structure. The .Import and .Export methods expect you to already know the folder, I’m afraid.
The Designer>File>Open… Does by using the following code:
dim DesignerApp as Designer.Application
dim univ as Designer.Universe
Set DesignerApp = New Designer.Application
DesignerApp.Window.State = dsMinimized
DesignerApp.Visible = True
Call DesignerApp.LoginDialog
Set Univ = DesignerApp.Universes.Open
This will let the user to browse the Universe within the file system.
My question is how to do the same thing for the Import/Export?
The Set Univ = DesignerAll.Universes.Import has problem because it required the extract directory and universe name that is too restricted for user who just want to browse univ and import from that list (just like the Open option). Does any body has the work around?