Hello
I have several VB.NET Windows Form applications connecting tp several Network databases. When I build, update and test my apps, I want them to connect to a testing database as opposed to connecting to the production databases when the app is released.
Right now, I change a setting in my coding before releasing the app, but I would like this to be automatic, to prevent any testing data in the Production database and vice versa.
I found this piece of coding on the web, but it doesn't seem to ever be in DEBUG mode...
and by DEBUG mode I mean when I click the "Start Debugging" button or the F5 key
Thank you for your input in advance
P:oD
I have several VB.NET Windows Form applications connecting tp several Network databases. When I build, update and test my apps, I want them to connect to a testing database as opposed to connecting to the production databases when the app is released.
Right now, I change a setting in my coding before releasing the app, but I would like this to be automatic, to prevent any testing data in the Production database and vice versa.
I found this piece of coding on the web, but it doesn't seem to ever be in DEBUG mode...
and by DEBUG mode I mean when I click the "Start Debugging" button or the F5 key
Code:
#If DEBUG Then msgbox "DEBUG" #Else MsgBox("NOT DEBUG !") #End If
Thank you for your input in advance
P:oD
Comment