enabling or disabling controls according to user logged in
Dear Team i am developing an application using vb6 and SQL server 2000 .I want to enable and and disable selected controls according to user login.
in the begining of the application i put login form and after that main page or welcome page is coming i want to perform this operation to this page and other inner form.for that i created login table in which i make a column name usertype and according to usertype i m trying to enable or disable controls in the form load event.
but i am not able to do so i mean controls are not getting effected so can you please help me out in this situation or can you give me any other suggetion which will be easy and helpful.
Seeking for sooner response
Thanks in advance
Amit Panchal
Re: enabling or disabling controls according to user logged in
Thread moved from the 'CodeBank VB6' forum (which is for you to post working code examples, not questions) to the 'Database Development' forum
As you haven't given us any details of why it isn't working (or even shown us your code), we can't tell what the problems might be - or how to fix them.
If you don't know how to find out why it isn't working, see the debugging tutorial in the "General" section of our Classic VB FAQs (in the FAQ forum)