hitechboy78737
Programmer
As I understand it, the Application.Startup path is a different value in debug builds and release builds.
I've solved the problem by stripping off the "\bin" and adding "<insert data string here>", knowing that I have to change this when I build a release.
First, do I have this concept right?
Secondly, Couldn't I look at some property to see if the build is release or debug and set the string accordingly? If so, what would this magic property be?
Thanks!
Kevin Howell
I've solved the problem by stripping off the "\bin" and adding "<insert data string here>", knowing that I have to change this when I build a release.
First, do I have this concept right?
Secondly, Couldn't I look at some property to see if the build is release or debug and set the string accordingly? If so, what would this magic property be?
Code:
strMagicProp = somenamespace.MagicProperty
if strMagicProp = "debug" then
<insert debug DSN string>
elseif strMagicProp = "release" then
<insert release DSN string>
else
PUNT!
end if
Thanks!
Kevin Howell