This is a migrated thread and some comments may be shown as answers.

Document management

3 Answers 65 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Bobby Jones
Top achievements
Rank 1
Bobby Jones asked on 23 Mar 2011, 02:31 PM
I have a SL4 application (C#) that is intended to replace a client/server desktop app.  I need to be able to access files (doc, xls, pdf, etc) on a networked file share.  (Elevated permissions are ok.)  Is there a way that we can do this in an elevated permissions SL application, without lots of extra steps for the user?  Current client/server app - user simply clicks a button to open a document or execute a pdf.  Can I accomplish something similar with SL4?  I also need to be able to create new Word documents.  Easy to do in the desktop app.  If it isn't easy for SL version, users will balk at switching to the "new and improved".

3 Answers, 1 is accepted

Sort by
0
Yavor Georgiev
Telerik team
answered on 24 Mar 2011, 06:15 PM
Hello Bobby,

 There are two ways this can be achieved: COM Interop and by linking to the network share from inside one of the 'My' folders.

Regards,
Yavor Georgiev
the Telerik team
0
Sachin
Top achievements
Rank 1
answered on 28 Mar 2011, 09:03 AM

H Yavor,

I am able to check the solution provide by you. I have further question for you.

[1] COM Interop: In your first solution the application is fetching the files and folders from the file system. This is fine. I have two more requirements along with it, [A] I want to access the files kept on network file share. And [B] I want create and update the files too.

[2] linking to the network share from inside one of the 'My' folders.: In the second solution there is trick to access network file system.  In this article they are using “NTFS symbolic link” and They  are creating the network sharing folder using “mklink” command. I tried to use the same command on my PC (win xp with sp3) but that command is not working. I again searched on net for “NTFS symbolic link”. This option available with Vista and higher OS (Server 2008 R2) only.

Ref:  http://en.wikipedia.org/wiki/NTFS_symbolic_link

Kindly let me know how can I achieve it.

0
Yavor Georgiev
Telerik team
answered on 28 Mar 2011, 09:16 AM
Hello Sachin,

 In case NTFS symbolic links are not possible for you, you can always use the COM Interop approach. Please refer to the documentation of FileSystemObject here for more details.

Kind regards,
Yavor Georgiev
the Telerik team
Tags
General Discussions
Asked by
Bobby Jones
Top achievements
Rank 1
Answers by
Yavor Georgiev
Telerik team
Sachin
Top achievements
Rank 1
Share this question
or