Reading from app.config file with VB Express 2010

I have this in my namespace section:

Imports System.Configuration

I attempt to read from the file this way, but I get an error about ConfigurationManager not being a member.

strPath = System.Configuration.ConfigurationManager.AppSettings("Path")

I plan to use the .exe.config file for these settings when I go to deploy this application.

thanks

JMO9966Asked:
Who is Participating?
 
Mike TomlinsonMiddle School Assistant TeacherCommented:
Click on Project --> Add Reference --> .Net Tab --> System.Configuration.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.