473,397 Members | 2,099 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

Please Help: dynamic statement

Hi everyone, hope someone can tell if there is any way to,
dynamically, build an statement and then call some
functions to execute the statement. I know examples always
help, so here what I am trying to accomplish:

Dim myStatement as String
myStatement = "Dim result as integer result= 2 * 3"

now is there any way to actually let a program to treat
myStatement as a statment and therefore execute whatever
vb code is in it?

Looking forward to hearing from you. TANX
Nov 20 '05 #1
35 1510
"A Jafarpour" <we*******@sympatico.ca> schrieb
Hi everyone, hope someone can tell if there is any way to,
dynamically, build an statement and then call some
functions to execute the statement. I know examples always
help, so here what I am trying to accomplish:

Dim myStatement as String
myStatement = "Dim result as integer result= 2 * 3"

now is there any way to actually let a program to treat
myStatement as a statment and therefore execute whatever
vb code is in it?


The string itself can not be executed. An application must meet some minimum
requirements in order to be compilable.

You might have a look at CodeDom:

http://msdn.microsoft.com/library/en...elanguages.asp
--
Armin

http://learn.to/quote

Nov 20 '05 #2
Hi Armin,

I think you misunderstood his question - he simply wants to enter a string
into a textbox, for example, and then execute the string as if it were a
macro, not as if it were an executable program. I suspect you or Herfried
do know how to do this; I don't but I'd love to know also.

Bernie Yaeger

"Armin Zingler" <az*******@freenet.de> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
"A Jafarpour" <we*******@sympatico.ca> schrieb
Hi everyone, hope someone can tell if there is any way to,
dynamically, build an statement and then call some
functions to execute the statement. I know examples always
help, so here what I am trying to accomplish:

Dim myStatement as String
myStatement = "Dim result as integer result= 2 * 3"

now is there any way to actually let a program to treat
myStatement as a statment and therefore execute whatever
vb code is in it?
The string itself can not be executed. An application must meet some

minimum requirements in order to be compilable.

You might have a look at CodeDom:

http://msdn.microsoft.com/library/en...elanguages.asp

--
Armin

http://learn.to/quote

Nov 20 '05 #3
"Bernie Yaeger" <be*****@cherwellinc.com> schrieb
I think you misunderstood his question - he simply wants to enter a
string into a textbox, for example, and then execute the string as if
it were a macro, not as if it were an executable program.


I understood he wants to execute the entered line. Where is the difference
to an "executable program"? As he wants to execute the line, I think it is a
kind of a short program to be executed.
--
Armin

http://learn.to/quote

Nov 20 '05 #4
Bernie is right, I didn't mean anythng heavy duty through
CodeDom; just create a string variable whose content is
some vb code and then letting it be treated as a
statement; again the example I provided should says it all
(I hope).

TANX
-----Original Message-----
Hi Armin,

I think you misunderstood his question - he simply wants to enter a stringinto a textbox, for example, and then execute the string as if it were amacro, not as if it were an executable program. I suspect you or Herfrieddo know how to do this; I don't but I'd love to know also.

Bernie Yaeger

"Armin Zingler" <az*******@freenet.de> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
"A Jafarpour" <we*******@sympatico.ca> schrieb
> Hi everyone, hope someone can tell if there is any way to, > dynamically, build an statement and then call some
> functions to execute the statement. I know examples always > help, so here what I am trying to accomplish:
>
> Dim myStatement as String
> myStatement = "Dim result as integer result= 2 * 3"
>
> now is there any way to actually let a program to treat > myStatement as a statment and therefore execute whatever > vb code is in it?
The string itself can not be executed. An application must meet someminimum
requirements in order to be compilable.

You might have a look at CodeDom:

http://msdn.microsoft.com/library/en-

us/cpguide/html/cpcongeneratingcompilingsourcecodedynamical
lyinmultiplelanguages.asp

--
Armin

http://learn.to/quote

.

Nov 20 '05 #5
"A Jafarpour" <we*******@sympatico.ca> schrieb
Bernie is right, I didn't mean anythng heavy duty through
CodeDom; just create a string variable whose content is
some vb code and then letting it be treated as a
statement;

Yes, that's what I understood also.
again the example I provided should says it all
(I hope).

--
Armin

http://learn.to/quote

Nov 20 '05 #6
* "Armin Zingler" <az*******@freenet.de> scripsit:
--
Armin

http://learn.to/quote


You won't win the fight in this group.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #7
* "A Jafarpour" <we*******@sympatico.ca> scripsit:
Hi everyone, hope someone can tell if there is any way to,
dynamically, build an statement and then call some
functions to execute the statement. I know examples always
help, so here what I am trying to accomplish:

Dim myStatement as String
myStatement = "Dim result as integer result= 2 * 3"

now is there any way to actually let a program to treat
myStatement as a statment and therefore execute whatever
vb code is in it?


<http://www.devx.com/codemag/Article/10352/0/page/1>

Samples:

<http://www.codeproject.com/useritems/evaluator.asp>
<http://www.codeproject.com/csharp/livecodedotnet.asp>
<http://www.mvps.org/dotnet/dotnet/samples/miscsamples/downloads/DotNetCompiler.zip>

Evaluating mathematical expressions:
<http://www.palmbytes.de/content/dotnet/mathlib.htm>

Using the Script Control (COM):
<http://www.vb2themax.com/Item.asp?PageID=TipBank&ID=535>

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #8
Cor
Hi Herfried,

http://learn.to/quote


You won't win the fight in this group.


While it is in German, English and Dutch

:-)

Cor
Nov 20 '05 #9
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> schrieb
* "Armin Zingler" <az*******@freenet.de> scripsit:
--
Armin

http://learn.to/quote


You won't win the fight in this group.


IMO, there's no fight to win (because there's still a lot of space in my
killfile). I think it's a pity for the majority of people that simply
download all new messages from time to time and that don't want to process
every single message manually just because of some ignorants. It's even more
a pity because minor changes in their behavior would help everybody.

--
Armin

Nov 20 '05 #10
* "Cor" <no*@non.com> scripsit:
http://learn.to/quote


You won't win the fight in this group.


While it is in German, English and Dutch


Even if people here can read it, they don't understand the content
*shock*.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #11
We just don't like rules.

||* "Cor" <no*@non.com> scripsit:
||>>> http://learn.to/quote
||>>
||>> You won't win the fight in this group.
||>
||> While it is in German, English and Dutch
||
||Even if people here can read it, they don't understand the content
||*shock*.
||
||--
||Herfried K. Wagner
||MVP · VB Classic, VB.NET
||<http://www.mvps.org/dotnet>

Sorry, couldn't resist that.
Nov 20 '05 #12
* "Mick Doherty" <md*******@nospam.ntlworld.com> scripsit:
We just don't like rules.

||* "Cor" <no*@non.com> scripsit:
||>>> http://learn.to/quote
||>>
||>> You won't win the fight in this group.
||>
||> While it is in German, English and Dutch
||
||Even if people here can read it, they don't understand the content
||*shock*.
||
||--
||Herfried K. Wagner
||MVP · VB Classic, VB.NET
||<http://www.mvps.org/dotnet>

Sorry, couldn't resist that.


It's your choice to take part in the community of people _helping_ or in
the spammer community.

EOT

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #13
Cor
Herfried,
Even if people here can read it, they don't understand the content
*shock*.


Maybe they do, but they don't agree with it, that is the hard thing from
progress and when you want to go in the inovation business, will be
confronted with many times.

And sometimes you will see, that you're the one who took the wrong
conclussion and did learn from it.

This last I said without any connection to the topic now, because in this
topic I don't think there is a right or wrong.

:-)

Cor

Nov 20 '05 #14
* "Cor" <no*@non.com> scripsit:
Even if people here can read it, they don't understand the content
*shock*.
Maybe they do, but they don't agree with it, that is the hard thing from
progress and when you want to go in the inovation business, will be
confronted with many times.


I remember the teacher at school telling us:

1 + 1 = 2

Most people agreed. Those who didn't agree left the school or got a bad
mark. It was their choice to learn or to stay stupid.
And sometimes you will see, that you're the one who took the wrong
conclussion and did learn from it.
"Homo sum; humani nihil a me alienum puto."
(Cicero, Terenz)
This last I said without any connection to the topic now, because in this
topic I don't think there is a right or wrong.


:-)

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #15
Hi A,

"2 * 3, etc" is simple expression evaluation - relatively easy to do with
a few simple classes. Anything that actually uses VB.NET syntax, and variables
and objects etc will need a heavier framework. This would either mean a script
engine such as the ones that execute JavaScript and VbScript, or creating
source code and compiling and loading it dynamically.

So when you say statements, do you mean arithemetic or general statements?

Using an expression evaluator is easy:

Your example would go from:
Dim myStatement as String
myStatement = "Dim result as integer result= 2 * 3"
to
Dim iResult As Integer = Int (Calc.Evaluate ("2 * 3"))

You could add variables:
Dim dResult As Double = 23
Calc.AddVar ("Foo", dFoo)
Dim dResult As Double = Calc.Evaluate ("Sqrt (Foo)")

Regards,
Fergus
Nov 20 '05 #16
> I remember the teacher at school telling us:

1 + 1 = 2


but, 1 + 1 = 10.
Nov 20 '05 #17
Cor
> >
1 + 1 = 2


but, 1 + 1 = 10.


ROFL

Nov 20 '05 #18
* "Mick Doherty" <md*******@nospam.ntlworld.com> scripsit:
I remember the teacher at school telling us:

1 + 1 = 2


but, 1 + 1 = 10.


You learned 1 + 1 = 10 at the beginning of your time at school?!

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #19
Cor
Herfried,

You ask for it.
You learned 1 + 1 = 10 at the beginning of your time at school?!


Herfried, wait till you are a little more grown up, you will learn that
there is not only 1 + 1 = 2. When you are in the class where your teacher
learn you multiplying, then you will see that 1+1 is not always 2.

Too there are other language, like the old Latin that you maybe once will
learn, they had other figurs, they wrote I + I = II, we know that it is
difficult for you, but once when you are older, you will see that there is
more in the world than 1+1=2.

Now you have learned that 1+1=2 you think you know everything, but there is
a lot more to learn. I think that Mick maybe can tell you what he did mean
with 1+1 is 10 because I cannot right find the sentences to explain you
that.

Did you been with your daddy all once in that riesenrad or are you still to
young for that?

Cor

Nov 20 '05 #20
> You learned 1 + 1 = 10 at the beginning of your time at school?!

Yes. Although they don't do it now, we used to learn Binary, Octal and
Hexadecimal when I was at school.
Nov 20 '05 #21
> Yes. Although they don't do it now, we used to learn Binary, Octal and
Hexadecimal when I was at school.


and, of course, Decimal.
Nov 20 '05 #22
* "Mick Doherty" <md*******@nospam.ntlworld.com> scripsit:
You learned 1 + 1 = 10 at the beginning of your time at school?!


Yes. Although they don't do it now, we used to learn Binary, Octal and
Hexadecimal when I was at school.


We learned it at school too, but it was not the first thing we learned
in mathematics.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #23
* "Cor" <no*@non.com> scripsit:
You learned 1 + 1 = 10 at the beginning of your time at school?!
Herfried, wait till you are a little more grown up, you will learn that
there is not only 1 + 1 = 2. When you are in the class where your teacher
learn you multiplying, then you will see that 1+1 is not always 2.


Some pupils will say that it's 0.532423. They will get a bad mark.
Too there are other language, like the old Latin that you maybe once will
learn, they had other figurs, they wrote I + I = II, we know that it is
difficult for you, but once when you are older, you will see that there is
more in the world than 1+1=2.
I know that. I am studying computer science for more than 3 years now,
I don't go to school.
Now you have learned that 1+1=2 you think you know everything, but there is
a lot more to learn. I think that Mick maybe can tell you what he did mean
with 1+1 is 10 because I cannot right find the sentences to explain you
that.
It depends on the context. In the context of school (at the beginning)
only 2 is accepted as the correct solution.

In the context of newsgroups, only well-quoted post are welcome.
Did you been with your daddy all once in that riesenrad or are you still to
young for that?


I live in Vienna, but I never was in the "Riesenrad". Have you been
there?

SCNR

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #24
The Irish have a long history of remarkable intellect.
Nov 20 '05 #25
> >
Yes. Although they don't do it now, we used to learn Binary, Octal and
Hexadecimal when I was at school.


We learned it at school too, but it was not the first thing we learned
in mathematics.

So how did that Abacus work if it was not a Binary representation of
Decimal.
Just because you didn't understand it, doesn't mean it wasn't so.
Nov 20 '05 #26

Fergus, thanks for your kind reply. By statement I meant
any general statement: any meaningful piece of vb.net
code. From all the feed back I have received so far it
seems using script control is the way to go but I have to
do some trial & error to see to what extent the evaluation
can do the job.

I am a bit surprised, vb being such rich lang. lacks a
direct and easy way of evaluating dynamic variables on the
fly - my hope was to find some sort of general function in
a form of eval(myStatement) - it is a pitty in a sense.

Thanks anyway,

Sincerely

A Jafarpour
-----Original Message-----
Hi A,

"2 * 3, etc" is simple expression evaluation - relatively easy to do witha few simple classes. Anything that actually uses VB.NET syntax, and variablesand objects etc will need a heavier framework. This would either mean a scriptengine such as the ones that execute JavaScript and VbScript, or creatingsource code and compiling and loading it dynamically.

So when you say statements, do you mean arithemetic or general statements?
Using an expression evaluator is easy:

Your example would go from:
Dim myStatement as String
myStatement = "Dim result as integer result= 2 * 3" to
Dim iResult As Integer = Int (Calc.Evaluate ("2 * 3"))
You could add variables:
Dim dResult As Double = 23
Calc.AddVar ("Foo", dFoo)
Dim dResult As Double = Calc.Evaluate ("Sqrt (Foo)")
Regards,
Fergus
.

Nov 20 '05 #27
* "Mick Doherty" <md*******@nospam.ntlworld.com> scripsit:
Hexadecimal when I was at school.


We learned it at school too, but it was not the first thing we learned
in mathematics.


So how did that Abacus work if it was not a Binary representation of
Decimal.


We didn't use an abacus at school.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #28
Hi Herfried, thanks a lot. The urls you provided are very
helpful and I am going to try & error! a number of the
techniques discussed there.

Regards

A Jafarpour

P.S. feel a kind of sorry that some of the replies to my
post talked about everything except a solution! Didn't
know my post would result in such long arguments among
folks!
-----Original Message-----
* "A Jafarpour" <we*******@sympatico.ca> scripsit:
Hi everyone, hope someone can tell if there is any way to, dynamically, build an statement and then call some
functions to execute the statement. I know examples always help, so here what I am trying to accomplish:

Dim myStatement as String
myStatement = "Dim result as integer result= 2 * 3"

now is there any way to actually let a program to treat
myStatement as a statment and therefore execute whatever vb code is in it?
<http://www.devx.com/codemag/Article/10352/0/page/1>

Samples:

<http://www.codeproject.com/useritems/evaluator.asp>
<http://www.codeproject.com/csharp/livecodedotnet.asp>
<http://www.mvps.org/dotnet/dotnet/sa...iscsamples/dow

nloads/DotNetCompiler.zip>
Evaluating mathematical expressions:
<http://www.palmbytes.de/content/dotnet/mathlib.htm>

Using the Script Control (COM):
<http://www.vb2themax.com/Item.asp?PageID=TipBank&ID=535>

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
.

Nov 20 '05 #29
* "A Jafarpour" <an*******@discussions.microsoft.com> scripsit:
Hi Herfried, thanks a lot. The urls you provided are very
helpful and I am going to try & error! a number of the
techniques discussed there.
I hope you will find a solution to your problem.
P.S. feel a kind of sorry that some of the replies to my
post talked about everything except a solution! Didn't
know my post would result in such long arguments among
folks!


You don't need to feel sorry.

:-)

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #30
Hi A,

In one sense I agree with you. I once did so strongly.

When I first started learning VB.NET I was used to using eval in
Javascript which I thought was wonderful. That hasn't been in Basic for a long
time. I looked eagerly for the .NET equivalent and found it missing. Now that
I know a lot more than I did then, I know why.

The problem is that it's <not> missing. In fact there are now more
facilities within .NET than I've ever seen made available to create and build
code dynamically. Source code - particle by particle, object code - IL
instruction by instruction, source code in chunks and then compiled. Dynamic
loading of assemblies, etc, etc. There's tremendous flexibilty.

The price for flexibility, as so often, is complexity. More setup, more
options, more associated objects.

The difficulty I have come to understand, is that VB.NET is far beyond the
Basic of old with its globals and subs. Now that we're dealing with classes
and objects and assemblies, etc. Any scripting solution needs to be able to
cope with it all. "2 + 3" needs a context built around it. "2 + Foo" needs to
know where Foo comes from. How does the script access your objects and
classes?

The reason I answered your question is that this is an area that has my
interest. My current project is, in fact, an expression evaluator - a simple
calculator and a not-so simple one. It will only do arithmetic (but allows
passed in variables).

But for a long time I've wanted to get more into the .NET side of these
things. I just need an excuse to raise its priority. You could help here. I
don't want to go the ActveX scripting component route - I want to use VSA
which encompasses the .NET scripting engines.

If you can work with me to let me know what you'd want in the way of
'eval', I will investigate and teach it to you. This might seem like doing a
lot for you, and maybe so, but as I say, this is an area that I want to
understand, and have done a fair bit of pottering around in, but keep getting
sidetracked from.

What do you say?

Regards,
Fergus
Nov 20 '05 #31
actually i can prove algebraically that 1 + 1 != 2 AND that 1 != 1...just to
spite the teachers.

;^)
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:bn*************@ID-208219.news.uni-berlin.de...
| * "Cor" <no*@non.com> scripsit:
| >> Even if people here can read it, they don't understand the content
| >> *shock*.
| >
| > Maybe they do, but they don't agree with it, that is the hard thing
from
| > progress and when you want to go in the inovation business, will be
| > confronted with many times.
|
| I remember the teacher at school telling us:
|
| 1 + 1 = 2
|
| Most people agreed. Those who didn't agree left the school or got a bad
| mark. It was their choice to learn or to stay stupid.
|
| > And sometimes you will see, that you're the one who took the wrong
| > conclussion and did learn from it.
|
| "Homo sum; humani nihil a me alienum puto."
| (Cicero, Terenz)
|
| > This last I said without any connection to the topic now, because in
this
| > topic I don't think there is a right or wrong.
|
| :-)
|
| --
| Herfried K. Wagner
| MVP · VB Classic, VB.NET
| <http://www.mvps.org/dotnet>
Nov 20 '05 #32
and I can provide many instances where one is not the same as itself, psychologically.

;-)
Nov 20 '05 #33
"2 + 2 = 5 for sufficiently large values of 2" (Steven Wright)

"steve" <as*@abc.com> wrote in message
news:vp************@corp.supernews.com...
actually i can prove algebraically that 1 + 1 != 2 AND that 1 != 1...just to spite the teachers.

;^)
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:bn*************@ID-208219.news.uni-berlin.de...
| * "Cor" <no*@non.com> scripsit:
| >> Even if people here can read it, they don't understand the content
| >> *shock*.
| >
| > Maybe they do, but they don't agree with it, that is the hard thing
from
| > progress and when you want to go in the inovation business, will be
| > confronted with many times.
|
| I remember the teacher at school telling us:
|
| 1 + 1 = 2
|
| Most people agreed. Those who didn't agree left the school or got a bad
| mark. It was their choice to learn or to stay stupid.
|
| > And sometimes you will see, that you're the one who took the wrong
| > conclussion and did learn from it.
|
| "Homo sum; humani nihil a me alienum puto."
| (Cicero, Terenz)
|
| > This last I said without any connection to the topic now, because in
this
| > topic I don't think there is a right or wrong.
|
| :-)
|
| --
| Herfried K. Wagner
| MVP · VB Classic, VB.NET
| <http://www.mvps.org/dotnet>

Nov 20 '05 #34
rofl !!!
"Fergus Cooney" <fi*****@post.com> wrote in message
news:uN**************@TK2MSFTNGP09.phx.gbl...
| and I can provide many instances where one is not the same as itself,
psychologically.
|
| ;-)
|
|
Nov 20 '05 #35
* "Fergus Cooney" <fi*****@post.com> scripsit:
and I can provide many instances where one is not the same
as itself, psychologically.


.... but this is not a group about psychology. It's a technical group.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #36

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Si | last post by:
Hi All. This may be DB issue, but rather that cross post, I'll post here first. I have a page on a site that submits a form to search for various different values in a database. It's a...
2
by: Caro | last post by:
I have a stored procedure spGetAccessLogDynamic and when I try to call it I get the following error: Server: Msg 2812, Level 16, State 62, Line 1 Could not find stored procedure 'S'. I dont...
2
by: Kevin | last post by:
When I declare a cursor,I use a variable to replace the sql statement: DECLARE rs CURSOR LOCAL FAST_FORWARD FOR @sqlPlan But it is not true.Who can correct for me. Another question is : How to...
18
by: Bill Smith | last post by:
The initial row is inserted with the colPartNum column containing a valid LIKE pattern, such as (without the single quotes) 'AB%DE'. I want to update the column value with the results of a query...
23
by: Jason | last post by:
Hi, I was wondering if any could point me to an example or give me ideas on how to dynamically create a form based on a database table? So, I would have a table designed to tell my application...
8
by: peteh | last post by:
Hi All; I have what I hope is a simple environmental problem. I have some SQL that creates a VERY simple procedure. When the create is executed from Quest (from a Windows client) - no problem. As...
3
by: mcmahonb | last post by:
Hey people... I've been searching this forum for a few hours and even though this topic has been went over from many different angles; I cannot seem to figure out how to make things work on my...
7
by: sri | last post by:
My environment is DB2v9.1, Windows/AIX and I am trying to compile the stored proc below and I am getting an error, "ERROR SQL0104N An unexpected token "WITH" was found following "User_ID =...
2
by: Damir | last post by:
Hello! I have noticed that after (sucessfully) executing the command: FLUSH PACKAGE CACHE DYNAMIC the dynamic SQL statement cache is not completely cleared (some of the dynamic SQL statement...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
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...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.