visio on sharepoint

A

a.corrieri

this is still a follow on to my file exists problem.
I now help myself using

If Documents.CanCheckOut(file)

however now I am in the position that I would like to know the file
modification date. The files are all on sharepoint, to make things difficult,
all of them are on different shared libraries on different sharepoint sites.
So I looked into the sharedworkspace object.
The problem is that from the docs I get the impression, that I only get that
object, if I have an active document, not if I only have the url.

Does anyone knows an object that leads me on the right track, or is it
simply not possible?
 
A

a.corrieri

unfortunatly this does not solve the problem
I just need to know
1) is the file where my url is pointing to really there (can not reliably do
that right now)
2) is a user working on it right now (can do that)
3) see if it has bee modified since last time (can not read the modification
date yet)
 
A

a.corrieri

that's why I asked, I cannot find any VBA front end to sharepoint, nor any
discussion in the forums. Maybe I am looking in the wrong places? And the few
commands available in visio are not helpful. It is interresting to note
however that ALL macros that are file related will fail, when used from a
sharepoint server :(
 
J

JuneTheSecond

How would you like shape studio in Visio SDK, thought the SQL Server is needed.
I have not SQL Server, so I cannot use shape studio.
 
J

JuneTheSecond

The information on a Visio.Blog has made me enable to use Shape Studio.
If you download "Microsoft SQL Server 2000 Desktop Engine (MSDE 2000)
Release A" and install it, you can make use of Shape Studio.
 
S

Semoneto

In "contemporary world" everything is about objects, classes, components:

See following properties on object SPFile
Exists Boolean Gets a Boolean value that indicates whether the
file exists.
TimeLastModified System.DateTime Gets a date and time value
indicating when the file was last modified.
CheckOutStatus Microsoft.SharePoint.SPFile.SPCheckoutStatus Gets
the status of the check-out, indicating whether the check-out is long-term or
short-term.

The SPFile class is in Microsoft.SharePoint namespace
Full name is Microsoft.SharePoint.SPFile

Requirements
Namespace: Microsoft.SharePoint
Platforms: Microsoft Windows Server 2003
Assembly: Windows SharePoint Services (in Microsoft.SharePoint.dll)

The best way to start writing your code is using MS Visual Studio.NET 2003
developing tool.

Source of this message:
http://msdn.microsoft.com/library/d...s/spptsdk/html/tspSPFileExists_SV01014087.asp
© 2003 - 2005 Microsoft Corporation. All rights reserved.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top