TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Phil Saville
NA
13
0
copy a desktop shortcut to the office clipboard
Sep 14 2009 3:20 PM
I currently have an application which is used to replace all my old redundant links, however i want to be able to use my application to copy the shortcut to a file from the desktop to the office clipboard! I have tried the following code but it does not add the required shortcut to the clipboard, it comes back saying format not supported by clipboard. I would be grateful for any help and any sample code. Any questions please ask. My code is as follows:
System.Collections.Specialized.StringCollection files = new System.Collections.Specialized.StringCollection();
files.Add(my file here);
Clipboard.SetFileDropList(files);
Reply
Answers (
1
)
Windows Form Dynamic Generation
Crystal Report in c#