Hi
I want to place some desktop icons(Shortcut icons ) on form and which will work same as they work on desktop.
please any one suggest me how to do this.
Thanks
Regards,
Mandar
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Roei BarRank #1,271 · 1.4K reputationPosted Sep 5, 2009, 1:29 AM EDT
here is the code Snippet to use on the click event
using System.Diagnostics; public static void OpenWindow(string path) { System.Diagnostics.Process.Start(path); //If the above doesn't work try System.Diagnostics.Process.Start("explorer.exe", path); }Roei BarRank #1,271 · 1.4K reputationPosted Sep 4, 2009, 12:49 AM EDT
here is a code for this
Mandar Deshpande24 reputationPosted Sep 4, 2009, 4:01 AM EDT
thanx to reply!
Could you please specify more..
I want to creates shortcuts like desktop icons on my form.
thanks!
Regards,
Mandar
Roei BarRank #1,271 · 1.4K reputationPosted Sep 4, 2009, 4:29 AM EDT
or create shortcuts in your application form, or is it a setup issue
Mandar Deshpande24 reputationPosted Sep 4, 2009, 5:54 AM EDT
I am creating an application in which I want to show icons on it, same as desktop icons,and on click on that icons I want to open my computer, my documents,Internet...(just like we use desktop).
Thank you!
Regards,
Mandar
Mandar Deshpande24 reputationPosted Sep 4, 2009, 11:05 PM EDT
Mandar Deshpande24 reputationPosted Sep 5, 2009, 2:13 AM EDT
I get It now..........! :-)
anubhav prabakar14 reputationPosted Jan 16, 2014, 12:09 AM EST
I have to some exactly the same (putting desktop icons on the form).
Could you please tell me how you did it ?