|
PLzz give me quick response bc i am making project on operating system i choose java or C# for making the simulation of operating system and i want to make my project on linux
rana......linux
|
|
|
|
|
You might have easier to find tools for java on the linux platform, as C# is more of a Microsoft product.
Other than that it's more a question of taste. Personally, I like C# better, but I bet you don't have to look for long to find someone with the opposite opinion.
---
b { font-weight: normal; }
|
|
|
|
|
hi there
Aamir Rana wrote:
making the simulation of operating system
can u explain more here?
Aamir Rana wrote:
i want to make my project on linux
for me, java is supported better in linux env
<< >>
|
|
|
|
|
i am in fast varsity and i have subject name operating system and i have a project to make the simulation of operating system
in phase 1
implement virtual machine
phase 2
implementing shell
.........
|
|
|
|
|
the language u have to decide to select is up to u.
As my opinion, java is better in linux env
So good luke to u and hope ur project is done well
Happy coding
<< >>
|
|
|
|
|
Hi there!
I also think, that Java would be better for a linux application.
|
|
|
|
|
How can I call COM interface from C#?
|
|
|
|
|
hi there,
U need to have a look at:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/csref/html/vcwlkcominteroppart1cclienttutorial.asp
<< >>
|
|
|
|
|
i can't find any Tab Control in ASP.NET ,i want code for adding Tabstrip control in my project,Is there any way 2 add that control in my proj?i hav seen that IE doesn't support for Tabstrip control in asp.net1.1 ..
ranjith reddy.
|
|
|
|
|
pls check ur previous post
<< >>
|
|
|
|
|
Is it possible to write to an embedded XML file. If so. How to do this?
|
|
|
|
|
Write??? Forget it...
[ITA] Tozzi ha ragione: Gaia si sta liberando di noi.
[ENG] Tozzi is right: Gaia is getting rid of us.
|
|
|
|
|
I mean that the .exe or .dll file is already open when the code is running, so you cannot write to it. Sometimes you cannot even read it.
However, it is not allowed to write to the exe files for a security matter.
[ITA] Tozzi ha ragione: Gaia si sta liberando di noi.
[ENG] Tozzi is right: Gaia is getting rid of us.
|
|
|
|
|
Hi everybody...
I have a Custom Button control and I want to disable dotted rectangle when the control gets focus.How can I do this.Is there any Windows API or Standard .NET method to do that ?
Best Ragards,
XironiX
[ _ Always there is another way _ ]
|
|
|
|
|
xironix wrote:
[ _ Always there is another way _ ]
just suggest:
whenever ur control gets focus, do re-paint the control
<< >>
|
|
|
|
|
Thanx for your reply
Isn't there another efficient way ? It must be exists.Please help me if anybody can do that ?
King Regards
[ _ Always there is another way _ ]
|
|
|
|
|
i can't find any Tab Control in ASP.NET ,i want code for adding Tabstrip control in my project,Is there any way 2 add that control in my proj?i hav seen that IE doesn't support for Tabstrip control in asp.net1.1 ..
ranjith reddy.
|
|
|
|
|
hi there,
I'm pretty sure there are some articles about this on CP site. below is just one of them. Hope this is what u need
http://www.codeproject.com/aspnet/WebTabStripUserControl.asp
<< >>
|
|
|
|
|
i need help..
in the code below, i'm saving the changes done to the data. if any exceptions, then i'm trapping them and getting them all in an arraylist, so errArray has all the data.Then i check if the <i>error</i> flag is true, and show the error message i.e. <i>errData.ErrorStr</i> for that particular data.
CodeData[] errArray;
errList = new ArrayList();
errArray = dataRemoteObj.UpdateCode(chkArray);
for( int i = 0; i < errArray.Length; i++ )
errList.Add(errArray[i]);
for(int i = 0; i < errList.Count; i++)
{
//Shows error message.
CodeData errData = new CodeData();
errData = (CodeData)errList[i];
if(errData.Error)
{ MessageBox.Show(Convert.ToString(errData.ErrorStr));
}
}
////////
What i want is, to show just one message box with all the error messages ...
cld any one just tell me how to do...it has to be string concat..but cant figure out how to do..
|
|
|
|
|
CodeData errData;
string msg = "";
for(int i = 0; i < errList.Count; i++)
{
errData = (CodeData) errList[i];
if (errData.Error)
msg = msg + Convert.ToString(errData.ErrorStr) + "\n";
}
if (msg != "")
MessageBox.Show(msg);
www.troschuetz.de
|
|
|
|
|
Thank u
|
|
|
|
|
hi there,
in C#, u can use operator "+" to concat all strings, for example:
string str = "string1" + "string2"
So u just loop all error list and append all the error messages into one msg
Hope this anwsers
<< >>
|
|
|
|
|
Thank u
|
|
|
|
|
Hi all !
My computer have 3 Processor ( 3 CPU). My Application use only 1 processor for the work. Now I want to use all 3 Processor. Pls, show me How to program in order to using all 3 Processor. Thank you alots !
|
|
|
|
|
How is it possible your that computer has an odd number of CPUs? Am I missing something?
However, you have to use multiple threads in order to use *more* than 1 CPU. In this case there are so many problems so the program should be re-designed. For example: is the main job (task) subdivisible in two or more separate execution lines? If the job, for example, computes a result from an array of values, it can be easily broken in some parts. Each part will be executed by a Thread.
Other problems are: re-assembly the results of the various threads, manage their synchronization, manage the stop of the threads, that (if not manually stopped), will continue their execution until the end or the system shutdown (even if you close the app!).
Moreover, you cannot know if the threads are REALLY executed, because the OS decides which thread(s) are to be executed.
So multithreading is very hard to achieve without (unexpected) performance drops, strange behaviors, and so on.
In C# the base namespace is System.Threading, try to search on CodeProject: you'll find many good articles.
Hope this helps.
[ITA] Tozzi ha ragione: Gaia si sta liberando di noi.
[ENG] Tozzi is right: Gaia is getting rid of us.
|
|
|
|