5 Replies Latest reply on Jan 25, 2017 7:25 AM by Michael Dekoning

    PDM API HELP

    Surendar Suren

      Hi,

      I used below code to add a file in PDM Vault.(I didn't include PDM API commands)

      Below code works fine but it creates a temporary file in PDM Vault.

      After executing the code I manually added the file to the PDM Vault.

       

      Dim fso As Object
        
      Set fso = CreateObject("Scripting.FileSystemObject")

        
      Dim Fileout As Object
        
      Set Fileout = fso.CreateTextFile("C:\SWEPDM\Surendar\D1005.xls", True, True)
        Fileout
      .Write "your string goes here"
        Fileout
      .Close

       

      Can anyone complete this code?

       

      Thanks in advance.