Hello all,
I realy starting to make good use of the VB API for ProE WF4, but there is one thing i want to use now and i can't seem to get it working.
Usualy after working with files, i use the pfcServer.RemoveObjects() method toremove all files from the workspace i just needed. I then use as argument 'Nothing' so that all files are removed.
Now i have to only delete specific files, but the argument has to be an Object (not a string like Filename). So i kind of figured out it has to be in e StringSequence. This works for 1 filename, but i get the pfcExceptions::ToolKitNotFound error when i 'StringSeq.Append' more filenames in the array.
anyone has an idea how to remove specific number of files from the workspace?
so far:
Dim strS As Istringseq
strS = New Cstringseq
strS.Append(partname)
serv.RemoveObjects(strS)
I realy starting to make good use of the VB API for ProE WF4, but there is one thing i want to use now and i can't seem to get it working.
Usualy after working with files, i use the pfcServer.RemoveObjects() method toremove all files from the workspace i just needed. I then use as argument 'Nothing' so that all files are removed.
Now i have to only delete specific files, but the argument has to be an Object (not a string like Filename). So i kind of figured out it has to be in e StringSequence. This works for 1 filename, but i get the pfcExceptions::ToolKitNotFound error when i 'StringSeq.Append' more filenames in the array.
anyone has an idea how to remove specific number of files from the workspace?
so far:
Dim strS As Istringseq
strS = New Cstringseq
strS.Append(partname)
serv.RemoveObjects(strS)