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. How to embed information data and retrieve it from other applications

How to embed information data and retrieve it from other applications

Scheduled Pinned Locked Moved C / C++ / MFC
csharpc++salestutorialquestion
4 Posts 3 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.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    How to embed information data and retrieve it from other applications? I have a proprietary data file format that contains graphical data. I would like to embed customer and job related data and be able to extract the data to display in other applications (i.e. Excel). I would assume I could place the data in my file format anyway I want. But how does Excel or other application extract this data. Do I write a DLL with functions to extract the fields of information? I’m open to any ideas but I’m limited to VC++ 6.0 (no .NET, C#) Many thanks in advance Tony Teveris

    J R L 3 Replies Last reply
    0
    • L Lost User

      How to embed information data and retrieve it from other applications? I have a proprietary data file format that contains graphical data. I would like to embed customer and job related data and be able to extract the data to display in other applications (i.e. Excel). I would assume I could place the data in my file format anyway I want. But how does Excel or other application extract this data. Do I write a DLL with functions to extract the fields of information? I’m open to any ideas but I’m limited to VC++ 6.0 (no .NET, C#) Many thanks in advance Tony Teveris

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

      Just curious but does it have to be embedded? Because you could create an external comma delimited file or even an HTML file and use Excel, etc. easily. I found that comma delimited and HTML are more universal than a propietary data format.

      1 Reply Last reply
      0
      • L Lost User

        How to embed information data and retrieve it from other applications? I have a proprietary data file format that contains graphical data. I would like to embed customer and job related data and be able to extract the data to display in other applications (i.e. Excel). I would assume I could place the data in my file format anyway I want. But how does Excel or other application extract this data. Do I write a DLL with functions to extract the fields of information? I’m open to any ideas but I’m limited to VC++ 6.0 (no .NET, C#) Many thanks in advance Tony Teveris

        R Offline
        R Offline
        Ramu Pulipati
        wrote on last edited by
        #3

        Yes, you can do it. To be specific it should be ATL COM Dll which implemenets IDExtensibilty2 interface. This COM dll will be loaded when excel comes up. When user chooses to open the selected file, a notification will be fired by excel application to all the listners of IAppEvents. At this stage, component should read from file and stuff it in Excel columns. Check out more for COM add-in dlls in Office applications. Hth, Ramu

        1 Reply Last reply
        0
        • L Lost User

          How to embed information data and retrieve it from other applications? I have a proprietary data file format that contains graphical data. I would like to embed customer and job related data and be able to extract the data to display in other applications (i.e. Excel). I would assume I could place the data in my file format anyway I want. But how does Excel or other application extract this data. Do I write a DLL with functions to extract the fields of information? I’m open to any ideas but I’m limited to VC++ 6.0 (no .NET, C#) Many thanks in advance Tony Teveris

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          I want the data embedded because the file gets move around alot by the user, backups, floppy, etc. Learning from the past it's better to keep the data all together. I will agree csv and the like are easy to use. Thanks for your thoughts Tony

          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