|
Pete O'Hanlon wrote: my mind is on higher things
==
Pete O'Hanlon wrote: porn star!
Panic, Chaos, Destruction.
My work here is done.
|
|
|
|
|
Ah. You cracked the code then.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
No need to be explicit about it. I noticed some fine British conversations earlier in the Lounge today. I suspect they added something nationwide to your water overnight.
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
Luc Pattyn wrote: I suspect they added something nationwide to your water
Hops, barley, malt and yeast.
Panic, Chaos, Destruction.
My work here is done.
|
|
|
|
|
Sounds all very innocent, nevertheless I suspect you are allergic to them.
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
Luc Pattyn wrote: I suspect you are allergic to them.
No no no! The rash was something else. Very innocent. Completely innocent, no need to talk about it.
Panic, Chaos, Destruction.
My work here is done.
|
|
|
|
|
williamnw wrote: Completely innocent
That is why I didn't want to mention it, but since you did now, have you identified the source yet?
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
Please get me the source code ..if you have
|
|
|
|
|
You'll be lucky, the only source I have is gin. Try the OP.
Panic, Chaos, Destruction. My work here is done.
Drink. Get drunk. Fall over - P O'H
OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre
I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer
Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett
|
|
|
|
|
Thanks alot for your work, Pete O'Hanlon.
From the class Converter, I'm unable to achieve the requirement. Can you give few hints to solve this.
|
|
|
|
|
Hello,
I develop a web application under C# and ASP.net.
Please can you tel me how can i send PCL to the my Printer to decode specific caracter of check series (like CMC7 font).
I have this card "Micr II HP 4100".
Please help me.
|
|
|
|
|
Hi,
How can I use two different interfaces in a class?
something like this:
MyClass:Interface1 Interface2 ???
but that's wrong!!so...anybody can help?I'll be thankful.
|
|
|
|
|
pcsience wrote: anybody can help?
compiler messages?
documentation?
google?
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
Simple - just put a comma between them.
MyClass:Interface1, Interface2
There are three kinds of people in the world - those who can count and those who can't...
|
|
|
|
|
Have you considered the comma?
MyClass:Interface1, Interface2
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
|
|
|
|
|
Dear All,
I have ListView full of things, but basically all the items have the same format :
TY223 [16]
TW121 [223]
...
...
If I want to substract the value 16 and TY223 from TY223 [16] , I go about it like this :
string[] a = itm.Value.ToString().Split('[');
string[] b = a[1].ToString().Split(']');
string first = a[1].ToString().Trim();
string second = b[0].ToString().Trim();
This works fine, however I'm only after the value 16. Is there a more elegant way of extracting this value from the item, instead of using
.Split()
Kind regards,
|
|
|
|
|
You might be able to do something like (I'd normally use something like this for reading from a file, but it seems to work here too):
string ReadWord(string buffer, char delimiter, int startPos)
{
StringBuilder sb = new StringBuilder();
for(int i=startPos; i<buffer.Length; i++)
{
if(buffer[i] == delimiter)
break;
sb.append(buffer[i]);
}
return sb.toString();
}
void main()
{
string firstPart = ReadWord(fullLine, ' ', 0);
int startPos = fullLine.IndexOf('[');
string secondPart = ReadWord(fullLine, ']', startPos);
}
Thats just from memory so it may not compile, but you get the idea.
My current favourite word is: Delicious!
-SK Genius
Game Programming articles start - here[ ^]-
modified on Monday, May 18, 2009 7:42 AM
|
|
|
|
|
Hi,
I like using regex:
System.Text.RegularExpressions.Regex r = new System.Text.RegularExpressions.Regex(@"[ [\]]");
label1.Text = "";
foreach (String s in r.Split(textBox2.Text))
{
label1.Text += s + "\n";
}
You might use index 0 and 2 and you don't need .Trim() again.
Have fun
|
|
|
|
|
how about, in one line...
string resultString = inputString.Substring(inputString.IndexOf('[') + 1, inputString.IndexOf(']') - inputString.IndexOf('[') - 1);
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
I think you mean "extract" the value.
Regular Expression. I'd use something like:
"\[(?'Value'.*)\]"
|
|
|
|
|
Hi,
How can we create dynamic threads?
eg:- i want to create n number of threads in each event. When a incomming message come, it assign to a thread, like wise many number of messages will recive. Each time a new thread is created.
Is it possible to do so?
Thankyou
YPKI
|
|
|
|
|
|
Try looking for ThreadPool
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Hi All,
How to remove the form flickering in windows applications.
Regards,
Lalit Narayan
|
|
|
|
|
Results 1 - 10 of about 7,680 for c# remove form flickering with Safesearch on. (0.47 seconds)
Guess the web page!
Panic, Chaos, Destruction.
My work here is done.
|
|
|
|