Search Results

Showing results 1 to 13 of 13
Search took 0.03 seconds.
Search: Posts Made By: iamthwee ; Forum: C# and child forums
Forum: C# Nov 2nd, 2007
Replies: 8
Views: 6,056
Posted By iamthwee
Forum: C# Oct 13th, 2007
Replies: 5
Views: 2,043
Posted By iamthwee
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
Posted By iamthwee
Try looking at the process id.
Forum: C# Sep 30th, 2007
Replies: 2
Views: 2,218
Posted By iamthwee
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
Posted By iamthwee
in that case _r0ckbaer's solution will fail.
Forum: C# Sep 23rd, 2007
Replies: 12
Views: 10,499
Posted By iamthwee
>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
Posted By iamthwee
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
Posted By iamthwee
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
Posted By iamthwee
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
Posted By iamthwee
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
Posted By iamthwee
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
Posted By iamthwee
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
Posted By iamthwee
are you trying to write objects to a file?
Showing results 1 to 13 of 13

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC