Hi,
I am a VFP developer and need to do something in VB. In VFP, doing the following is routine business:
for i = 1 to 10
cBox = 'text' + alltrim(str(i))
thisform.&cBox..enabled = .t.
next
The ampersand is Macro Substitution.
How do we do it in VB??
Also i pick up a value (Menu Name) from a table and want to disable it depending on user access. In VFP:
use permission
scan for ID = cUserID
cButton = permission.buttonName
thisform.&cButtonName..enabled = permission.allowed
endscan
How to do it in VB??
TIA,
Abdul Ahad