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. writeprofilestring( )

writeprofilestring( )

Scheduled Pinned Locked Moved C#
c++
4 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.
  • A Offline
    A Offline
    Archana New to Dotnet
    wrote on last edited by
    #1

    VC++ have an inbuild function named writeprofilestring( ) to write contents in an INI file. similarly do we have inbuild function to read/write values in INI file (User created) in Web application C # because doing it via file reading and writing may fetch more time . for instance the format has to be like below [settings] Image=0 Thanks in Advance Archana

    B realJSOPR 2 Replies Last reply
    0
    • A Archana New to Dotnet

      VC++ have an inbuild function named writeprofilestring( ) to write contents in an INI file. similarly do we have inbuild function to read/write values in INI file (User created) in Web application C # because doing it via file reading and writing may fetch more time . for instance the format has to be like below [settings] Image=0 Thanks in Advance Archana

      B Offline
      B Offline
      Balaji KJ
      wrote on last edited by
      #2

      Use streamreader object in c#. http://msdn2.microsoft.com/en-us/library/system.io.streamreader.aspx[^]. Go to this link you would get perfect instance for your query

      1 Reply Last reply
      0
      • A Archana New to Dotnet

        VC++ have an inbuild function named writeprofilestring( ) to write contents in an INI file. similarly do we have inbuild function to read/write values in INI file (User created) in Web application C # because doing it via file reading and writing may fetch more time . for instance the format has to be like below [settings] Image=0 Thanks in Advance Archana

        realJSOPR Offline
        realJSOPR Offline
        realJSOP
        wrote on last edited by
        #3

        There's an article here on CP that includes a class for reading .ini files, .config files, and xml files in .net

        "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
        -----
        "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

        A 1 Reply Last reply
        0
        • realJSOPR realJSOP

          There's an article here on CP that includes a class for reading .ini files, .config files, and xml files in .net

          "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
          -----
          "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

          A Offline
          A Offline
          Archana New to Dotnet
          wrote on last edited by
          #4

          Thanks for your reply . I went through the article. It is using API function. How can I use it in webapplication. Can you please tell me Thanks in Advance Archana

          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