Hi ,

I'm creating window application with VB.NET and flatfiles.

the problem is how do i store the connection string in the app.config file that include the application.startup path?

<add name="cn" connectionString="provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + Application.StartupPath + "\data\;Extended Properties=text;" />

i got some error when writing to app.config.

"Missing attribute value on attribute 'Application.StartupPath'."

anyone know what's wrong?

Pls Help?