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. Interop.excel.. Exception in 2K, working in Xp

Interop.excel.. Exception in 2K, working in Xp

Scheduled Pinned Locked Moved C#
comhelpquestion
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.
  • A Offline
    A Offline
    AnnnS
    wrote on last edited by
    #1

    hi all my problem is when i try to open an excel workbook, it gives a runtime ComException in win2K where in XP its working fine Code is Excel.Workbook wb =wbs.Open("mtc.xls",false, Type.Missing, Type.Missing, Type.Missing, false, Type.Missing, Type.Missing,true, Type.Missing, Type.Missing, Type.Missing,Type.Missing); Can anyone suggest an idea??:confused: Thanks in Advance Akhil

    M 1 Reply Last reply
    0
    • A AnnnS

      hi all my problem is when i try to open an excel workbook, it gives a runtime ComException in win2K where in XP its working fine Code is Excel.Workbook wb =wbs.Open("mtc.xls",false, Type.Missing, Type.Missing, Type.Missing, false, Type.Missing, Type.Missing,true, Type.Missing, Type.Missing, Type.Missing,Type.Missing); Can anyone suggest an idea??:confused: Thanks in Advance Akhil

      M Offline
      M Offline
      Mircea Grelus
      wrote on last edited by
      #2

      Are you talking about Office 2000/Office XP? (the Office you are trying to automate) Or Windows 2000/Windows XP? (the OS on which you run your program, also which versions of Office are installed on each of them?)

      regards, Mircea Many people spend their life going to sleep when they’re not sleepy and waking up while they still are.

      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