|
Do your own homework! If/When you get stuck on a specific coding question then feel free to post it and people here will be more than happy to help.
Current blacklist
svmilky - Extremely rude | FeRtoll - Rude personal emails | ironstrike1 - Rude & Obnoxious behaviour
|
|
|
|
|
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?
|
|
|
|
|