Colleagues,
I've been working mostly in FPD/VFP for the last 25 years, till last summer.
I don't like global/public memvars (well, yeah!). VFP has system variable (object, actually) _VFP, which I used to avoid declaring public memvars,
something like
which I've been using to distinguish between IDE and EXE runs.
I did work (and even taught programming for 3 years in a college) in VB5-6 and developed commercial programs in VB4-6... till 2006. Never ever since.
I am working with a VB .NET program now, trying to create a new generation of it. And it has a shipload of Public memvars!
I do not want to add my own, hence my question:
Is there an equivalent in VB .NET 2012 to _VFP.StartMode? (Anything in Settings.Designer, maybe? Anywhere else?)
Please advise.
TIA!
Regards,
Ilya
I've been working mostly in FPD/VFP for the last 25 years, till last summer.
I don't like global/public memvars (well, yeah!). VFP has system variable (object, actually) _VFP, which I used to avoid declaring public memvars,
something like
Code:
_VFP.AddProperty("glDevelop", (_VFP.StartMode == 0))
which I've been using to distinguish between IDE and EXE runs.
I did work (and even taught programming for 3 years in a college) in VB5-6 and developed commercial programs in VB4-6... till 2006. Never ever since.
I am working with a VB .NET program now, trying to create a new generation of it. And it has a shipload of Public memvars!
I do not want to add my own, hence my question:
Is there an equivalent in VB .NET 2012 to _VFP.StartMode? (Anything in Settings.Designer, maybe? Anywhere else?)
Please advise.
TIA!
Regards,
Ilya