Forum: C# Nov 2nd, 2007 |
| Replies: 8 Views: 6,056 |
Forum: C# Oct 13th, 2007 |
| Replies: 5 Views: 2,043 Private p As Process = Nothing
Dim I As Integer = 0
While I <> 1 'I.e a condition that will never happen
System.Threading.Thread.Sleep(1000) ' wait 1000ms
... |
Forum: C# Oct 13th, 2007 |
| Replies: 5 Views: 2,043 Try looking at the process id. |
Forum: C# Sep 30th, 2007 |
| Replies: 2 Views: 2,218 Works for me, although I've not tested it exclusively. If you change it to <img([^>]+)>. Make any diff? |
Forum: C# Sep 24th, 2007 |
| Replies: 12 Views: 10,499 in that case _r0ckbaer's solution will fail. |
Forum: C# Sep 23rd, 2007 |
| Replies: 12 Views: 10,499 >if every line starts with the date
Not entirely sure if that would work all the time, especially seeing as some dates can be written as DD-MM-YYYY or YYYY-MM-DD etc. A cast iron solution would... |
Forum: C# Sep 15th, 2007 |
| Replies: 2 Views: 9,001 Yes I think so, you should be able to add the windows media functions as a com object if I remember correctly.
Perhaps?
http://www.codeproject.com/useritems/Play_sound_in_VBnet_with.asp |
Forum: C# Mar 22nd, 2007 |
| Replies: 12 Views: 6,843 Not 100% fool proof. Like I said you have to code your own me thinks. |
Forum: C# Mar 17th, 2007 |
| Replies: 12 Views: 6,843 I don't think there is a built in function which will 100% validate all entries. |
Forum: C# Mar 17th, 2007 |
| Replies: 12 Views: 6,843 Well the way I'd do it is to loop through the string, which is what you textBox will be.
And check if each character is "0123456789".
I guess you could use the substring function to isolate... |
Forum: C# Mar 17th, 2007 |
| Replies: 12 Views: 6,843 You could set all the other event handlers to be disabled... set the focus back on the text box.
You know what an if statement is? |
Forum: C# Mar 3rd, 2007 |
| Replies: 7 Views: 5,200 Oh right. Erm I never do such things. I just read in a normal text file and that parse that data into my class or structure.
Since I don't do it I won't be offering any advice. Good luck though.
... |
Forum: C# Mar 3rd, 2007 |
| Replies: 7 Views: 5,200 are you trying to write objects to a file? |