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. Visual Basic
  4. files names under a process - vb.net 2008

files names under a process - vb.net 2008

Scheduled Pinned Locked Moved Visual Basic
csharpquestion
5 Posts 4 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.
  • P Offline
    P Offline
    Pankaj Garg
    wrote on last edited by
    #1

    Hi, I opened ten excel files, and all files are coming under one process in the task manager. Is there any option to find all the excel file names which are lying in this excel process? Thanks

    C D L 3 Replies Last reply
    0
    • P Pankaj Garg

      Hi, I opened ten excel files, and all files are coming under one process in the task manager. Is there any option to find all the excel file names which are lying in this excel process? Thanks

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Perhaps if you use the interop stuff to interact with Excel directly.

      Christian Graus Driven to the arms of OSX by Vista. "! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums. I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp

      1 Reply Last reply
      0
      • P Pankaj Garg

        Hi, I opened ten excel files, and all files are coming under one process in the task manager. Is there any option to find all the excel file names which are lying in this excel process? Thanks

        D Offline
        D Offline
        Dave Kreskowiak
        wrote on last edited by
        #3

        You're going to have to use Office Interop to get the list of opened workbooks from Excel.

        A guide to posting questions on CodeProject[^]
        Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
             2006, 2007, 2008

        P 1 Reply Last reply
        0
        • D Dave Kreskowiak

          You're going to have to use Office Interop to get the list of opened workbooks from Excel.

          A guide to posting questions on CodeProject[^]
          Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
               2006, 2007, 2008

          P Offline
          P Offline
          Pankaj Garg
          wrote on last edited by
          #4

          can u provide some sample code to process it?

          1 Reply Last reply
          0
          • P Pankaj Garg

            Hi, I opened ten excel files, and all files are coming under one process in the task manager. Is there any option to find all the excel file names which are lying in this excel process? Thanks

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

            Set IgnoreRemoteRequets to True to force excel to open a new instance of excel.exe for each workbook, this may cause undesired behavior and may cause links to not work. Save your sheet when you set ignoreremoterequests to true. This will prevent all worksheets opened programtically when a user opens a workbook from his desktop.

            Check out the CodeProject forum Guidelines[^]

            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