|
I known what you mean but...
I haven't found any ways to do this exercise, i am begener and live in the country that IT is weak. My experience in C# is not really good.
If you have time, plz help me.
thankssssssss alot
|
|
|
|
|
rockxuyenmandem wrote: I haven't found any ways to do this exercise
Have you actually tried? If so what have you tried. It looks like you want somebody to do the whole thing for you!
rockxuyenmandem wrote: am begener and live in the country that IT is weak
This is no excuse for not doing your homework!
rockxuyenmandem wrote: My experience in C# is not really good.
Hence why you are given homework, so that you can learn. If you are totally stuck on where to start can I sugggest you either a) Attend your classes and/or b) Seek advice from your tutor.
rockxuyenmandem wrote: If you have time, plz help me.
More than willing to help, but I wont do your homework as already stated.
Current blacklist
svmilky - Extremely rude | FeRtoll - Rude personal emails | ironstrike1 - Rude & Obnoxious behaviour
|
|
|
|
|
Voted 1 because:
a) we don't do your homework for you
b) you've posted this before
c) the problem is really neither interesting or all that advanced
If you're really stuck start with the MSDN documentation for the string class. You might also find the Regex class and the DateTime class useful.
Show that you are actually making an effort and somebody can problem help you with specific problems.
-- modified at 11:28 Thursday 11th May, 2006
|
|
|
|
|
d) it is the second time he posts the same question.
--------
"I say no to drugs, but they don't listen."
- Marilyn Manson
|
|
|
|
|
|
crap, I missed this one!!
I stand corrected.
--------
"I say no to drugs, but they don't listen."
- Marilyn Manson
|
|
|
|
|
e) It's also the second time he posted it
|
|
|
|
|
No... You sit, corrected twice.
--
I've killed again, haven't I?
|
|
|
|
|
|
I would have to say that the most interesting aspect to this post is that you are a 3rd year computer student and yet you do not know how to parse a string. By my third year I was writing compilers and operating systems. I highly recommend you consider a new career path. We definitely don't need more developers like you around. You got a 1 vote from me.
|
|
|
|
|
|
Hi all,
I am looking to extract data from an xml config file and place the values in an array.
Extract:-
<languages>
<key="english" value="eng">
<key="spanish" value="esp">
<key="ukranian" value="ukr">
.... ....
<languages>
I need to take the values an place in an array. So far I cannot even figure out how to acees the data in the <languages> section of the config file.
Any ideas???
Seán
|
|
|
|
|
Hi all,
I am looking to extract data from an xml config file and place the values in an array.
Extract:-
<languages>
<key="English" value="eng" />
<key="Spanish" value="esp" />
<key="Ukranian" value="ukr" />
.... ....
<languages/>
I need to take the values an place in an array. So far I cannot even figure out how to acees the data in the <languages> section of the config file.
Any ideas???
Seán
-- modified at 8:28 Thursday 11th May, 2006
|
|
|
|
|
Put them in the app settings part of the file.
|
|
|
|
|
I already have attributes in the app settings part of the file. For these particular att. I need to extract their values and put them into an array.
The number of attributes is not static so I cannot place them in an array using their keys.
Is there any other way???.
|
|
|
|
|
try this,
ArrayList array = new ArrayList();
XmlNode node = doc.SelectSingleNode("*/langauges");
foreach (XmlNode n in node.Nodes)
{
array.Add(n.InnerText);
}
Good luck!
eric feng
|
|
|
|
|
Hi
I am trying to create a socket for listening form my machine as a server.
Could somebody tell me why there is an exception "An invalid argument was supplied" in the last line below?
IPHostEntry ipHostInfo = Dns.Resolve(Dns.GetHostName());
IPAddress ipAddress = ipHostInfo.AddressList[0];
IPEndPoint localEndPoint = new IPEndPoint(ipAddress,myPort);
Socket listener = new Socket(AddressFamily.InterNetwork,
aSocketType.Stream, ProtocolType.Tcp);
listener.Bind(localEndPoint);
Socket acceptedSocket=listener.Accept();
Thanks
Ela
|
|
|
|
|
IPEndPoint localEndPoint = new IPEndPoint(IPAddress.Any, myPort);
eric feng
|
|
|
|
|
Thank you, it works.
e_LA
|
|
|
|
|
|
hi
tray this
for(int i = this.checkedListBox1.Items.Count-1; i >= 0; i--)
{
string txt = (string)this.checkedListBox1.Items[i].ToString();
if (txt.Equals(string.Empty))
this.checkedListBox1.Items.RemoveAt(i);
}
regards
joe
|
|
|
|
|
Hi
iam new to c# , can any one help me in adding a panel of specific size automatically to a tabpage when a new tabpage is created .
thanks in advance
Regards
praveen
|
|
|
|
|
Do you mean programatically or at design time?
|
|
|
|
|
|
Hello, could use a bit of general advice. I’m working on a C# program with Managed DirectX visualization. The main program window is divided into the visualization part and some generic controls from System.Windows.Forms for input – text boxes, drop down combos, grids and the like.
The DirectX visualization is quite complex so the typical frame rate is quite low especially on lower-end machines. My problem is that input becomes very sluggish and unresponsive as the frame rate drops. In extreme cases, pressing a key will cause a repeating string of characters to appear in the text box after significant delay. The frame rate I don’t really care about but the input has to stay responsive even on slower machines.
My guess is that the rendering is prioritised over the handling of control evens such as typing text. I have tried two solutions: one is peppering the main rendering loop with Application.DoEvents() to process the input control events. This had almost no effect.
Second is separating the rendering into a different thread to the main UI (essentially the render loop runs in a separate thread). However, even after setting the thread priority on the render thread to lowest and on the UI to highest I still get very sluggish input. I’ve removed all of the lock() statements to make sure the threads were not waiting on each other with no effect.
Didn’t have much luck finding a solution on the net – although surely this must be a very common problem. Can anyone suggest a solution - preferably one that doesn’t involve multithreading or writing DirectX input controls?
Thanks very much for any suggestions, apologies if I've posted in the wrong forum.
|
|
|
|