Click here to Skip to main content
16,015,108 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHow to kill Remoting Object ofter use Please Help Me. Pin
Piyush Vardhan Singh28-Apr-08 21:32
Piyush Vardhan Singh28-Apr-08 21:32 
Generalget String and call to a function accordingly Pin
helelark12328-Apr-08 19:06
helelark12328-Apr-08 19:06 
GeneralRe: get String and call to a function accordingly Pin
Christian Graus28-Apr-08 19:36
protectorChristian Graus28-Apr-08 19:36 
GeneralRe: get String and call to a function accordingly Pin
helelark12328-Apr-08 19:57
helelark12328-Apr-08 19:57 
GeneralRe: get String and call to a function accordingly Pin
Christian Graus28-Apr-08 20:27
protectorChristian Graus28-Apr-08 20:27 
GeneralRe: get String and call to a function accordingly Pin
helelark12328-Apr-08 20:36
helelark12328-Apr-08 20:36 
GeneralRe: get String and call to a function accordingly Pin
Christian Graus28-Apr-08 20:39
protectorChristian Graus28-Apr-08 20:39 
GeneralRe: get String and call to a function accordingly Pin
helelark12328-Apr-08 21:17
helelark12328-Apr-08 21:17 
You are right.
I trying to reproduce all the scenario how it will work but I still have a problem in this way because also in your way I will need to use reflection.
This is the scenario:
I have an enum:
public enum criterias
criteria1
criteria2
criteria3 ...
end enum

From my database I need to know for each user which criteria is linked to.
My database example:
Col1: UserID {1,2,3,4}
Col2: Criteria (Criteria1,Criteria2,Criteria1,Criteria3}

Public function f()
'returns for each user wich criteria
criteriaFromDb=LoadCriteriaFromDb

select case criteriaFromDb
case criterias.criteria1
call f1
case criterias.criteria2
call f2
case criterias.criteria3
call f3
end case
end function

If I am right until this line, so criteriaFromDb is a string that I pull out from Mydatabase and now I still need to "convert" it to enum (I know how to do this) and it is actually same as "converting" string to function.

Thanks

Shay Noy

GeneralRe: get String and call to a function accordingly Pin
Christian Graus28-Apr-08 21:35
protectorChristian Graus28-Apr-08 21:35 
GeneralRe: get String and call to a function accordingly Pin
helelark12328-Apr-08 22:54
helelark12328-Apr-08 22:54 
GeneralRe: get String and call to a function accordingly Pin
Mycroft Holmes29-Apr-08 1:53
professionalMycroft Holmes29-Apr-08 1:53 
GeneralSourcecontrol and contextmenustrip Pin
Gab2328-Apr-08 12:57
Gab2328-Apr-08 12:57 
GeneralString evaluation Pin
Phusys28-Apr-08 8:42
Phusys28-Apr-08 8:42 
GeneralRe: String evaluation Pin
Ashish Sehajpal28-Apr-08 9:32
Ashish Sehajpal28-Apr-08 9:32 
GeneralRe: String evaluation Pin
Phusys28-Apr-08 10:15
Phusys28-Apr-08 10:15 
GeneralRe: String evaluation Pin
helelark12328-Apr-08 18:58
helelark12328-Apr-08 18:58 
GeneralRe: String evaluation Pin
MidwestLimey28-Apr-08 11:59
professionalMidwestLimey28-Apr-08 11:59 
Questionform deactivation problem Pin
gq_the_fallen_angel28-Apr-08 7:59
gq_the_fallen_angel28-Apr-08 7:59 
AnswerRe: form deactivation problem Pin
nlarson1116-May-08 9:47
nlarson1116-May-08 9:47 
GeneralSet Caret Position in a TextBox Pin
VFaul28-Apr-08 7:51
VFaul28-Apr-08 7:51 
AnswerRe: Set Caret Position in a TextBox Pin
Smithers-Jones28-Apr-08 7:58
Smithers-Jones28-Apr-08 7:58 
Questionhelp with an idea in ReportViewer Pin
vbbeg28-Apr-08 7:20
vbbeg28-Apr-08 7:20 
AnswerRe: help with an idea in ReportViewer Pin
Jamal Abdul Nasir7-May-08 0:30
Jamal Abdul Nasir7-May-08 0:30 
GeneralCompress a directory Pin
Ashwiniyer28-Apr-08 6:48
Ashwiniyer28-Apr-08 6:48 
AnswerRe: Compress a directory Pin
Smithers-Jones28-Apr-08 7:55
Smithers-Jones28-Apr-08 7:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.