|
|
 |
BOOK: Professional InfoPath 2003  | This is the forum to discuss the Wrox book Professional InfoPath 2003 by Ian Williams, Pierre Greborio; ISBN: 9780764557132 |
|
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: Professional InfoPath 2003 section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
|
 |

August 10th, 2005, 12:53 AM
|
|
Registered User
|
|
Join Date: Aug 2005
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
External Documents
Hi,
I have a form on which I would like to have a list of links to external documents. These documents may be word, pdf, jpg and other files.
I have tried using the hyperlink control with a file reference, i.e.:
file:///c:\myfile.doc, but I get 'access denied'.
I have also tried using javascript:
var WshShell = new ActiveXObject("WScript.Shell");
var oExec = WshShell.Run("c:\\myfile.doc");
This works in preview, but in published form I get 'Automation server can't create object'
Does this have something to do with the form trust? Does anyone have any ideas how I could have a simple link to an external file?
Thanks,
Sean.
|

August 8th, 2006, 12:20 PM
|
|
Registered User
|
|
Join Date: Aug 2006
Location: Bolton, MA, USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hello,
I'm having a similar problem with the script code in InfoPath:
var objWS = new ActiveXObject("WScript.Shell");
var myDocFolder = objWS.SpecialFolders("MyDocuments");
I've updated the Intranet security settings to enable non-signed ActiveX controls, but still get the Automation error. Any other suggestions?
thanks,
Jake
Quote:
quote:Originally posted by spolacsek
Hi,
I have a form on which I would like to have a list of links to external documents. These documents may be word, pdf, jpg and other files.
I have tried using the hyperlink control with a file reference, i.e.:
file:///c:\myfile.doc, but I get 'access denied'.
I have also tried using javascript:
var WshShell = new ActiveXObject("WScript.Shell");
var oExec = WshShell.Run("c:\\myfile.doc");
This works in preview, but in published form I get 'Automation server can't create object'
Does this have something to do with the form trust? Does anyone have any ideas how I could have a simple link to an external file?
Thanks,
Sean.
|
jake
|

April 29th, 2008, 08:15 AM
|
|
Registered User
|
|
Join Date: Apr 2008
Location: , , .
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi,
now with infoPath 2007 we have picture Control.
Thanks..
Net norvin
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |