hi all,
in FoxPro we know a function EVALUATE(xxxx) . This function evaluates the
contents of xxxx.
for example EVALUATE("X>10" ) will give True if X is greater then 10.
is there a such kind of function in VB.NET ??
i want to create a string which should be evaluated.
This string would be build out of 3 or more strings and should has a Boolean
as result
thanks Wim 3 1303
Wim,
An eval function is mostly a kind of scripting (evaluating the expression of
a string) is that what you want?
Than you can try this one, otherwise reply. http://www.vb-tips.com/default.aspx?...1-2b03e1a439ae
I hope this helps,
Cor
"willempie" <wi*****@hotmai l.com_NOSPAM> schreef in bericht
news:uJ******** ******@TK2MSFTN GP03.phx.gbl... hi all,
in FoxPro we know a function EVALUATE(xxxx) . This function evaluates the contents of xxxx.
for example EVALUATE("X>10" ) will give True if X is greater then 10.
is there a such kind of function in VB.NET ??
i want to create a string which should be evaluated. This string would be build out of 3 or more strings and should has a Boolean as result
thanks Wim
Thanks Cor,
Looks todo what i want, but i will use my program on a PDA (WindowsMobile
2003).
And there isn't any scripting possible (as far i know)
"Cor Ligthert [MVP]" <no************ @planet.nl> schreef in bericht
news:uF******** ******@TK2MSFTN GP04.phx.gbl... Wim,
An eval function is mostly a kind of scripting (evaluating the expression of a string) is that what you want?
Than you can try this one, otherwise reply.
http://www.vb-tips.com/default.aspx?...1-2b03e1a439ae
I hope this helps,
Cor
"willempie" <wi*****@hotmai l.com_NOSPAM> schreef in bericht news:uJ******** ******@TK2MSFTN GP03.phx.gbl... hi all,
in FoxPro we know a function EVALUATE(xxxx) . This function evaluates the contents of xxxx.
for example EVALUATE("X>10" ) will give True if X is greater then 10.
is there a such kind of function in VB.NET ??
i want to create a string which should be evaluated. This string would be build out of 3 or more strings and should has a Boolean as result
thanks Wim
Wim,
You have not much chance on real answers about PDA in this newsgroup.
I would try the newsgroup
microsoft.publi c.dotnet.framew ork.compactfram ework
Or one of the chats about PDA http://www.microsoft.com/communities/chats/default.mspx
The most chats are about PDA in my opinion.
I hope this helps,
Cor
"willempie" <wi*****@hotmai l.com_NOSPAM> schreef in bericht
news:12******** *****@corp.supe rnews.com... Thanks Cor, Looks todo what i want, but i will use my program on a PDA (WindowsMobile 2003). And there isn't any scripting possible (as far i know) "Cor Ligthert [MVP]" <no************ @planet.nl> schreef in bericht news:uF******** ******@TK2MSFTN GP04.phx.gbl... Wim,
An eval function is mostly a kind of scripting (evaluating the expression of a string) is that what you want?
Than you can try this one, otherwise reply.
http://www.vb-tips.com/default.aspx?...1-2b03e1a439ae
I hope this helps,
Cor
"willempie" <wi*****@hotmai l.com_NOSPAM> schreef in bericht news:uJ******** ******@TK2MSFTN GP03.phx.gbl... hi all,
in FoxPro we know a function EVALUATE(xxxx) . This function evaluates the contents of xxxx.
for example EVALUATE("X>10" ) will give True if X is greater then 10.
is there a such kind of function in VB.NET ??
i want to create a string which should be evaluated. This string would be build out of 3 or more strings and should has a Boolean as result
thanks Wim
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Son KwonNam |
last post by:
In XSLT, is this possible to get value from xml using XPath
which is in XSLT variable?
I mean XPath strings can be dynamic while XSL Transforming.
If possible, How??
Because I'm not a native English speaker, it's quite hard
to make the problem clear. Please see the following example.
|
by: John Lehmann |
last post by:
I have an interesting problem. I am performing an XSL
transform using the System.Xml.Xsl.Transform class.
I have a database that contains the XSL style sheet
string. And it seems to work pretty well for simple
transforms. But as soon as I add Xsl variables or For each
loops to the XSL string in the db, it fails to transform
the XML. I can see that it will transform everything until
that point. ALso If I copy the XSL & XML I am trying to...
|
by: David Laub |
last post by:
I have no problems running the following dynamic XPath evaluator form MSXSL:
<msxsl:script implements-prefix="dyn" language="jscript">
evaluate(context, expression)
{
return context.nextNode().selectNodes(expression);
|
by: Mike Hofer |
last post by:
I've got two statements in my code that are both generating weird,
weird, weird messages:
The first one was,
Dim document As System.Xml.XmlDocument
Dim navigator As System.Xml.XPath.XPathNavigator
Dim transform As System.Xml.Xsl.XslTransform
..
..
|
by: Dean Card |
last post by:
Okay, so here is the situation. I have need to do some on-the-fly image
creation. I have everything working great except for the last part of it,
applying a perspective type transform to the image. The transform will take
a rectangular 2D image and transform it to a 3D representation in 2D.
Please see the link to see what I am trying to do:
http://seanberry.com/transform.png
I have PIL v1.15 installed which has a PERSPECTIVE...
| |
by: Vijai Kalyan |
last post by:
Hello,
I am trying to use std::transform to take in a collection of strings,
transform them and insert the result into an output container. So, I
wrote something like this:
std::wstring doSomething (std::wstring const& str)
{
// do something to copy of str and return new value
}
|
by: kadghar |
last post by:
Many people asks if there is a way to write a mathematical expression, writen as a string in a text box, so they can do something like:
sub something_click()
textbox2.text=eval(textbox1.text)
end sub
Well, of course it's posible, and can be done with some characters mannaging. This way you can complicate it as much as you want. The way i usualy do it is in 5 simple steps:
1. Create 2 string arrays, and save numbers in one and...
|
by: A. W. Dunstan |
last post by:
I'm trying to figure out how XPath expressions work, and how I can use them
to extract data into a particular format. I can extract the data I want
using an XPath expression, but not with an XSLT stylesheet. Here's the
Java/XPath I'm using:
import java.io.*;
import javax.xml.parsers.*;
import org.w3c.dom.*;
import org.xml.sax.SAXException;
|
by: serave |
last post by:
How do i evaulate a mathematical expression that is entered in a text
field.
Ex:
Text Fields:
Xo=23
X1= 250
Expression: y = Xoe^(x1+Xo)-cos(X0+X1)+23Xo
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |