|
You should post this question in either the C++ or XML forums...
|
|
|
|
|
OK I know I made a mistake, the code's in C++ but could u just be kind enuff to tell me how to do this task in C#; I can handle the convertions now.
I havent posted it on XML Forum coz its about transforming from my application which is in C++ or C# if you like.
|
|
|
|
|
Hi,
I have just installed Visual Studio 2005...and i automatically got .Net Framework SDK and Visual Studio 2005. I want to know if the .Net framework and .Net SDK are different?? If so, whats the difference between the two?
Thanks,
Priya.
|
|
|
|
|
.NET Framework allows you to run applications developed in .NET
.NET Framework SDK allows you to develop applications in .NET.
Paul
|
|
|
|
|
So, what extra things are present in the SDK??
As per my knowledge, the framework itself includes the CLR, BCL and the compilers for the different languages...
|
|
|
|
|
The SDK includes things like documentation, examples, support tools. The framework just includes the things that you need to compile and run .NET applications. I include compile here because the framework includes the basic .NET compilers by default - so you don't need to install anything else to build .NET applications if you don't want to.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
I want to scan some photos and show them in a picture box in C#.NET. I want to know which DLL to use and any other related information.
Thanks in advance.
|
|
|
|
|
.NET TWAIN image scanner ?
I don't have that experience. You may check-out the link above.
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
Hi,
I am new to C#..hence i have a basic doubt!!
Whats the difference between:
string s = "priya"; and
String s = "priya";
Are both the same?? Which is the correct method of declaring a string??
Thanks,
Priya.
|
|
|
|
|
Hello,
"string" is just an alias for "System.String".
like:
"int" is for "System.Int32".
So if you want to declare a string or use a static method of the string class, both are fine!
All the best,
Martin
|
|
|
|
|
I believe that string is slightly faster then using String...
V.
If I don't see you in this world, I'll see you in the next one... And don't be late. (Jimi Hendrix)
|
|
|
|
|
Hello V,
V. wrote: I believe that string is slightly faster then using String...
Ok! Why?
-- modified at 3:39 Thursday 16th August, 2007
I have not found an information in the msdn doku[^], which makes me believe that!
-- modified at 3:40 Thursday 16th August, 2007
All the best,
Martin
|
|
|
|
|
I'm not certain, but I believe that string is concidered a variable and String a class.
But as a said, I could be mistaken
|
|
|
|
|
V. wrote: I believe that string is slightly faster then using String...
If you mean when typing the code, it might be faster to type "string" than "String", as you don't have to press the shift button for the first character. However, you should rather write code that is easy to read than easy to write, so the typing speed is rather irrelevant.
If you mean the time it takes to compile the code, I doubt that you can show a difference that is even possible to measure.
If you mean the execution speed of the compiled program, there is no difference what so ever. As string is just an alias for System.String , the produced code is identical.
---
single minded; short sighted; long gone;
|
|
|
|
|
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=350381&SiteID=1
|
|
|
|
|
|
Hi,
I heard that a unique feature of .Net is converting text into speech and vice versa.
Can anybody just give one example or give me some links to know more about it.
Sangram
|
|
|
|
|
|
Hello everyone,
I have two numbers A and B. I need to divide B by A and if the result is an integer then register A and B.
Can someone tell me how I can check to see if the result of division is an integer or not?
Thank you very much and have a great day.
Khoramdin
|
|
|
|
|
What is the datatype of variables "A" and "B"?
<br />
int A = 3;<br />
int B = 6;<br />
int result = B / A;
Did you write like that? if yes, result is INT. obviously.
or Show us the code that you wrote.
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
Hello Michael,
Thanx for the reply, mate. I haven't written any code but what you have written is what I had in mind. The problem is how can I check to see if the result is NOT int. After all, I could have:
int A = 4;<br />
int B = 6;<br />
double result = B / A;
I simply wish to be able to knowwhen the result is integer and when it is not.
Thank you very much and have a great day.
Khoramdin
|
|
|
|
|
The result will always be an int when the remainder is zero
so check to see if B%A == 0
|
|
|
|
|
Hello Rocky,
Thank you very much, mate.
That was EXACTLY what I was looking for.
Have a great day.
Khoramdin
|
|
|
|
|
anytime mate
ur welcome...I'm glad ur happy
|
|
|
|
|
I think you just gave him the answer to his homework assignment.
|
|
|
|