Simple question: how do I verify given document path in ProjectWise using VB.NET 2010 (or maybe just old VB 6) ?
What I have are paths to the locations in ProjectWise that look like this:
[pre]
pw://projectwise.xy.int.lanWMain/Documents/Projects/0728101010
pw://projectwise.xy.int.lanWMain/Documents/Projects/6702903012
pw://projectwise.xy.int.lanWMain/Documents/Projects/9737602010
pw://projectwise.xy.int.lanWMain/Documents/Projects/7731601011
pw://projectwise.xy.int.lanWMain/Documents/Projects/7700604010
[/pre]
Those locations may or may not exist in ProjectWise, so I need to verify them before I write them into my data base.
I can just open ProjectWise Explorer and try each path ‘by hand’, and if I hit invalid path, I get an error message. But how can I do it programmatically? Reference ProjectWise in VB.NET and code to verify the path? If so, then how?
Search on NET did not yield any results, looks like this is a top secret of how to do it.
(I also have been given access to DMS_PROJ table in PROJECTWISE data base, that may or not may be useful)
Have fun.
---- Andy
What I have are paths to the locations in ProjectWise that look like this:
[pre]
pw://projectwise.xy.int.lanWMain/Documents/Projects/0728101010
pw://projectwise.xy.int.lanWMain/Documents/Projects/6702903012
pw://projectwise.xy.int.lanWMain/Documents/Projects/9737602010
pw://projectwise.xy.int.lanWMain/Documents/Projects/7731601011
pw://projectwise.xy.int.lanWMain/Documents/Projects/7700604010
[/pre]
Those locations may or may not exist in ProjectWise, so I need to verify them before I write them into my data base.
I can just open ProjectWise Explorer and try each path ‘by hand’, and if I hit invalid path, I get an error message. But how can I do it programmatically? Reference ProjectWise in VB.NET and code to verify the path? If so, then how?
Search on NET did not yield any results, looks like this is a top secret of how to do it.
(I also have been given access to DMS_PROJ table in PROJECTWISE data base, that may or not may be useful)
Have fun.
---- Andy