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. problem with Properties.Settings.Default to access settings in C# windows application

problem with Properties.Settings.Default to access settings in C# windows application

Scheduled Pinned Locked Moved C#
helpcsharpvisual-studiodebuggingcollaboration
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.
  • R Offline
    R Offline
    red60mans
    wrote on last edited by
    #1

    hi , i have C# windows app on Visual studio 2005 team system I have a connection string stored as application setting in Settings.settings file and i am trying to access it using Properties.Settings.Default but Properties keyword itself is not being recognized and i am getting a debug error Error :: The type or namespace name 'Properties' could not be found (are you missing a using directive or an assembly reference?) Any help is appreciated Yojimbo yojimbo

    W 1 Reply Last reply
    0
    • R red60mans

      hi , i have C# windows app on Visual studio 2005 team system I have a connection string stored as application setting in Settings.settings file and i am trying to access it using Properties.Settings.Default but Properties keyword itself is not being recognized and i am getting a debug error Error :: The type or namespace name 'Properties' could not be found (are you missing a using directive or an assembly reference?) Any help is appreciated Yojimbo yojimbo

      W Offline
      W Offline
      Ware Work
      wrote on last edited by
      #2

      add a using statement at the top of your program. using project.Properties;

      Thanks, Ware

      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