Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. app fails to load double-clicked file

app fails to load double-clicked file

Scheduled Pinned Locked Moved C / C++ / MFC
help
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jake Palmer
    wrote on last edited by
    #1

    When I double click on a file whose extension is handled by my MDI app, it starts to run the app but doesn't show the MainFrame properly (the floating dialogbar appears, but no main window or anything). I get an error saying "Cannot find the file ... Make sure the path and filename are correct and that all required libraries are available." I think these might be two separate problems, because when I click OK on the error message the half-opened application remains. The same thing happens when another instance of the app is running. I'm not trying to do anything tricky here, like open the file in the same instance, which just seems too difficult. I've found similar postings on this forum but nothing that helps here. thanks, Jake

    J 1 Reply Last reply
    0
    • J Jake Palmer

      When I double click on a file whose extension is handled by my MDI app, it starts to run the app but doesn't show the MainFrame properly (the floating dialogbar appears, but no main window or anything). I get an error saying "Cannot find the file ... Make sure the path and filename are correct and that all required libraries are available." I think these might be two separate problems, because when I click OK on the error message the half-opened application remains. The same thing happens when another instance of the app is running. I'm not trying to do anything tricky here, like open the file in the same instance, which just seems too difficult. I've found similar postings on this forum but nothing that helps here. thanks, Jake

      J Offline
      J Offline
      jmkhael
      wrote on last edited by
      #2

      Did u serialize ur data? Papa Murex Co. while (TRUE) Papa.WillLove ( Bebe ) ;

      J 1 Reply Last reply
      0
      • J jmkhael

        Did u serialize ur data? Papa Murex Co. while (TRUE) Papa.WillLove ( Bebe ) ;

        J Offline
        J Offline
        Jake Palmer
        wrote on last edited by
        #3

        Yes, if I run the app normally and load in the file, everything works fine. Drag and drop also works fine. The only problems occur when double-clicking on files. Jake

        J 1 Reply Last reply
        0
        • J Jake Palmer

          Yes, if I run the app normally and load in the file, everything works fine. Drag and drop also works fine. The only problems occur when double-clicking on files. Jake

          J Offline
          J Offline
          jmkhael
          wrote on last edited by
          #4

          Does ur application name or path contains space characters? Papa Murex Co. while (TRUE) Papa.WillLove ( Bebe ) ;

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups