|
What is the issue ? String parsing ? You can use regex for this, or just use methods on the string class.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
|
How is 'hi' a valid subject line ?
Use a delegate to communicate between forms
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
A couple of things:
1) Read the bit at the top of the page entitled: "How to get an answer".
2) Describe your problem in the subject. "Hi" and "Hello guys" do not describe your problem.
3) Explain your problem as clearly as you can.
4) Tell us what you have tried.
and very definately:
5) DO NOT WAIT THREE MINUTES AND THEN POST THE SAME PROBLEM AGAIN IN WORSE ENGLISH
As all you will do is annoy people.
Thank you for your attention.
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.
This message is made of fully recyclable Zeros and Ones
|
|
|
|
|
Same with "Hello Guys"..huh..??
|
|
|
|
|
You are right.
I think he don't know how to ask a question
|
|
|
|
|
|
engg_sukreet wrote: .Anyone know answer reply as soon as possible......
This is rude, and you appear to be dumb. Why did you post this twice, just to make the subject even more useless, and the message shorter ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
"Hello Guys"----> "???????"
"Anyone know answer reply as soon as possible......"------> means no reply !!
|
|
|
|
|
stancrm wrote: "Anyone know answer reply as soon as possible......"------> means no reply !!
It's a pity Chris instituted new rules "How to answer a question" or I'm sure he'd have got some replies...
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.
This message is made of fully recyclable Zeros and Ones
|
|
|
|
|
Very frustrating these new rules - and almost noone post programming questions in the Lounge any more.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Wat kind of a idiot are you?
PS: You have a sad sense of humor
Aman
|
|
|
|
|
Amangang wrote: Wat kind of a idiot are you?
PS: You have a sad sense of humor
Aman
The kind that can spell. Why, "Wat" kind do you think I should be?
Did I respond rudely, stupidly, or just not to your personal preferance? Do tell - as an idiot I have nothing better to do than wait for your response.
Breathlessly anticipating your further communications...
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.
This message is made of fully recyclable Zeros and Ones
|
|
|
|
|
Just trying not to type so much, didnt realise that i had to speak to you without abbreviations. By the way what you said was rude and probably insulted someone.
Aman
|
|
|
|
|
Amangang wrote: By the way what you said was rude and probably insulted someone.
Would you care to elucidate? Which part was rude, and which part insulted somebody?
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.
This message is made of fully recyclable Zeros and Ones
|
|
|
|
|
hey budy .... if any one answers you something ... please tell me .... because I am going tell u that you r not the only dumb here..... lool
|
|
|
|
|
so i get text like this grabbed from a webpage:
accountid=176153type=premservertime=1249458970addtime=1163095909validuntil=1251617287username=myUsernamedirectstart=1protectfiles=0rsantihack=1plustrafficmode=0mirror=mirror2=mirror3=mirror4=jsconfig=1email=myemail@hotmail.comlots=0points=13382curfiles=3420curspace=267218323804bodkb=26430697premkbleft=4598808refpoints=13refrate=200
and i want to split this to display only some of the information, and in a neat form.
for example:
Accountid = 176153
Username = myUsername
Valid Until = 1251617287
RS AntiHack = Yes
Email = myemail@hotmail.com
i want this to be displayed in a textbox
and if its not to diffucult, can someone point me to the right direction where i can display each detail in a listview?
ive got all the columns and whatnot all done.
thanks alot
|
|
|
|
|
I think, there are "&" between each record.
It must be something like this : "accountid=176153&type=prem..."
Then you can split it using "&".
string input = "accountid=176153&type=prem...";
string[] s = input.Split('&');
Then split each record using "=".
|
|
|
|
|
hmm ok.
but im not too sure that there is :S
i think it has a new line between each part, but it doesnt show when it displays in a text box, only in a message box.
the official way that the results come out it is:
accountid=$accountid (integer)
type=$type (prem or col)
servertime=$time (integer)
addtime=$addtime (integer)
validuntil=$validuntil (integer)
username=$username (string)
directstart=$directstart (integer)
protectfiles=$protectfiles (integer)
rsantihack=$rsantihack (integer)
plustrafficmode=$plustrafficmode (integer)
mirror=$mirror (string)
mirror2=$mirror2 (string)
mirror3=$mirror3 (string)
jsconfig=$jsconfig (string)
email=$email (string)
lots=$lots (integer)
points=$points (integer)
curfiles=$curfiles (integer)
curspace=$curspace (integer)
bodkb=$bodkb (integer)
prempoints=$prempoints (integer)
premkbleft=$premkbleft (integer)
refpoints=$refpoints (integer)
refrate=$refrate (integer in cents)
|
|
|
|
|
So split on char(10) and char(13), I think these are the new line characters.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
i need help in digital clor lab management system
any body can help me???
|
|
|
|
|
Sure - if you properly define the task ( what does digital color mangement mean ), I'm sure I can write something for you. I am busy nowadays, so I'd do it for $200 an hour. You may well find someone else willing to do it for half that, if they need the work.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Hello,
I've written a small console application for me and some collegues to use, it contains a lot of commands,
all of which we use on a daily basis. To prevent also having to open a windows commandprompt besides my
own console, i also included the ping command in my console (started with a process.start) and the
results are written in my console.
All good and well, but when i keep pinging (ping hostname /t) i have to be able to use ctrl-c and
ctrl-break without my console exiting. So i implemented the following in my code:
static void Console_CancelKeyPress(object sender, ConsoleCancelEventArgs e)
{
if (e.SpecialKey == ConsoleSpecialKey.ControlC)
{
e.Cancel = true;
}
else
{
dowhile();
}
}
the function dowhile() calls a function where i read the input as long as the user doesnt type "exit".
I couldnt cancel the event when ctrl-break is pressed, so i guessed i should just call my dowhile
function again. Everything works fine, except when i try to close my application typing exit, or pressing
the close button. It takes 3 to 5 seconds before my console closes. This only happens when i pressed
Ctrl-Break before.
Am i doing something wrong, or is there a better way to prevent Ctrl-Break from exiting my console?
My console just cant close when i press Ctrl-Break because then i can't see my temporary ping statistics
anymore.
Any thoughts? Thanks in advance.
|
|
|
|
|
i m using mozilla fire fox n looking for a full path of posted file from fileUpload control of asp
string filepath= fileUpload1.PostedFile.FileName;
but
filepath only holds the file name.. no path...............
helpp plzzzzzzzzzz
|
|
|
|
|
I think, this is the wrong forum. Use ASP.NET forum.
|
|
|
|