Epdm vault object with Work off-line state?

Hi,

I have a code in VB.Net,

This works if user is logged in the vault, but vault object is Nothing if user is Work off-line, and I can't get the RootFolderPath.

That is not a right way to auto log-in the user, because the app is used sometimes on laptop what is not on the network.

Dim vault As New EdmLib.EdmVault5

Dim root As String

root = vault.RootFolderPath

Anybody has idea?

SolidworksApi macros