Home All Groups Group Topic Archive Search About

Variable function activation

Author
7 Aug 2006 2:37 PM
Frank Teunen
I have an VB.net application with very much funtions.
These functions are autorised per user in a database table.

In the main window I show all functions for the current user.

If the user selects a function I must activate a window depending on his
choice.
How can I do that, in other words how can I activate a window which name
comes from a variable.

Thanks
Frank

Author
7 Aug 2006 3:29 PM
Cor Ligthert [MVP]
Frank,

Did you ever thought about the build in role based security.

In dotNet
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconintroductiontorole-basedsecurity.asp

in SQLServer
http://msdn2.microsoft.com/en-us/library/ms156014.aspx

I hope this helps,

Cor


Show quoteHide quote
"Frank Teunen" <f**@newman.be> schreef in bericht
news:44d750a3$0$10468$ba620e4c@news.skynet.be...
>I have an VB.net application with very much funtions.
> These functions are autorised per user in a database table.
>
> In the main window I show all functions for the current user.
>
> If the user selects a function I must activate a window depending on his
> choice.
> How can I do that, in other words how can I activate a window which name
> comes from a variable.
>
> Thanks
> Frank
>
Author
9 Aug 2006 1:58 PM
Frank Teunen
Cor,

Thx for your advise.
But I realy want to find a way to activate a form depending on a certain
situation, so depending on the value of a variable.

Frank

Show quoteHide quote
"Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message
news:OwoyJYjuGHA.4968@TK2MSFTNGP03.phx.gbl...
> Frank,
>
> Did you ever thought about the build in role based security.
>
> In dotNet
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconintroductiontorole-basedsecurity.asp
>
> in SQLServer
> http://msdn2.microsoft.com/en-us/library/ms156014.aspx
>
> I hope this helps,
>
> Cor
>
>
> "Frank Teunen" <f**@newman.be> schreef in bericht
> news:44d750a3$0$10468$ba620e4c@news.skynet.be...
>>I have an VB.net application with very much funtions.
>> These functions are autorised per user in a database table.
>>
>> In the main window I show all functions for the current user.
>>
>> If the user selects a function I must activate a window depending on his
>> choice.
>> How can I do that, in other words how can I activate a window which name
>> comes from a variable.
>>
>> Thanks
>> Frank
>>
>
>
Author
9 Aug 2006 2:30 PM
Cor Ligthert [MVP]
Frank,

What do you mean with "a window" in your question?

Cor

Show quoteHide quote
"Frank Teunen" <f**@newman.be> schreef in bericht
news:44d9ea7a$0$32426$ba620e4c@news.skynet.be...
> Cor,
>
> Thx for your advise.
> But I realy want to find a way to activate a form depending on a certain
> situation, so depending on the value of a variable.
>
> Frank
>
> "Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message
> news:OwoyJYjuGHA.4968@TK2MSFTNGP03.phx.gbl...
>> Frank,
>>
>> Did you ever thought about the build in role based security.
>>
>> In dotNet
>> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconintroductiontorole-basedsecurity.asp
>>
>> in SQLServer
>> http://msdn2.microsoft.com/en-us/library/ms156014.aspx
>>
>> I hope this helps,
>>
>> Cor
>>
>>
>> "Frank Teunen" <f**@newman.be> schreef in bericht
>> news:44d750a3$0$10468$ba620e4c@news.skynet.be...
>>>I have an VB.net application with very much funtions.
>>> These functions are autorised per user in a database table.
>>>
>>> In the main window I show all functions for the current user.
>>>
>>> If the user selects a function I must activate a window depending on his
>>> choice.
>>> How can I do that, in other words how can I activate a window which name
>>> comes from a variable.
>>>
>>> Thanks
>>> Frank
>>>
>>
>>
>
>