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. Web Development
  3. ASP.NET
  4. find OS drive by asp.net coding

find OS drive by asp.net coding

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nettutorial
7 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.
  • T Offline
    T Offline
    trilokharry
    wrote on last edited by
    #1

    how to get drive name in which operating system has been installed by asp.net coding. thanks

    You get the best out of others when you give the best of yourself.

    C 1 Reply Last reply
    0
    • T trilokharry

      how to get drive name in which operating system has been installed by asp.net coding. thanks

      You get the best out of others when you give the best of yourself.

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

      Why on earth would you want that ? What could you possibly hope to do with it ?

      Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

      T 1 Reply Last reply
      0
      • C Christian Graus

        Why on earth would you want that ? What could you possibly hope to do with it ?

        Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

        T Offline
        T Offline
        trilokharry
        wrote on last edited by
        #3

        actually itext sharp not supporting directly some font family like 'Locida Console' but I got one solution that we can give path to font file that is place by default in drive where os is installed. like: if OS is installed on C drive means - I want path="C:\\WINDOWS\\Fonts\\" so just I want to know drive only to resolve this issue.

        You get the best out of others when you give the best of yourself.

        G C 2 Replies Last reply
        0
        • T trilokharry

          actually itext sharp not supporting directly some font family like 'Locida Console' but I got one solution that we can give path to font file that is place by default in drive where os is installed. like: if OS is installed on C drive means - I want path="C:\\WINDOWS\\Fonts\\" so just I want to know drive only to resolve this issue.

          You get the best out of others when you give the best of yourself.

          G Offline
          G Offline
          Gamzun
          wrote on last edited by
          #4

          your solution might work on your development environment but I'm quite sure it won't work on production server if it's third party's.

          T 1 Reply Last reply
          0
          • G Gamzun

            your solution might work on your development environment but I'm quite sure it won't work on production server if it's third party's.

            T Offline
            T Offline
            trilokharry
            wrote on last edited by
            #5

            thanks for your kind response. now I have got solution.

            You get the best out of others when you give the best of yourself.

            S 1 Reply Last reply
            0
            • T trilokharry

              thanks for your kind response. now I have got solution.

              You get the best out of others when you give the best of yourself.

              S Offline
              S Offline
              sashidhar
              wrote on last edited by
              #6

              trilokharry wrote:

              now I have got solution.

              Then Why Dont you share with Other..!May Be It will Helpul to others..!:thumbsup:

              LatestArticle :Log4Net Why Do Some People Forget To Mark as Answer .If It Helps.

              1 Reply Last reply
              0
              • T trilokharry

                actually itext sharp not supporting directly some font family like 'Locida Console' but I got one solution that we can give path to font file that is place by default in drive where os is installed. like: if OS is installed on C drive means - I want path="C:\\WINDOWS\\Fonts\\" so just I want to know drive only to resolve this issue.

                You get the best out of others when you give the best of yourself.

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

                You cannot access files on your clients host computer, what fonts they have installed is irrelevant. I'd bet anything that the solution you found will not work when you deploy to a real server.

                Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

                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