Open particular file

this is the code i got from deitel & deitel
private void openFile()
JFileChooser fileChooser = new JFileChooser();
fileChooser.setFileSelectionMode(JFileChooser.FILES_ONLY);
int result = fileChooser.showOpenDialog(this);
if (result = JFileChooser.CANCEL_OPTION)
return;
File filename = fileChooser.getSelectedFile();}
actually i what want to ask is .. this code only teach me to select a file and open the file...how am i suppose to do if i want to disable the user to choose a file? i want the program to open a particular file only.. should i not using the JFileChooser?

Hi there
I have written an example of how to make a file chooser that only accept *.xml files - you should be able to modify the code, download it here:
http://www.hjembaek.com/ -> Java FAQ
Kind regards,
Hjembaek

Similar Messages

  • InDesign CS5 Crashing when opening particular file. All others open.

    I tried adding a particular indesign document to a book and it crashed. Since the crash, I can no longer open the file. Can anyone help? Below is the beginning of the crash report. Thank you for any help!
    Process:         Adobe InDesign CS5.5 [542]
    Path:            /Applications/Adobe InDesign CS5.5/Adobe InDesign CS5.5.app/Contents/MacOS/Adobe InDesign CS5.5
    Identifier:      com.adobe.InDesign
    Version:         7.5.3.333 (7530)
    Code Type:       X86 (Native)
    Parent Process:  launchd [160]
    User ID:         501
    Date/Time:       2014-05-22 10:25:40.766 -0400
    OS Version:      Mac OS X 10.8.4 (12E4022)
    Report Version:  10
    Interval Since Last Report:          2652527 sec
    Crashes Since Last Report:           97
    Per-App Interval Since Last Report:  28296 sec
    Per-App Crashes Since Last Report:   7
    Anonymous UUID:                      A675BD82-BC18-546D-1FE1-D10C9EE71330
    Crashed Thread:  0  Main Thread  Dispatch queue: com.apple.main-thread
    Exception Type:  EXC_BAD_ACCESS (SIGBUS)
    Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
    VM Regions Near 0:
    --> __PAGEZERO             0000000000000000-0000000000001000 [    4K] ---/--- SM=NUL  /Applications/Adobe InDesign CS5.5/Adobe InDesign CS5.5.app/Contents/MacOS/Adobe InDesign CS5.5
        __TEXT                 0000000000001000-0000000000005000 [   16K] r-x/rwx SM=COW  /Applications/Adobe InDesign CS5.5/Adobe InDesign CS5.5.app/Contents/MacOS/Adobe InDesign CS5.5
    Thread 0 Crashed:: Main Thread  Dispatch queue: com.apple.main-thread
    0   com.adobe.InDesign.Generic Page Item 0x11e5332a GetPlugIn + 250682
    1   com.adobe.InDesign.Layout UI   0x0ca4f842 GetPlugIn + 9378
    2   com.adobe.InDesign.Layout UI   0x0c9ced2d 0xc9c1000 + 56621
    3   com.adobe.InDesign.Layout UI   0x0cab0e06 GetPlugIn + 408166
    4   WidgetBinLib.dylib             0x0295d5ad CToolCursorProvider::GetSelectionCursor(IControlView*, SysPoint, ICursorMgr::eCursorModifierState) + 3149
    5   com.adobe.InDesign.Layout UI   0x0c9e50b4 0xc9c1000 + 147636

    I tried the script listed from that post earlier this morning. I received a syntax error when trying to run it. I just looked at it again and was able to fix the syntax error. Upon trying to open the IDML file, InDesign now freezes. I have tried opening the file on three different macs, all running different operating systems.

  • Pages crashes when I try to open particular files

    I'm having a problem with Pages quitting unexpectedly. It first happened when I resaved a pages file as a second file (.pages format), renamed it, did some editing and saved it. Then I tried to re-open the original file. This was when Pages first crashed. Now it crashes whenever I try to open either of these two files - although it seemingly has no problem with any other files.
    There was loads of work in these two files and I desperately need to retrieve them. I cannot seem to open them with any other program either - are there any other programs that will open .pages format?
    I have tried several things advised in various forums to deal with crashes. I tried trashing youraccount > library > preferences > com.apple.iWork.Pages.plist, then restarting. I tried verifying then repairing the disk permissions. I tried logging in as a different user. I tried uninstalling then reinstalling iWork. None of these things have made any difference.
    I can't seem to contact Apple directly (where is the Technical Support, guys?), so this forum is my last hope.
    Can anyone help me? Pleeeeeeeeeease......

    Pages crashes with me all the time. I'm resorting to breaking my book into 6 page documents...a major pain. Also sometimes I have to reopen the document before all the photos show up in the layout. What an ustable app.
    I even bought a new Mac Pro tower thinking that it was the power pc chip. Can't be fonts since they all crash again even after multiple fresh installs and reinitialize drives.
    Tech support says it's because I'm using too many photos.
    I may have to go back to Quark. This app is HORRIBLE.

  • This morning I ask about the requirement to download the adobe Cs6 before i buy the product and the salesperson told me that i met the requirement for that particular software, so my surprise now when i open the file it says an error because my computer d

    this morning I ask to a sales person about the requirement to download the adobe Creative Cs6 before i buy the product and the salesperson told me that my computer met the requirement for that particular software, so my surprise now when i open the file it says an error because my computer doesn't meet this requirement,  my computer is a OS X 10.5.8 and the requirement  is OS X v10.6.8 or v10.7 what can i do?

    The requirements are online. For the Master Collection the requirements on Macs are:
    Mac OS
    Multicore Intel processor with 64-bit support
    Mac OS X v10.6.8 or v10.7
    4GB of RAM (8GB recommended)
    15.5GB of available hard-disk space for installation; additional free space required during installation (cannot install on a volume that uses a case-sensitive file system or on removable flash-based storage devices)
    Additional disk space required for disk cache, preview files, and other working files; 10GB recommended
    1280×900 display with 16-bit color and 512MB of VRAM; 1680×1050 display required and second professionally calibrated viewing display recommended for Speedgrade
    OpenGL 2.0-capable system
    DVD-ROM drive compatible with dual-layer DVDs (SuperDrive for burning DVDs; Blu-ray burner for creating Blu-ray Disc media)
    Java™ Runtime Environment 1.6
    Eclipse™ 3.7 Cocoa version (for plug-in installation of Flash Builder); the following distributions are supported: Eclipse IDE for Java EE and Java Developers, Eclipse Classic, Eclipse for PHP Developers
    QuickTime 7.6.6 software required for QuickTime features, multimedia, and HTML5 media playbackOptional: Adobe-certified GPU card for GPU-accelerated performance in Premiere Pro; see the latest list of supported cards
    Optional: Adobe-certified GPU card for GPU-accelerated ray-traced 3D renderer in After Effects; see the latest list of supported cards
    Optional: Tangent CP200 family or Tangent Wave control surface for Speedgrade
    Optional: 7200 RPM or faster hard drive (multiple fast disk drives, preferably RAID 0 configured, recommended) for video products
    Broadband Internet connection and registration are required for software activation, validation of subscriptions, and access to online services.* Phone activation is not available.
    You should have been given the correct information. Adobe offers 30-day money back guarantee.
    You can find return information here:
    Return, cancel, or exchange an Adobe order

  • Check if external program (MS Excel) is active and has opened a particular file

    All
    I need to find some solution for next problem (Visual Studio 2010). I have a form with some buttons. Those buttons open Excel-files from a network share and the Excel-files are marked as shared (meaning they can be opened/edited by multiple users from different
    computers at same time).
    Anyway, when the user presses the button on the form, the file opens in Excel as expected. If he presses the button again, the file is opened again in a second Excel instance. I want to build in some check: if the file is already opened in an existing Excel
    instance, that instance should become visible.
    That's not all: there is a possibility the user already opened the Excel-file before he launched my application. If he then presses the button, the existing Excel-instance (with this particular file) must be shown.
    Of course, the user can close his Excel file. So if he then presses the button, a new Excel instance should start up which opens the file.
    How can this be done?
    Regards
    Kris

    Hi,
     Here is an example that will find any instances of Excel and check if they have a specified file name opened.  If it is found it will bring the Excel window to the foreground or if it is minimized it will be restored.
    Imports System.Runtime.InteropServices
    Public Class Form1
    <DllImport("user32.dll", EntryPoint:="SetForegroundWindow")> _
    Private Shared Function SetForegroundWindow(ByVal hWnd As IntPtr) As <MarshalAs(UnmanagedType.Bool)> Boolean
    End Function
    <DllImport("user32.dll", EntryPoint:="ShowWindow")> _
    Private Shared Function ShowWindow(ByVal hWnd As IntPtr, ByVal nCmdShow As Integer) As <MarshalAs(UnmanagedType.Bool)> Boolean
    End Function
    <DllImport("user32.dll", EntryPoint:="IsIconic")> _
    Private Shared Function IsIconic(ByVal hWnd As IntPtr) As <MarshalAs(UnmanagedType.Bool)> Boolean
    End Function
    <UnmanagedFunctionPointer(CallingConvention.StdCall)> _
    Private Delegate Function EnumCallBackDelegate(ByVal hwnd As IntPtr, ByVal lParam As IntPtr) As Integer
    <DllImport("user32.dll", EntryPoint:="EnumChildWindows")> _
    Private Shared Function EnumChildWindows(ByVal hWndParent As IntPtr, ByVal lpEnumFunc As EnumCallBackDelegate, ByVal lParam As Integer) As <MarshalAs(UnmanagedType.Bool)> Boolean
    End Function
    <DllImport("user32.dll", EntryPoint:="GetWindowTextW")> _
    Private Shared Function GetWindowTextW(ByVal hWnd As IntPtr, <MarshalAs(UnmanagedType.LPWStr)> ByVal lpString As System.Text.StringBuilder, ByVal nMaxCount As Integer) As Integer
    End Function
    Private Const SW_RESTORE As Integer = &H9
    Private ChildHandles As New List(Of IntPtr)
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    'Check if Excel has "My Excel File.xls" opened
    If Not IsExcelFileOpen("My Excel File.xls") Then
    MessageBox.Show("Excel does not have this file opened.")
    Else
    MessageBox.Show("Ecell has this file opened.")
    End If
    End Sub
    Private Function IsExcelFileOpen(ByVal filename As String) As Boolean
    ChildHandles.Clear()
    For Each p As Process In Process.GetProcessesByName("EXCEL")
    EnumChildWindows(p.MainWindowHandle, AddressOf EnumChildWindowProc, 0)
    For Each h As IntPtr In ChildHandles
    Dim sb As New System.Text.StringBuilder(256)
    GetWindowTextW(h, sb, 256)
    If sb.ToString.ToLower.Contains(filename.ToLower) Then
    If IsIconic(p.MainWindowHandle) Then
    ShowWindow(p.MainWindowHandle, SW_RESTORE)
    Else
    SetForegroundWindow(p.MainWindowHandle)
    End If
    Return True
    End If
    Next
    Next
    Return False
    End Function
    Private Function EnumChildWindowProc(ByVal hwnd As IntPtr, ByVal lParam As IntPtr) As Integer
    ChildHandles.Add(hwnd)
    Return 1
    End Function
    End Class
    If you say it can`t be done then i`ll try it

  • Logic crashes when I open a particular file

    Hi, Logic just started crashing on me and usually I could reopen the file, undo a few levels and carry on...However I seem to have saved something just before a crash which actually caused the crash, so that now when I open that file Logic crashes immediately, leaving me no time to get in and undo. Until today it's been running nicely. The file has a 90-minute mpeg4 movie and some AU tracks running. I've already trashed the preferences file, and removed the video file to thre trash so it wouldn't be accessible, but still no go. Any suggestions? Thanks.
    imac 4.1   Mac OS X (10.4.7)   Logic Pro 7.2.1 / 1.5 GB of ram

    Logic crashes when I open a particular file...
    As the old joke goes...
    "Well, don't open it then..."
    The first things to do is make some backups of what you have, just in case. Then try booting Logic without the audio drivers (or turn them off) and see if you can load the song.
    Also, try deactivating your third-party plugs (a snap with AUManager, or move them temporarily out of your components folder), and seeing whether it will load then.
    I would guess that the song is corrupted, so once you can get it to load, I would suggest you start copying all the necessary stuff (regions, automation, channel settings etc etc) into a new, uncorrupted song.
    Also, you can try and go back through your auto-numbered backup files, assuming you have the function turned on - you might be able to open a version of the song before the corruption. And if you didn't have that autobackup feature turned on - well, I suggest you do from now on!
    If you get no joy doing all that, post back and we'll go from there.

  • Opening a file in a particular encoding

    Hi,
    Is there any way that given a file we can choose to open it using a particular encoding (without having to read all the contents and write it to another stream/file) ??
    I know that we can use the file.encoding property but that's more global at the jvm level and I was looking to isolate the encoding only to opening a particular file...basically I am having some trouble running some code on Windows Vs Solaris where things work correctly on windows (I think the encoding its using is Cp1252) while they dont on Solaris (here I think the default encoding is ASCII).

    Well, I'm not sure it has to do with these control characters...as mentioned I found that the system emcoding for Windows was Cp1252 Vs ASCII for Solaris. Now when I used -Dfile.encoding=ISO-8859-1, I was able to correctly extract certain latin extended characters -- my question pertains to being able to open a file using a particular encoding (like what is acheived by the file.encoding property) without it being as global as a jvm property that potentially affects a lot more than my functionality.
    Can we open a file or create an input stream in a particular encoding specified at runtime (without having to read in the entire stream and then convert).
    Thanks !

  • I can't open downloaded files within Mozilla Firefox Particularly PDF files. I have Adobe Acrobat on my machine . Do I need to import it to firefox if so how do I do it ?

    I can't open downloaded files within Mozilla Firefox Particularly PDF files. I have Adobe Acrobat on my machine . Do I need to import it to firefox if so how do I do it ?

    Delete a possible user.js file and numbered prefs-##.js files and rename (or delete) the prefs.js file to reset all prefs to the default value including prefs set via user.js and prefs that are no longer supported in the current Firefox release.
    *http://kb.mozillazine.org/Preferences_not_saved
    Create a new profile as a test to check if your current profile is causing the problem.
    See "Creating a profile":
    *https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Profile_issues
    If the new profile works then you can transfer files from a previously used profile to the new profile, but be cautious not to copy corrupted files to avoid carrying over the problem
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • FCP crashes when opening particular project file

    I have one particular FCP project file that crashes each time I try to open it. I have read other threads and tried to follow their suggestions, but to no avail. I have tried opening it on different computers (both PowerPC and Intel), disconnecting hard drives (to keep media offline), creating a new user, etc. None of it works. The file will not even get to the "Preparing Video" stage before the spinning beach ball appears and FCP crashes. Thanks for your help! I have included the error message below:
    Process: Final Cut Pro [1153]
    Path: /Applications/Final Cut Pro.app/Contents/MacOS/Final Cut Pro
    Identifier: com.apple.FinalCutPro
    Version: 6.0.5 (6.0.5)
    Build Info: FCPApp-810171515~36
    Code Type: X86 (Native)
    Parent Process: launchd [107]
    Date/Time: 2009-03-23 18:10:55.632 -0700
    OS Version: Mac OS X 10.5.6 (9G55)
    Report Version: 6
    Exception Type: EXCBADACCESS (SIGSEGV)
    Exception Codes: KERNINVALIDADDRESS at 0x0000000030300000
    Crashed Thread: 0
    Thread 0 Crashed:
    0 ...ple.CoreServices.CarbonCore 0x92513988 AL_FlipVariableSection + 80
    1 ...ple.CoreServices.CarbonCore 0x92513898 ALI_ConvertBigToLittle + 52
    2 ...ple.CoreServices.CarbonCore 0x92512cef ALI_GetAliasDataFromAliasPtr + 120
    3 ...ple.CoreServices.CarbonCore 0x9251297a _FSCopyExtendedAliasInfoFromAliasPtr + 53
    4 ...ple.CoreServices.CarbonCore 0x925512e7 FSCopyAliasInfo + 89
    5 com.apple.FinalCutPro 0x0012684a ReadKGFile(void*, KGStreamRecord*, KGReferenceTableInt*) + 2018
    6 com.apple.FinalCutPro 0x0012b1d7 KGTypeReadValue + 131
    7 com.apple.FinalCutPro 0x0001f351 KGDictReadHashCommon(KGDictInt**, KGStreamRecord*, KGReferenceTableInt*, KGDictInt* (*)(long)) + 293
    8 com.apple.FinalCutPro 0x0001f460 KGDictReadHash + 38
    9 com.apple.FinalCutPro 0x00113d8e KGDictReadInternal + 116
    10 com.apple.FinalCutPro 0x00124e65 ReadDict(void*, KGStreamRecord*, KGReferenceTableInt*) + 67
    11 com.apple.FinalCutPro 0x0012b21b KGTypeReadPtr + 61
    12 com.apple.FinalCutPro 0x000040ab KGDictReadArray + 341
    13 com.apple.FinalCutPro 0x00113da8 KGDictReadInternal + 142
    14 com.apple.FinalCutPro 0x00124e65 ReadDict(void*, KGStreamRecord*, KGReferenceTableInt*) + 67
    15 com.apple.FinalCutPro 0x0012b1d7 KGTypeReadValue + 131
    16 com.apple.FinalCutPro 0x0001f351 KGDictReadHashCommon(KGDictInt**, KGStreamRecord*, KGReferenceTableInt*, KGDictInt* (*)(long)) + 293
    17 com.apple.FinalCutPro 0x0001f460 KGDictReadHash + 38
    18 com.apple.FinalCutPro 0x00113d8e KGDictReadInternal + 116
    19 com.apple.FinalCutPro 0x00124e65 ReadDict(void*, KGStreamRecord*, KGReferenceTableInt*) + 67
    20 com.apple.FinalCutPro 0x0012b21b KGTypeReadPtr + 61
    21 com.apple.FinalCutPro 0x000040ab KGDictReadArray + 341
    22 com.apple.FinalCutPro 0x00113da8 KGDictReadInternal + 142
    23 com.apple.FinalCutPro 0x00124e65 ReadDict(void*, KGStreamRecord*, KGReferenceTableInt*) + 67
    24 com.apple.FinalCutPro 0x0012b1d7 KGTypeReadValue + 131
    25 com.apple.FinalCutPro 0x0001f351 KGDictReadHashCommon(KGDictInt**, KGStreamRecord*, KGReferenceTableInt*, KGDictInt* (*)(long)) + 293
    26 com.apple.FinalCutPro 0x0001f460 KGDictReadHash + 38
    27 com.apple.FinalCutPro 0x00113d8e KGDictReadInternal + 116
    28 com.apple.FinalCutPro 0x00124e65 ReadDict(void*, KGStreamRecord*, KGReferenceTableInt*) + 67
    29 com.apple.FinalCutPro 0x0012b1d7 KGTypeReadValue + 131
    30 com.apple.FinalCutPro 0x0001f351 KGDictReadHashCommon(KGDictInt**, KGStreamRecord*, KGReferenceTableInt*, KGDictInt* (*)(long)) + 293
    31 com.apple.FinalCutPro 0x0001f460 KGDictReadHash + 38
    32 com.apple.FinalCutPro 0x00113d8e KGDictReadInternal + 116
    33 com.apple.FinalCutPro 0x00124e65 ReadDict(void*, KGStreamRecord*, KGReferenceTableInt*) + 67
    34 com.apple.FinalCutPro 0x0012b1d7 KGTypeReadValue + 131
    35 com.apple.FinalCutPro 0x0001f351 KGDictReadHashCommon(KGDictInt**, KGStreamRecord*, KGReferenceTableInt*, KGDictInt* (*)(long)) + 293
    36 com.apple.FinalCutPro 0x0001f460 KGDictReadHash + 38
    37 com.apple.FinalCutPro 0x00113d8e KGDictReadInternal + 116
    38 com.apple.FinalCutPro 0x00124e65 ReadDict(void*, KGStreamRecord*, KGReferenceTableInt*) + 67
    39 com.apple.FinalCutPro 0x0012b21b KGTypeReadPtr + 61
    40 com.apple.FinalCutPro 0x000040ab KGDictReadArray + 341
    41 com.apple.FinalCutPro 0x00113da8 KGDictReadInternal + 142
    42 com.apple.FinalCutPro 0x00124e65 ReadDict(void*, KGStreamRecord*, KGReferenceTableInt*) + 67
    43 com.apple.FinalCutPro 0x0012b1d7 KGTypeReadValue + 131
    44 com.apple.FinalCutPro 0x0001f351 KGDictReadHashCommon(KGDictInt**, KGStreamRecord*, KGReferenceTableInt*, KGDictInt* (*)(long)) + 293
    45 com.apple.FinalCutPro 0x0001f460 KGDictReadHash + 38
    46 com.apple.FinalCutPro 0x00113d8e KGDictReadInternal + 116
    47 com.apple.FinalCutPro 0x00124e65 ReadDict(void*, KGStreamRecord*, KGReferenceTableInt*) + 67
    48 com.apple.FinalCutPro 0x0012b21b KGTypeReadPtr + 61
    49 com.apple.FinalCutPro 0x000040ab KGDictReadArray + 341
    50 com.apple.FinalCutPro 0x00113da8 KGDictReadInternal + 142
    51 com.apple.FinalCutPro 0x00124e65 ReadDict(void*, KGStreamRecord*, KGReferenceTableInt*) + 67
    52 com.apple.FinalCutPro 0x0012b1d7 KGTypeReadValue + 131
    53 com.apple.FinalCutPro 0x0001f351 KGDictReadHashCommon(KGDictInt**, KGStreamRecord*, KGReferenceTableInt*, KGDictInt* (*)(long)) + 293
    54 com.apple.FinalCutPro 0x0001f460 KGDictReadHash + 38
    55 com.apple.FinalCutPro 0x00113d8e KGDictReadInternal + 116
    56 com.apple.FinalCutPro 0x00124e65 ReadDict(void*, KGStreamRecord*, KGReferenceTableInt*) + 67
    57 com.apple.FinalCutPro 0x0012b21b KGTypeReadPtr + 61
    58 com.apple.FinalCutPro 0x00114114 pKGDictReadWithFlags(KGDictInt**, KGStreamRecord*, KGMessageableRec*, unsigned long, __CFArray const*) + 580
    59 ...FinalCutPro.Plugins.Browser 0x0aa97a00 BrowserOpenFile(KGFileRec*, unsigned char, unsigned char) + 2680
    60 ...FinalCutPro.Plugins.Browser 0x0aa9aec1 Browser(long, long, KGDictInt*, KGFileRec*) + 10179
    61 com.apple.FinalCutPro 0x00183fd2 pKGDisplayFile(KGFileSpec*, char*, unsigned char, unsigned char) + 426
    62 com.apple.FinalCutPro 0x003ff5ff OpenDocuments(AEDesc const*, AEDesc*, long) + 311
    63 com.apple.AE 0x96c64648 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned long, unsigned char*) + 144
    64 com.apple.AE 0x96c6457e dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 44
    65 com.apple.AE 0x96c64425 aeProcessAppleEvent + 177
    66 com.apple.HIToolbox 0x96ed99a5 AEProcessAppleEvent + 38
    67 com.apple.HIToolbox 0x96f37e46 AEProcessEvent + 160
    68 com.apple.HIToolbox 0x96f37d99 HIStdAppHandler::HandleEvent(OpaqueEventHandlerCallRef*, TCarbonEvent&) + 219
    69 com.apple.HIToolbox 0x96f3503a TEventHandler::EventHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 70
    70 com.apple.HIToolbox 0x96eaf143 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1181
    71 com.apple.HIToolbox 0x96eae57d SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 405
    72 com.apple.HIToolbox 0x96eae3e2 SendEventToEventTargetWithOptions + 58
    73 com.apple.HIToolbox 0x96edcd54 ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 356
    74 com.apple.HIToolbox 0x96eaf4fc DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 2134
    75 com.apple.HIToolbox 0x96eae57d SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 405
    76 com.apple.HIToolbox 0x96ecaed2 SendEventToEventTarget + 52
    77 com.apple.HIToolbox 0x96f37b80 ToolboxEventDispatcher + 86
    78 com.apple.HIToolbox 0x96f343da RunApplicationEventLoop + 222
    79 com.apple.FinalCutPro 0x0014cece KGMainEvent(void*) + 46
    80 com.apple.FinalCutPro 0x002aae53 main + 59
    81 com.apple.FinalCutPro 0x00003122 _start + 216
    82 com.apple.FinalCutPro 0x00003049 start + 41

    Hi, thanks for the response.  The project was actually finished in v2, but I wanted to open it in v7 as a reference.  I don't want (and shouldn't) have to keep all previous versions of the software installed on my system so that I may be able to open project files. Most software programs I work with are backwards compatible or provide some means of upgrading files to newer format.  Can you imagine how things would be if Word Doc format became unusable with each MS Word release?  :-)
    In this particular case, Pre7 shouldn't be crashing like it is.  Ideally, it should recognize a previous version project file and either update it automatically or drop features no longer supported (with some message to the user or log file generated).  The error message is ambiguous at best and pretty useless as it didn't really help in identifying the root cause of the problem.  This is likely the result of some uncaught exception when the program parses the .prel project file and finds an element attribute it doesn't expect (version "3" instead of "4").
    Marc

  • On a certain site when saving a file, Firefox doesn't ask me if I want to save or if I want to open the file with a particular program. How do I change that?

    I want to open certain file types with a program (eg: adobe illustrator) without having to save it first but depending on the website, Firefox does not as me whether I want to save or open with...

    See:
    *http://kb.mozillazine.org/File_types_and_download_actions
    *https://support.mozilla.com/kb/Managing+file+types

  • Unable to open .chm file from a link in Weblogic 7.0

    Unable to open .chm file from a link in weblogic server. But the same
    jsp code works in Websphere
    Sample Code :
    <!-- < a href="JavaScript:window.navigate('help/manual.CHM')">
    Linked Text</a> -->
    The above link, works well in websphere. help is a folder that
    resides in the server. But when i tried to execute the same in
    Weblogic, some junk characters appeared . so i tried to direct the
    link to Display.jsp and passed the path of the chm file as the
    parameter. I cleared teh out buffer using out.clearBuffer() . i set
    the content type to application/x-msdownload and also set the header
    to content disposition.
    Nothing worked .
    I also tried another way.. That is the following
    I even tried including the mime type
    <mime-mapping>
    <extension>chm</extension>
    <mime-type>application/x-msdownload</mime-type>
    </mime-mapping>
    in the web.xml file. and still it doesnt work
    Nothing Worked . What should i do ? I need immediate help to sort out
    this issue. Can anybody help me
    - Angel

    This could be a Launch Services issue. The following article describes how to manually reset Launch Services — the notes at the bottom of the article also provide information about the side effects of deleting each of the files involved:
    Resetting Launch Services
    If you prefer using a cache cleaning utility instead of following the manual procedure described in the previous article, take a look at this other article for general troubleshooting and cache-cleaning procedures. Actually, you should also verify/repair the startup disk (not just permissions), as described there:
    Resolving Disk, Permission, and Cache Corruption
    The most appropriate utility for this particular problem probably is Tiger Cache Cleaner, but you may also want to consider other utilities, such as OnyX, or Cache Out X, which are free. Whatever utility you choose, be sure to read this first:
    Side effects of System cache cleaning
    As an example, this is how you should proceed with OnyX:
    1. Quit all applications.
    2. Launch OnyX and enter your administrator password.
    3. Go to Maintenance > Reset and check LaunchServices database.
    4. Un-check any other pre-checked options.
    5. Click the Execute button.
    6. Restart the computer.
    BTW, if you’re running Mac OS X 10.4 (Tiger), as your profile indicates, it would have been more appropriate to discuss this in the Mail & Address Book - Tiger forum. If the discussion applies to both Mail 1.x and Mail 2.x, it doesn’t really matter, but it’s difficult to know that in advance.

  • I have sent a file to the trash bin. When I come to empty the trash bin everything goes out except this one particular file and I get a note saying the file is 'in use' but it is not. How can I delete this file from trash?

    I have a Macbook Pro with OS X Lion 10.7.2. I have sent a work file to the trash bin along with many other files. When I empty the trash this one particular file remains and I get a message that this file is still in use. I have tried returning the file to my documents, opening it, closing it and then sending it to trash and again I try to empty trash but the same message comes up - Q - How can I trash this file permanently?

    First just try logging out and back in.  Whatever is holding on to it may not be running after the logout thus freeing it so you can trash it after logging back in.
    You might also try Trash It!
    Lastly, look at the following for suggestions:
    The X Lab: Solving Trash Problems

  • Can't open AEP file, crashes AE 6 with error messages...

    I've been rendering a 3D scene for a few weeks and got all the final frames finished on Thanksgiving. I've been composing them all weekend and one particular file I had all put together and then saved it and closed it and tried to open it Adobe Media Encoder to make a final video to send off to the client. Encoder repeatedly would hang at 100% opening the file, so I decided to open up AE again to see what was up and sure enought the file itself wouldnt open anymore. I get the error message [After Effects error: crash occurred while envoking effect plug-in "Auto Level"] and then [After Effects error: Crash in progress. Last logged message was:<3376> <Dynamic Link> <5> C:\Program Files\Adobe\Adobe Premiere Pro CS6\Adobe Premiere Pro.exe]. Then it crashes completely and asks if I want to save the file. Of course the resulting saved file is only a fraction of the oriiginal file size and doesnt open either. I tried emptying the cache files and turning on caps lock, tried to import the file into a new project and even place it on the Premiere timeline. No dice, nothing I know seems to work. I'd really rather not have to redo the 10+ hours I spent composing all those layers and re-adding back all the effects work. I can see all my compositions in the background while its crashing (which just pains me). Any way I could get my file back into a useable state?? Wouldn't care if I needed to re-do some of it, but deadline is approaching fast and I just can't be spending all the time to redo this one scene.
    I'm on a 6core i7 PC, Win7 64bit OS with 32Gb of Ram and an Nvidia 670GTX 2Gb video card , 2 internal SSDs set as RAID for the boot drive. Of course this is all in After Effects CS6 from the master collection. Everything is latest driver as of 4 weeks ago when I started all of this (brand new machine!). I am composing 16bit PNG image sequences, and adding standard color corrections and image tuning, as well as a pass in Red Giant Looks, Re:visions Reel Smart Motion Blur and Video CoPilots Optical Flares.

    What Dave said. MP is hopelessly overrated. Sometimes it works splendidly on simple projects, most of the time not so much when you throw halfway complex stuff at it. In your case it would have been quietly disabled behind your back, anyways (read this for reference: After Effects Help | Memory and storage), but with AE anything is possible. I suspect that a conflict between hardware acceleration features for another effect or footage decoding made things go boom in your case, but without knowing al lthe details, it's impossible to tell what exactly caused the breakdown.
    Mylenium

  • Open .csv file in Excel

    If I double click a .csv file in Windows Explorer, then Excel runs and the file is opened.
    Is it possible to get LabVIEW to do this?
    The problem is, I don't know which version of Excel will be installed, and I also need to accomodate future versions.
    Everything I've found with a search seems use to system_exec.vi with a constant pointing to the location (in c:\program files\microsoft office....etc) of a particular version of Excel
    So what I want is to have a button which fires an event which takes the specified .csv file and runs whatever version of Excel is installed to open the file.
    Solved!
    Go to Solution.

    Oooooooh almost.
    It's on the right track, but, as is explained here, there needs to be a further pair of quotes in the command line.
    So it actually needs something like cmd.exe /c start "" "c:\path\file.csv"
    If the extra quotes aren't there then it opens a command prompt window with the path and filename as the window title (WHY???)
    But using START is the correct solution, so I'm going to credit you with that.
    Thanks.

  • Error message when publishing and problems opening output file

    I have 5 projects linked together. When I publish one, I get a message that the files listed below are linked to the open project, and one or more of these projects may require exporting. I have tried to open these files and choose File | Export | Project to | but the options in the list (Flash 8 and Flash CS3) are both grayed out--on every one of these files. I'm publishing to Flash 9.
    I didn't think much about this message until a few reviewers said they can't open the project, or when they do, they don't see my playbar on the skin.
    One more thing--when an IT person was trying to help one reviewer open the output file, the IT person said "Oh, there's a problem with the code in line 25." I guess that's the html code? I'm not a programmer, but I can look at html code. What should I be seeing there in line 25?
    Is their problem opening the output file(s) related to my message about possibly needing to export files? Why might they be having problems getting the output file to open?
    Thanks for any insights you can provide!
    SAM

    Hi Sam
    It depends on a number of things. Are you certain you uploaded all the files involved? If not, there will be problems.
    The message about the linked files is quite simply advising you that you have links from that particular movie that will expect to find the files being linked to.
    If a person isn't seeing playback controls and you have included them, it's likely you haven't provided the correct link for them to open and play the file. Typically you provide a link to the HTML page Captivate creates. As long as all the output files are in the same place on the server, you should be good to go.
    Cheers... Rick
    Click here for Adobe Authorized Captivate and RoboHelp HTML Training
    Click here for the SorcerStone Blog
    Click here for RoboHelp and Captivate eBooks

Maybe you are looking for

  • How do I set up HP 2540 to cell phone?

    Can't connect Android to hp2540 wirelessly

  • Rule set import - Background job did not run

    Hi, I am setting up my CC 5.2 production system. I have downloaded from ruleset from the dev CC and imported it into production. However the background job generated did not run. I am implementing SAP note 999785 to fix this, but am wondering what sh

  • TREX installation on IIS5.1 on Windows XP

    HI All I have installed TREX on window XP having IIS5.1 but in SAP MMC sapccmsr is not running, I search on internet that there must be Application Pools with IIS server which only come in IIS6.x , It comes with Windows 2003 server while my machine i

  • Forbidden Screen - Error: "Still waiting for root device"

    Greetings to all! I come to you with my boot troubles as a supplicant, in the hope that someone can help. I have a PowerBook G4 15-inch, pre-Intel from late 2005. Until today it always worked and rarely hanged. All I've ever needed to do when in trou

  • Script UI

    If have a button, when click "Button 1",it will pop up second dialog and then click "Button 2", need to pop up third dialog but can't pop the third dialog, why? w = new Window ("dialog", "Test", undefined, {resizeable: true}); var myText = w.add("edi