User Profile

Collapse

Profile Sidebar

Collapse
Yoduh
Yoduh
Last Activity: Aug 14 '07, 12:54 PM
Joined: Aug 8 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Yoduh
    replied to Closing Excel properly
    heyy, sorry for bumping such an old thread, but I finally got my website to stop running out of memory overnight.


    Code:
    excelfile.Close(false);
    excel.Quit();
    excel.Application.Quit();
    excel = null;
    excelfile = null;
    excelsheet = null;
    CollectGarbage();
    setTimeout("CollectGarbage()",1);
    I'm not sure if the excelfile.Close (false) is necessary, I'm also not sure...
    See more | Go to post

    Leave a comment:


  • Yoduh
    started a topic Closing Excel properly

    Closing Excel properly

    Hello, I'm fairly new to javascript. I'm making a website for my personal use that will read from Excel and display some data on an HTML page and I've been learning javascript as I go.

    A problem I have is when I leave the website running overnight (it refreshes itself every minute), an error eventually pops up that says
    "Not enough memory to run Microsoft Office Excel. Please close other applications and try again."...
    See more | Go to post
No activity results to display
Show More
Working...