H
HHickey
We are developing our user security for our vb.net web product and trying to
design a page that would list the different pages in a drop down/list or
something similar allowing a supervisor to select pages that their employee
would have access to. Taking it one step further - we would then like to
list all of the objects on this page or atleast have access to them to give
access further down the scale (Save / Delete / Change access on a page). To
do this - I am thinking that I would have to declare a variable of type that
was selected by the user - and this is where I have stopped. I know in
declaring a variable I have to specify a type:
Dim frmTemp as WebProject.WebPage1
Is there a way for me to declare a variable of type which the user selected
from a drop down.
Dim frmTemp as <Dropdown.SelectItem.Name>
I know that I could declare a variable of type WebPage and then ctype() it.
But then again I would have to declare a type. I know that I do not have
macro substitution as I do in Visual FoxPro. My only other thought of how
to get around this is a case statement and code each one appropriately.
??
Thanks
Heather Hickey
design a page that would list the different pages in a drop down/list or
something similar allowing a supervisor to select pages that their employee
would have access to. Taking it one step further - we would then like to
list all of the objects on this page or atleast have access to them to give
access further down the scale (Save / Delete / Change access on a page). To
do this - I am thinking that I would have to declare a variable of type that
was selected by the user - and this is where I have stopped. I know in
declaring a variable I have to specify a type:
Dim frmTemp as WebProject.WebPage1
Is there a way for me to declare a variable of type which the user selected
from a drop down.
Dim frmTemp as <Dropdown.SelectItem.Name>
I know that I could declare a variable of type WebPage and then ctype() it.
But then again I would have to declare a type. I know that I do not have
macro substitution as I do in Visual FoxPro. My only other thought of how
to get around this is a case statement and code each one appropriately.
??
Thanks
Heather Hickey