GetURL() to a .doc file

So we have some web-based training that we are making. Using CS4 to publish to Flash 7 and then the page is running in IE 6. (Got to love them corporate policies!)
We have some resource documents for the users to download. Usually we make them pdfs and use getURL() and the files work just fine.
However, this time we have a file that we want to keep as a .doc type. The code is:
on(release){
getURL("Resources/MyDocument.doc","_blank");
When the user clicks on that button they get a message that the Action was cancelled and that IE was unable to link to the Web page you requested. However, if I copy the URL that is showing in the browser to another browser window the file is indeed located at that address.
I'm thinking it must be some kind of Flash security thing to prevent the random opening of Word files (and the possible macro viruses). Is that probably what is going on here?

what's the exact error message and what program's generating the error message?
and the users all have ms word?

Similar Messages

  • Using getURL to access network files

    I am working on an Intranet site and I need a button in Flash
    to open a file that's on our network share. I know about the getURL
    function and use it often to link to HTML files that are on the
    same server as the web files, but I don't know how to use getURL to
    open external files on the network:
    example:
    on (release) {
    getURL("page1.html", "_blank");
    page1.html is located on the webserver but contains a link to
    \\server1\share1\document1.doc (server1 is a different server on
    our network)
    I want to eliminate the middle man and link directly to
    document1.doc, but I don't know how to do that with getURL since
    document1.doc is not on the webserver.
    Thanks for any advice.

    I don't believe you can like directly to this file on your
    network because of the security features built into flash which
    will not allow network access such as this.

  • Display .doc file in new window by url

    Hi all,
    I hope someone got a quick an easy solution for this one.
    I want to access and display (open/save) a .doc file in a new separate window by using createExternalWindow(docUrl, xxx, xxx), where docUrl is a path on the local webAS. Right now I access the file like this:
    File doc = new File("apps/local/filename.doc");
    wdComponentAPI.getWindowManager().createExternalWindow(doc.getURL(), "", false).open;
    This does not work though, since it gives me the absolute path from the hard drive letter and down, ie: c:/usr/sap/../filename.doc
    We havent installed Office Integration on our webAS.
    Anyone? All help help is appreciated. This doesn't feel like it should be a big issue?!
    Best regards,
    Andreas

    Andreas,
    Here is probably not the optimal and not the most intuitive way to perform this task, but anyway:
    1. In View controller context create attribute with type <b>binary</b>, let us name it <b>MyDoc</b>
    2. In View controller source define private variable
    private ISimpleType _msWordType
    3. In View controller wdDoInit method place the following:
    _msWordType = wdContext
      .getNodeInfo()
        .getAttribute("MyDoc")
          .getModifiableSimpleType();
    ((IWDModifiableBinaryType)_msWordType).setMimeType( WDWebResourceType.DOC );
    ((IWDModifiableBinaryType)_msWordType).setFileName( "MyMsWordDocument.doc" );
    4. Use the following docUrl when calling createExternalWindow
    /* Load document content first */
    final byte[] documentContent = loadDocumentBytes();
    /* And now the trick itself */
    final String docUrl = _msWordType.format( documentContent );
    We successfully apply this technique to display photo from employee profile loaded from database
    VS

  • Link to trigger a .pdf or .doc file to show in presentation

    I would like to add a link that would trigger the showing of a .pdf file or a .doc file within the presentation itself. I can do this in powerpoint. There must be some way to do this in Keynote, but I can't figire out how to do this. Thanks for any ideas.

    Keynote does not allow links to anything but other Keynote presentations, websites, or email. However, you can use Expose or Command-Tab to quickly switch to a PDF or Word file.

  • I can not open adobe files. mainly ones that end in doc. I purchased the 19.99 to convert .doc files

    I can not open adobe files that end in .doc. I purchased the 19.99 to convert doc to pdf and I still cant open. I get an error reading.

    Hi,
    Which Adobe Service did you purchased?
    If you have purchased CreatePDF please visit: https://createpdf.acrobat.com/SignIn.html
    Sign in with your Adobe ID and password, and then convert your word doc into PDF.
    Please let me know if that works.
    If you have Adobe Reader, you cannot convert .doc file to .PDF by drag and drop.
    ~ Aditya

  • Can not open .pdf or .doc files in mail

    Every time I receive an email with a pdf or .doc file attached I can never open it as I get a message telling me that the file was not recognised or that the file is invalid. Even if I select to open using Adobe for the pdf I get the same.
    Any help gratefully received. I've always had this problem and get round it by viewing these emails online instead. But it's not as convenient of course.

    G'day jbglass,
    I had the same problem, getting the same error message etc. I solved the problem by going to Google Chrome and using that to download the file ( a pdf brochure in my case).  That worked OK.  Hope this helps.
    fitzlefrog

  • I converted by PDF files to Doc files.  How can I download them to my desktop?

    I need to update the .doc files.  How can I download them to my desktop?  It should be simple  but I can't figure it out.

    HI DaiseyBabii,
    Sign in to cloud.acrobat.com with your Adobe ID and password.
    Click the Files tab, and you'll see a list of all the files you've converted.
    Click the file that you want to download, and then click Download in the upper-right corner.
    Let us know if that doesn't do the trick.
    Best,
    Sara

  • ADF 10g: open doc file in msWord but not in browser

    Hello,
    I'm working with JDeveloper 10.1.3/JHeadstart 10.1.3. deployed on Oracle application server 10.1.2.3
    Does anybody know how to open a .doc file in msWord application on client side?
    I have added a mime-type in my web.xml:
    <mime-mapping>
    <extension>doc</extension>
    <mime-type>application/msword</mime-type>
    </mime-mapping>
    but the file is opened in a new internet explorer window.
    Currently I succeeded to open it in msWord by changing settings on the client computer in explorer>Tools>Folder Options>File Types and then change for doc file type the advanced property "Browse in same window". When not checked, the .doc file is opened in msWord but when checked the file opens in the browser.
    It could be easy to ask the users to make this modification on their station, but it is not possible.
    Thanks in advance.
    Pierrick

    Hi,
    if the requirement is similar and not the same its always worth spelling it out. You can reference document resources like Word from ADF by referencing the document URL from a goLink (which then allows you to set the target property to open the doc in a separate browser window or tab). If the browser opens Word, downloads the file or opens in the browser depends on the MIME type setting of the browser (e.g. can it display Word documents natively). If the document e.g is accessed from ADF through a servlet then you probably can set the Mime type explicitly to a specific one. However, it the client in the end that interprets how to process the document.
    Frank

  • Open doc file in msWord but not in browser

    JDev 11.1.1.6.0
    My requirement is similar to that in https://forums.oracle.com/thread/2327005 but in 11g.
    The user has almost done it in making changes in web.xml but I am a beginner and I don't know how to make this happen on click of a command button or a command image link.
    Also, it would be nice if the doc file (new blank doc) opens in MS Word application and not in browser without making changes in browser level.

    Hi,
    if the requirement is similar and not the same its always worth spelling it out. You can reference document resources like Word from ADF by referencing the document URL from a goLink (which then allows you to set the target property to open the doc in a separate browser window or tab). If the browser opens Word, downloads the file or opens in the browser depends on the MIME type setting of the browser (e.g. can it display Word documents natively). If the document e.g is accessed from ADF through a servlet then you probably can set the Mime type explicitly to a specific one. However, it the client in the end that interprets how to process the document.
    Frank

  • Understanding compile errors due to copying code from a doc file and not a txt file

    SITUATION:
    My instructor for my micro-controller class refuses to save sample code to a text file and instead saves it to a word document file instead. When I open up the doc file and copy/paste the code into my IDE "CodeWarrior" it causes errors upon compile time.
    I am having to rewrite all the code into a text editor and then copy/paste it into my IDE.
    MY UNDERSTANDING:
    I was told to always save code as a text file because when you save code as a word document file it will bring in unwanted characters when your copy/pasting the code into your IDE for compiling.
    Their are students in my class using the schools computers running "Windows" that copied and pasted the code into CodeWarrior and it compiled fine. This is not only frustrating but confusing. However, I know their are students in class with "PC's" running windows that had the same trouble I did so I know it's not a Mac issue. 
    Also I am running "Parallels" because my IDE for this micro-controller "Code Warrior" is not avaiable for my OS. I realize there are several IDE's out there that require "Windows OS" in general but I know this situation is not a Mac issue or Parallels issue or even a Windows issue. It's purly an issue of formatting that is done between the file being copied and the target program or so I'm understanding.
    Can someone exlain to me in better words or perhaps provide a resource, documentation or article that will enlighten me on this issue. I would like to better state my case next time. I'm tired of being told this is a MAC issue and that Windows is just plain better.

    The problem is (as you suggest) almost certainly a gremlin issue - characters that for one reason or another Code Warrior cannot interpret correctly. Why it happens to you and not others is a different matter. That could mean that the pofessor uses fonts that are not on your machine, or that he is using a different version of word, or it could be in how you access the data. For instance, if the prof posts this word doc on the web you may get different results if you download the file and open it in Word as opposed to opening it directly from a web browser.
    The sure-fire solution is to download TextWrangler and copy the code in there first. TW has a number of tools for finding and removing unpleasant characters. it adds a step, but... you could also try resaving the doc file as a plain text file from within word.

  • "uses a file type that is blocked from opening in this version" error message when opening a *.doc file with Word already running

    Several customers running different versions of Office 2011 (14.4.1-14.4.5) on OSX varying from 10.7.5 to 10.9.5, running on various kinds of hardware (iMac/MacBook Pro/MacBook Air) of various ages are having issues opening *.doc files if the Word is already open. The error message that gets displayed is, "XXXX.doc uses a file type that is blocked from opening in this version"
    When the customer tries to open the same file via File-Open, she gets "The file is locked for editing. you can open the file as read-only".
    When trying to do so, she gets "Word cannot open this document. The document might be in use, the document might not be a valid Word document, or the file name might contain invalid characters".
    If Word gets Force-quit, the same document opens without any problems.
    1. Repairing Disk permissions was ran several times. and the volume was found to be OK.
    2. I have noticed that in this scenario either deleting the normal.dotm or com.microsoft.word.plist (~/Library/Preferences) sometimes resolves the issue, sometimes it doesn’t. There is no pattern to follow. All versions of Office are affected, the fully updated and the non-updated ones.
    3. I have tried completely removing the suite using Office 2011 Uninstall.app and/or Remove Office 2011 Uninstaller.pkg, then going through customer's library and manually removing all the Office references.
    4. None of these systems had Office 2008 in the past.
    Any help will be greatly appreciated.

    Reboot both the Mac and the server. Word opens .DOC files and Excel opens .XLS files. As you have found out by copying the files to the computer. It is the connection between the 2 computer that is causing the error.

  • How to open and read pdf and micrsoft word (.doc) files or documents

    My problem is how to use my BB 9800 software version 6.0.0.546 to read/view pdf files and microsoft office documents. I have also bought documents to go from online and have installed it on my phone, but whenever i try to open it I receive a message that it is incompactible. Any help will be greatly appreciated.

    Hi, Sammy.
    Why not install a 3rd party PDF reader and Word Doc reader to help open and read pdf and micrsoft word (.doc) files or documents? You can google it and select one whose way of processing is simple and fast to help you with the related converting work.  It will be better if it is totally manual and can be customized by users according to our own favors. Remember to check its free trial package first if possible. I hope you success. Good luck.
    Best regards,
    Arron

  • Pages '09 won't open my AWK or DOC files

    I've bought iWork '09 to future proof myself against the day I finally have to abandon a computer running Snow Leopard + Rosetta (I can still run AppleWorks and Word 2001 on my present machine but that won't always be the case).
    However, now I'm beginning to regret it. Every document from AppleWorks 6 or Word 2001 (or Word 97 onwards ".doc" saved by TextEdit) will not open in Pages. I get a message, "The document __________ cannot be opened". I've tried both dragging the files onto the Pages icon in the dock, and by using Open in Pages.
    Yet Pages will open a Simple Text document (albeit with a lot of "garbage" where the formatting was), and it opens TextEdit RTF documents, and I can grab and insert any jpeg into it.
    But I bought the suite on the grounds that it will open AW6 and Word .doc files ... yet it won't! What has gone wrong?

    Consider continuing to run Appleworks in Lion or Mt. Lion with Snow Leopard (and Rosetta) installed into Parallels:
                                  [click on image to enlarge]
    Full Snow Leopard installation instructions here:
    http://forums.macrumors.com/showthread.php?t=1365439

  • Convert doc file generated by OpenOffice to PDF X1a

    Hi, I have a .doc file originally produced by Open Office Writer and then converted to a Word format. I would now like to use Acrobat 10 to convert this .doc file to a PDF X format, but I'm not having any luck. I've tried the following two approaches:
    1. I'm able to use Open Office Writer to convert it to a normal PDF format. I then tried to take that PDF file and convert it to a PDF X file using Acrobat Pro with Preflight, but a bunch of errors appeared.
    2. If I start in Acrobat Pro, select Create PDF from file, select my documents, none of the .doc files produced in Open Office show up on the list--as if Acrobat Pro won't read any .doc files produced by Open Office.
    Hope someone can help. I'm new to Acrobat Pro.
    Thanks in advance.

    Use Ctrl-P or Use FILE>Print when you have OO Writer open with your document. You should get something like below.
    Just select the Adobe PDF printer, check properties if you like, then print. In this case, OO shows a preview of the pages in the document as they should look. I created a simple one as an example. I did a preflight after using the PDF-X1A settings and did get errors noted. One of them had to do with tagging that does not happen when you use the print. You might try to print normally and then use preflight to convert. I tried also and still got errors. At least I may have given you some things to try.

  • Opening '.doc' files created by Appleworks

    Hi,I couldn't find any discussion of this so am posting a question.
    Pages 2.0 opens all our normal Appleworks word processor (cwk?) files OK, and also opens "real" ".doc" files created by Word (from others, we don't have Word).
    Pages won't open Word type ".doc" files saved from Appleworks, and gives a message that it is an incorrect file type. If I use "get info" to remove the .doc extension from the name, Pages will open the renamed file. So pages appears to be okay opening Appleworks saved .doc files only if I remove the .doc from the name.
    Kind of hard to do with several hundred files. Any suggestions?
    G42x800, G4Cube, Etc. Mac OS X (10.4.5)

    I don't know what the problem is exactly. When I save a document as Word (6 or 98) in AW, no .doc extension is added to the file name. But here is a solution to remove the extension, if that helps:
    Create a workflow in Automator. I use Automator on a german OS, I have tried to translate the commands, but you might have to search for the corresponding actions with a similar name.
    - Add the "Get Folder Content" action
    - Add the "Rename" Finder action
    - Select "Replace text" and replace ".doc" with nothing or with "AW doc"
    Then save the action as a folder plugin and attach it to a "Convert AW docs" folder.
    Any file dropped into the folder will be renamed according to your rules.

Maybe you are looking for

  • Google, Facebook etc take ages to load on Safari (and Firefox)

    There have been a few threads on this issue...but none seem to have a solution that works for us. We have two laptops (MacBook (MB) and MacBook Pro (MBP)) using an airport wireless.   The MP has all of a sudden decided that google and facebook will n

  • Lightroom 5.6 Win8 64 import of some photos are not possible

    Lightroom 5.6 Win8 64 import of some photos are not possible: the photos are grey, the file name of the photos are already excisting in the catalog, older different photos, don't Import Suspected Duplicates is not selected. There is no difference sel

  • Wgy isn't a back up on an external fire wire disk bootable?

    I just did the first back up on my external firewire HD. When I checked on start up disk on system prefs, I was surprised to see it was not bootable. In case my boot disk goes belly up, how do I use time machine to recover?? I read some of the instru

  • Alerts not working when formula is in the cell

    I am having a problem where my alerts are not working in the preview mode.  They work fine when I hard code the alert range.  But I need the alert to change under differnt conditions and I am using an IF statement the formula is simple =IF('TXF Input

  • PE51/ Form Editor

    Hi, While creating Line Layout in FORM EDITOR, am facing the following error of "Cursor placed in a wrong position". I am doing it as given in the SAP help, but not able to create a line layout. Hope an early response to this query. Rgds Vaishali