There's also a way (for Word files, at least) to create an ActiveX
object that tells Word to open a file. It's in the archives here
somewhere... ;)
I think the .lnk solution might be more portable, though.
-James
>>> [EMAIL PROTECTED] 07/06/04 9:22 PM >>>
Grant, this sounds like an interesting solutions, do you need to make a
network folder first or anything? Does it take any preconfiguation or
client
(other then default) on the windows side? If not, this looks like it may
be
a possible solution for windows based implementations. If you could
donate
the colde, that would be great. I have seen this possible HTML code for
opening up folders from a web page:
<body>
<STYLE>
A {behavior: url(#default#AnchorClick);}
</style>
<A HREF = "http://localhost:8080/storage/files/Survey.doc"
FOLDER = "http://localhost:8080/storage/files/"
TARGET = "_blank"
>
Open in Web Folder View
</a>
</body>
The only issue here is that it doesn't open up the file directly, just
the
folder that's it's in. Your solution seems more streamline.
----- Original Message -----
From: "Grant Gongaware" <[EMAIL PROTECTED]>
To: "Slide Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, July 06, 2004 7:38 PM
Subject: Re: Best Practice?
> Wiley,
>
> I have an elaborate WebFolder hack I could contribute to Slide (if
> there's a place for it) that involves creating Shortcut file (*.LNK)
for
> any given destination. Using a shortcut on MS Office documents opens
> them directly and the normal save button overwrites directly back to
the
> server.
>
> An example link might be:
> <a
>
href="/linkMakingServlet/MyLink.lnk?dest=/slide/work/Report1.doc">Report1.do
c</a>
>
> The user would be asked if they wanted to save or open "MyLink.lnk".
If
> they save, they'll get a nice little icon on the desktop for later
use,
> or if they open, MS Word will popup and begin its GET/LOCK/PROPFIND
> trickery.
>
> I wrote a pure Java class (based on some hex editing, voodoo, and an
old
> Win95 C project)... But I have long hoped that there was a better
> solution. If anyone else out there has a better way, PLEASE SHARE!
> Otherwise, I'll contribute mine as it might be the only way to have a
> browser initiated direct edit in Windows with no plug-ins.
>
> -Grant
>
>
>
> Wiley Jacobs wrote:
>
> >I would like to have my web clients be able to check out a files from
a
web interface, then download the file, work on it and check it back in.
I
ideally I would like the user to be able to click on a link and the doc
just
opens up and when changes are made the user can click save and it saves
to
the webdav area on the folder.
> >
> >In working with this idea it only looks like there are two solutions:
> >
> >1) The user has to open the file in a webdav client (ex web folders
in
ie)
> >
> >2) The user is prompted to save the file locally and then they have
to
upload it back into the system.
> >
> >Is there an alternate best practice that can streamline this process?
> >
> >Thanks!
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]