All:
Is it feasible (or even desirable...) to write one set of dll's that can be referenced both by windows apps and web apps.
How do I test to set the boolean of I_am_web_app
I'm sure its simple, fundamental and i've plain missed it in the doc....Code:If I_am_web_app=True then myapppath = HttpContext.Current.Request.ApplicationPath 'and other web code elseif I_am_windows_vb_app=True then 'do something else myapppath = System.Windows.Forms.Application.ProductName 'not strictly a path, but you get the idea..... End If




Reply With Quote