2 Replies Latest reply on Jun 16, 2015 1:16 AM by Yuji Hamasaki

    EnterprisePDM Is Online or not

    Yuji Hamasaki

      The "EdmVault" determines whether off-line mode, What can We do?

      Is it possible with API?

        • Re: EnterprisePDM Is Online or not
          R. Vignesh

          Hello,

           

          Can you please brief more on what you are looking for ?

          Do you want to know if you are in online or offline mode while you have logged into the vault ?

          You can understand this by the color of the folder.

          Say you have logged in to the vault.

          If the folders present inside the vault are in green color then it means you are in online mode.

          If the folders present inside the vault are in blue color then it means you are in offline mode.

           

          Thanks & Regards,

          R.Vignesh

            • Re: EnterprisePDM Is Online or not
              Yuji Hamasaki

              Hello,

              Thank you for your reply.

               

              Program code

                          Dim objEPDMVault As IEdmVault11

                          objEPDMVault = New EdmVault5

                          Dim userID As Integer

                          userID = objEPDMVault.GetLoggedInWindowsUserID(strVault)

                          If userID <> 0 Then

                              'Already logged in

                              objEPDMVault.LoginAuto(strVault, 0)

              '**************************************************************************************

                              'In this part, I want to determines whether off-line mode.

                              'But determines whether off-line mode, What can We do?

              '**************************************************************************************

                          Else

                              MsgBox("Enterprise PDM  is not logined", vbCritical)

                          End If