Click here to Skip to main content
15,894,343 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Why it happens so ? Pin
pc_dev7-Nov-04 18:57
pc_dev7-Nov-04 18:57 
GeneralMSFlex Grid Row Selection Pin
balajeedurai7-Nov-04 17:09
balajeedurai7-Nov-04 17:09 
GeneralRe: MSFlex Grid Row Selection Pin
pc_dev7-Nov-04 20:33
pc_dev7-Nov-04 20:33 
GeneralRe: MSFlex Grid Row Selection Pin
balajeedurai7-Nov-04 20:40
balajeedurai7-Nov-04 20:40 
GeneralHandling expanding message for SECTreeCtrl Pin
Ian Bowler7-Nov-04 16:33
Ian Bowler7-Nov-04 16:33 
GeneralRe: Handling expanding message for SECTreeCtrl Pin
Ravi Bhavnani7-Nov-04 19:09
professionalRavi Bhavnani7-Nov-04 19:09 
GeneralRe: Handling expanding message for SECTreeCtrl Pin
Ian Bowler7-Nov-04 21:15
Ian Bowler7-Nov-04 21:15 
GeneralAdvice Required Pin
Imtiaz Murtaza7-Nov-04 15:51
Imtiaz Murtaza7-Nov-04 15:51 
Dear friends,

Consider the following simple program:

int a= 2, b= 3, c=23,  d=5,  e= 12,  f= 30, g= 100;

if(g>a)
{
   DoSomething();
}

if(a==2 && c == 21)
{
  if(d== 5)
  {
    DoSomething
  }
  else if( e == 4)
  {
    DoSomethingElse();
  }
}

As can be seen from the above program, there are two if conditions in order to fullfil the
client's requirements. The client informed us about these conditions and so we included these
conditions in the program and sent the software to the client.

Now, after few days, the client made a call to us and said that he wanted another condition:

if(d==2 || e==11)
{
DoSomething();
}

So we added this condition in the program, compiled it and sent the copy to the client.
Similarly client again called us and asked us to add some new conditions and this situation
is going on and on. client is daily calling us to add new conditions.

Now we want to give something generic to the client i.e we want to add some feature such that
there is no need for client to call us , instead he should be able to define his conditions himself
whenever he likes and able to customize it.

Can anyone suggest me the solution of this problem ? DO i need to add scripting support ?
The client is not too much technology savvy, so i like to avoid scripting, however if there
is no other solution then i need to give scripting support. If you suggest scripting then whaat
do you think will be the best solution VBScript or something else ??

Oh yes, the functions DoSomething()and DoSomethingElse() are predefined. The client will not write new functions. Instead he should be able to define new *condition* and tell that which of these predefined functions gets called if condition is met.

Imtiaz
GeneralRe: Advice Required Pin
bryce7-Nov-04 17:07
bryce7-Nov-04 17:07 
GeneralRe: Advice Required Pin
Imtiaz Murtaza7-Nov-04 17:20
Imtiaz Murtaza7-Nov-04 17:20 
GeneralRe: Advice Required Pin
bryce7-Nov-04 17:24
bryce7-Nov-04 17:24 
GeneralRe: Advice Required Pin
Member 3076127-Nov-04 19:20
Member 3076127-Nov-04 19:20 
GeneralRe: Advice Required Pin
Antony M Kancidrowski7-Nov-04 23:08
Antony M Kancidrowski7-Nov-04 23:08 
GeneralCrypto API, importing public key Pin
khchan7-Nov-04 15:00
khchan7-Nov-04 15:00 
QuestionGetVolumeInformation ??? Pin
alex.barylski7-Nov-04 11:23
alex.barylski7-Nov-04 11:23 
AnswerRe: GetVolumeInformation ??? Pin
David Crow8-Nov-04 5:14
David Crow8-Nov-04 5:14 
Generalcomparing images . Pin
faroqtam7-Nov-04 10:58
faroqtam7-Nov-04 10:58 
GeneralRe: comparing images . Pin
Christian Graus7-Nov-04 11:52
protectorChristian Graus7-Nov-04 11:52 
GeneralRe: comparing images . Pin
faroqtam8-Nov-04 7:33
faroqtam8-Nov-04 7:33 
Generalcomparing images. Pin
faroqtam8-Nov-04 7:37
faroqtam8-Nov-04 7:37 
GeneralRe: comparing images . Pin
Antony M Kancidrowski7-Nov-04 23:13
Antony M Kancidrowski7-Nov-04 23:13 
GeneralHelp with menus Pin
Ryan McDermott7-Nov-04 10:45
Ryan McDermott7-Nov-04 10:45 
GeneralRe: Help with menus Pin
Ravi Bhavnani7-Nov-04 12:17
professionalRavi Bhavnani7-Nov-04 12:17 
GeneralRe: Help with menus Pin
Ryan McDermott7-Nov-04 13:17
Ryan McDermott7-Nov-04 13:17 
GeneralRe: Help with menus Pin
Michael Dunn7-Nov-04 14:57
sitebuilderMichael Dunn7-Nov-04 14:57 

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.