Barry Burton wrote:

File->New
scroll down to bottom
add app.config file type
add in whatever config info you need
VS will automatically generate the correct file



Yes!!!!! That works - no more deleted config file. Thank you!
But.....

So how do I then use this config file? I have been trying:
Dim filename As String = AppDomain.CurrentDomain.BaseDirectory & "autoraw.exe.config"
log4net.Config.DOMConfigurator.Configure(New IO.FileInfo(filename))
but can I replace "autoraw.exe.config" with ageneric string?




Reply via email to