Click here to Skip to main content
15,921,467 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Palindrome help. Pin
MarkC#19-Nov-03 3:07
MarkC#19-Nov-03 3:07 
GeneralRe: Palindrome help Pin
Jeff Varszegi14-Nov-03 11:31
professionalJeff Varszegi14-Nov-03 11:31 
GeneralSOLUTION-- DON'T READ UNLESS YOU'RE CHECKING YOUR WORK Pin
Jeff Varszegi14-Nov-03 11:35
professionalJeff Varszegi14-Nov-03 11:35 
GeneralRe: SOLUTION-- DON'T READ UNLESS YOU'RE CHECKING YOUR WORK Pin
BigGreen14-Nov-03 14:06
BigGreen14-Nov-03 14:06 
GeneralRe: SOLUTION-- DON'T READ UNLESS YOU'RE CHECKING YOUR WORK Pin
Edbert P16-Nov-03 17:58
Edbert P16-Nov-03 17:58 
GeneralRe: Palindrome help. Pin
LaptopBoy31118-Nov-03 13:10
LaptopBoy31118-Nov-03 13:10 
GeneralRe: Palindrome help. Pin
Quatl18-Nov-03 14:24
Quatl18-Nov-03 14:24 
GeneralDynamic statements / simple parser (VB.NET) Pin
MrBean14-Nov-03 7:56
MrBean14-Nov-03 7:56 
I'm writing an Windows Forms VB.NET application where the user can type in some kind of compare evaluator.

Example :

{cost} > 10000 and {itemgroup} = 'A01'

My app. will take the entered text and evaluate it against in-memory data.
The values tags ( {cost}, {itemgroup}, etc.) are replaced with the proper values by my app before evaluation/parsing... so my question is :

Is there a simple way of parsing or evaluating a dynamic statement in a string ?

Something what would work like this :

dim strStatement as string = " 780 > 10000 and 'B54' = 'A01' "
if EvaluateStatement(strStatement) then
' Do some stuff..
else
' Do some other stuff..
end if


Do I need to code my own evaluator from scratch or is there a shortcut or code I can use... maybe a 3rd party control ?

Any advice ?


TIA Smile | :)

GeneralRun-time error '91': Pin
asierra14-Nov-03 6:14
asierra14-Nov-03 6:14 
GeneralRe: Run-time error '91': Pin
Dave Kreskowiak17-Nov-03 8:05
mveDave Kreskowiak17-Nov-03 8:05 
GeneralRe: Run-time error '91': Pin
asierra17-Nov-03 8:51
asierra17-Nov-03 8:51 
GeneralRe: Run-time error '91': Pin
Dave Kreskowiak17-Nov-03 15:13
mveDave Kreskowiak17-Nov-03 15:13 
Generallooking at CPU time for a process Pin
Anonymous14-Nov-03 5:48
Anonymous14-Nov-03 5:48 
GeneralRe: looking at CPU time for a process Pin
Dave Kreskowiak17-Nov-03 7:55
mveDave Kreskowiak17-Nov-03 7:55 
GeneralCreating A vc++ hook dll used in VB6 Pin
percyvimal13-Nov-03 18:52
percyvimal13-Nov-03 18:52 
Questionactivity timestamp on a file? Pin
Anonymous13-Nov-03 13:21
Anonymous13-Nov-03 13:21 
AnswerRe: activity timestamp on a file? Pin
Dave Kreskowiak17-Nov-03 7:53
mveDave Kreskowiak17-Nov-03 7:53 
GeneralApplication Data Path for VB 6 Pin
flipdoubt13-Nov-03 9:29
flipdoubt13-Nov-03 9:29 
GeneralRe: Application Data Path for VB 6 Pin
Hesham Amin13-Nov-03 10:26
Hesham Amin13-Nov-03 10:26 
QuestionCall to C++ DLL from VB??? Pin
Richard Hudson13-Nov-03 1:17
Richard Hudson13-Nov-03 1:17 
AnswerRe: Call to C++ DLL from VB??? Pin
Chris Meech14-Nov-03 8:52
Chris Meech14-Nov-03 8:52 
QuestionHow can i implement documentation in my dll class using vb.net Pin
JoeZeitouny12-Nov-03 20:29
JoeZeitouny12-Nov-03 20:29 
AnswerRe: How can i implement documentation in my dll class using vb.net Pin
Dave Kreskowiak13-Nov-03 9:16
mveDave Kreskowiak13-Nov-03 9:16 
GeneralKill Window Pin
Anonymous12-Nov-03 15:40
Anonymous12-Nov-03 15:40 
GeneralRe: Kill Window Pin
Dave Kreskowiak13-Nov-03 9:08
mveDave Kreskowiak13-Nov-03 9:08 

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.