VS2005 Data and Connection Wizzard?

  • Thread starter Thread starter newscorrespondent
  • Start date Start date
N

newscorrespondent

The data and connection wizzards of VS2005 result in the connection string
being put in the application config file. I have an application where I
would like to provide connection string information from a class that I
write. I cannot find a way to replace the work done by the settings class
generated by the wizzard. Is there a way to do this?


Thanks
Tom Groszko
 
Are you sure this problem is related in C++? You can not create settings
file in Visual C++.

If you mean C#, handle the SettingsLoaded event. You can search this event
on the web for examples.
 
Yes I did mean C#, however all the .NET classes are available to the C++
developer.
 
Back
Top