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. Excel Object

Excel Object

Scheduled Pinned Locked Moved C#
helpcsharpperformancetutorialquestion
2 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.
  • G Offline
    G Offline
    gauthee
    wrote on last edited by
    #1

    Do we have any pre-requistes before creating an excel object for a windows application developed using c#? Is there any sort of memory limitation when creating an excel object. Our application runs fine when few processes are running along with the application, however when the number of other processes are increased then an error is displayed " THERE IS NOT ENOUGH MEMORY TO RUN MICROSOFT EXCEL. PLEASE CLOSE OTHER APPLICATION AND TRY AGAIN ". The solution to this error is a system restart, when this error occurs you cannot open any existing excel file too! Please note that our application has needed excel objects clean up code. What could be the cause for this error? How to resolve this? Kindly help!

    gauthee

    N 1 Reply Last reply
    0
    • G gauthee

      Do we have any pre-requistes before creating an excel object for a windows application developed using c#? Is there any sort of memory limitation when creating an excel object. Our application runs fine when few processes are running along with the application, however when the number of other processes are increased then an error is displayed " THERE IS NOT ENOUGH MEMORY TO RUN MICROSOFT EXCEL. PLEASE CLOSE OTHER APPLICATION AND TRY AGAIN ". The solution to this error is a system restart, when this error occurs you cannot open any existing excel file too! Please note that our application has needed excel objects clean up code. What could be the cause for this error? How to resolve this? Kindly help!

      gauthee

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      gauthee wrote:

      Please note that our application has needed excel objects clean up code.

      What does this mean? You need clean up code and you're getting out of memory exceptions? Seems an obvious problem.


      only two letters away from being an asset

      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