-
Topic
-
Hi
Our users often want to send a shortcut to a network file to each other (internal emails only this is) but the process for doing so is a bit painful so I was hoping to create a Formativ button that would assist them.
The process in GW as I understand it is as follows …
Create a Windows Shortcut (LNK file) by right clicking on the target file, a PDF say, and choosing Send to Desktop (create shortcut).
Start a New mail and drag the LNK file into the Attachments area (or use the paperclip icon and roam to the LNK file).
You then get a choice of adding the file itelf (PDF) or the shortcut (LNK).
Choosing the shortcut open creates an attachment that will open the PDF file for the recipient.
This is very handy.
When I try and recreate this in code howver I get stuck on doing the attachment. So far I have …
Groupwise.ItemAttachmentAdd “XOO”, 114, “C:Documents and SettingsGRAHAMDesktopShortcut to Demo.pdf.lnk” , “Shortcut to Demo19.pdf.lnk”
This causes the pop-up option to appear for attach file vs attach shortcut.
Is there some way around this? Either by attaching the LNK file a different wany or some way to “answer” the pop-up question and select ‘attach shortcut’?
Note: I am assuming I have asked the user to select the file they want a shortcut to via a Form and I have already created the windows shortcut (possibly via a VB ActiveX call). Its the attach stage that is causing me a problem.
Thanks
Simon
- You must be logged in to reply to this topic.