Click here to Skip to main content
15,923,576 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionLink DBase files in SQL Server Pin
Behzad Ordubadi28-Apr-08 23:30
professionalBehzad Ordubadi28-Apr-08 23:30 
AnswerRe: Link DBase files in SQL Server Pin
Mycroft Holmes29-Apr-08 1:48
professionalMycroft Holmes29-Apr-08 1:48 
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 
The problem is that the criteria are created dynamically. I have an interface that build criterias and for each criteria link to all the users that will get an email according to it. This interface is the trigger to fill my database.
If i will use enum, I will have to update my code every new criteria instead of adding new record(s) to my database.

The method you are suggesting to write, if I understood right, will include a select case of the enum items and each case will call to the according function.Why do not do this directly from the database, getting the method name (as string), use reflection (as you said) and then call to the function?

Thank you for your replies.

Shay Noy

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 
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 

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.