Thats a posibility of course, but then that is more work for the
programmer on what should be a very simple boolean switch.
That also does not help for supporting generic (Already inuse
components) that can easily be adapted from current environ (WinApp) to
In the body of my component I just want to go.
Example (I've just typed this, it may not be real scenario)
if ( EnvironmentUtil.IsWebApp( ) )
fileName = AppDomain.CurrentDomain.BaseDirectory;
fileName = System.Environment.CurrentDirectory;
*** Sent via Developersdex http://www.yqcomputer.com/
Don't just participate in USENET...get rewarded for it!