How do I cancel the open method if there's an unresolved text inset in the doc?

According to the FDK reference guide, the open parameter FS_RefFileNotFound means "Document imports another file that isn’t available." One of the supported values for this parameter is FV_DoCancel, which cancels the open operation. So before calling the open operation, I specifically set this parameter's value to FV_DoCancel. I assumed that if i did that and the document has an unresolved text inset, then the document would not open. But it does. What am I missing?
Code is as follows:
   var vFileName='C:\\testing\\test.fm'
    var vOpenParams=GetOpenDefaultParams();
    var vReturnParams=new PropVals();
    var index;
    index=GetPropIndex(vOpenParams,Constants.FS_RefFileNotFound);
    vOpenParams[index].propVal.ival=Constants.FV_DoCancel;
    var vDoc=Open (vFileName,vOpenParams,vReturnParams)  
    if (FA_errno!=0)
        if (CheckStatus (vReturnParams,Constants.FV_CancelReferencedFilesNotFound))
            Err ('ERROR: '+vFileName+' was not opened because the document imports files that cannot be found. Verify there are no unresolved text insets in the document. \n')

What bar are you talking about? Is it part of an add-on?
If so, open the Add-ons Manager and disable it.
Type '''about:addons'''<enter> in the address bar to open your Add-ons Manager.
Hot key; '''<Control>''(Mac:<Command>)''<Shift> A)'''
Separate Issue;
Your System Details shows;
Installed Plug-ins
Adobe Shockwave for Director Netscape plug-in, version 12.0.5.146
Adobe Shockwave for Director Netscape plug-in, version 12.0.7.148
Having more than one version of a program may cause issues.
Grab the uninstaller from here:
'''[http://helpx.adobe.com/flash-player/kb/uninstall-flash-player-windows.html Uninstall Flash Player | Windows]'''
'''[http://helpx.adobe.com/flash-player/kb/uninstall-flash-player-mac-os.html Uninstall Flash Player | Mac]'''
Then reinstall the latest version.
Flash Player '''Version 17.0.0.134<br>https://www.adobe.com/products/flashplayer/distribution3.html'''
Shockwave Director '''Version 12.1.7.157 http://get.adobe.com/shockwave/'''

Similar Messages

Maybe you are looking for

  • LOV query with bind variable

    Hi, I have a LOV with a query has a bind variable: select comp_plan_id,name from cn_comp_plans_all where sysdate between start_date and nvl(end_date,sysdate+1) and org_id = : 1 So I create a CO for this LOV , and in processRequest(), I pass the value

  • My hp officejet 6310 all in one disc will not install

    had some trouble and uninstalled my software in trying to reinstall but when i put my dice in nothing happens i am able to print and send a fax but it wont scan or recieve a fax

  • STOLEN iphone 4,

    i need some help, my iphone was stolen on april 20 and i did not download the mobile me application  for me to locate it. I already have repported it to my service provider and it was blocked via IMEI. Is there anyway apple coul help me to find it? i

  • Height of Textview Object

    Hi, is it possible to change they height of an textview object? If it is possible, how? Regards, Hubert

  • How do i delete images from camera after importing

    how do i delete images from camera, ipad, iphone after importing the files into aperture3?