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#
  4. Windows application create an Excel file

Windows application create an Excel file

Scheduled Pinned Locked Moved C#
helpcom
3 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.
  • M Offline
    M Offline
    Member 4464239
    wrote on last edited by
    #1

    my application is working properly on windows xp with both office 2003 & 2007 but when i am trying to run it on windows 7 an error message came up, everything is ok. forms and reports, only creating an Excel file is giving the error. i installed PIAs for office 2007 but i still have the same problem. anybody can help me. the error message is can not load library/dll. com object Excel thanks in advance

    D R 2 Replies Last reply
    0
    • M Member 4464239

      my application is working properly on windows xp with both office 2003 & 2007 but when i am trying to run it on windows 7 an error message came up, everything is ok. forms and reports, only creating an Excel file is giving the error. i installed PIAs for office 2007 but i still have the same problem. anybody can help me. the error message is can not load library/dll. com object Excel thanks in advance

      D Offline
      D Offline
      Dan Mos
      wrote on last edited by
      #2

      This is vague. It could be many things such as security permissions or 64 bit problem or... Compile your app explicitly for x86. And try again. Also try running as a admin.

      Just an irritated, ranting son of ... an IT guy. At your trolling services

      1 Reply Last reply
      0
      • M Member 4464239

        my application is working properly on windows xp with both office 2003 & 2007 but when i am trying to run it on windows 7 an error message came up, everything is ok. forms and reports, only creating an Excel file is giving the error. i installed PIAs for office 2007 but i still have the same problem. anybody can help me. the error message is can not load library/dll. com object Excel thanks in advance

        R Offline
        R Offline
        Ramkithepower
        wrote on last edited by
        #3

        if it is a exe, try right-clicking on it and select "run as administrator".

        Jack Sparrow -------------------------------------- Defeat is not the worst of failures. Not to have tried is the true failure.

        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