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. filetypes

filetypes

Scheduled Pinned Locked Moved C#
tutorialquestion
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.
  • D Offline
    D Offline
    dsl fahk
    wrote on last edited by
    #1

    Hey, everyone. I know it's possible, but i don't know how to access the filetypes part of Windows Explorer. I need to access the ext., the path, the name, and the image. And is it possible to open up the filetypes dialog without opening up Windows Explorer (from my program)? Thanks.

    L D 2 Replies Last reply
    0
    • D dsl fahk

      Hey, everyone. I know it's possible, but i don't know how to access the filetypes part of Windows Explorer. I need to access the ext., the path, the name, and the image. And is it possible to open up the filetypes dialog without opening up Windows Explorer (from my program)? Thanks.

      L Offline
      L Offline
      Luc Pattyn
      wrote on last edited by
      #2

      look at the Path class, it has static methods for almost anything you may need. :)

      Luc Pattyn

      1 Reply Last reply
      0
      • D dsl fahk

        Hey, everyone. I know it's possible, but i don't know how to access the filetypes part of Windows Explorer. I need to access the ext., the path, the name, and the image. And is it possible to open up the filetypes dialog without opening up Windows Explorer (from my program)? Thanks.

        D Offline
        D Offline
        David Domingues
        wrote on last edited by
        #3

        I've done something similar in VBA once. Take a look into BuiltInDocumentProperties, maybe you'll finf what you need Public Function GetWordTitle(strFileName As String) As String Dim wordApp As New Word.Application wordApp.Documents.Open strFileName, , True wordApp.Visible = False GetWordTitle = wordApp.ActiveDocument.BuiltInDocumentProperties("Title") wordApp.ActiveDocument.Close False Set wordApp = Nothing End Function

        Contact me! Please feel free to visit my site

        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