AnsweredAssumed Answered

PDM API HELP

Question asked by Surendar Suren on Jan 19, 2017
Latest reply on Jan 25, 2017 by Michael Dekoning

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.

Outcomes