Link to home
Start Free TrialLog in
Avatar of JMO9966
JMO9966

asked on

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

ASKER CERTIFIED SOLUTION
Avatar of Mike Tomlinson
Mike Tomlinson
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial