Forum: C# Nov 7th, 2007 |
| Replies: 6 Views: 996 My comment was directed at simon. It looks like he is using elements of my snippet (see the link I posted) to write his infix to postfix calculator in c#. I was just making him aware that the code I... |
Forum: C# Nov 7th, 2007 |
| Replies: 6 Views: 996 That looks like my code taken from my snippet (infix ->postfix).
http://www.daniweb.com/forums/thread95014.html
You do realise there is a bug with my code. |
Forum: C# Nov 7th, 2007 |
| Replies: 8 Views: 5,993 I merely answered the question posed. |
Forum: C# Nov 2nd, 2007 |
| Replies: 2 Views: 1,982 http://www.daniweb.com/code/coder46692.html |
Forum: C# Nov 2nd, 2007 |
| Replies: 2 Views: 1,982 Did this is c++, check it out for ideas. |
Forum: C# Nov 2nd, 2007 |
| Replies: 8 Views: 5,993 |
Forum: C# Oct 30th, 2007 |
| Replies: 1 Views: 3,174 Can't you convert the whole richtextbox back to black? |
Forum: C# Oct 24th, 2007 |
| Replies: 3 Views: 3,965 |
Forum: C# Oct 20th, 2007 |
| Replies: 1 Views: 6,407 http://www.aboutmydot.net/index.php/high-quality-thumbnails-vbnet |
Forum: C# Oct 14th, 2007 |
| Replies: 5 Views: 1,076 Yeah, just wonderin how many of you guys are using dotnet 3.0. If you are, what is it like etc? Can you use it with the express versions? |
Forum: C# Oct 14th, 2007 |
| Replies: 5 Views: 2,024 Glad it helped :) Maybe you could post your solution for the benefit of the daniweb community, and anyone viewing this thread a couple of months down the line.
Cheers |
Forum: C# Oct 13th, 2007 |
| Replies: 5 Views: 2,024 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: 2 Views: 1,186 Of course that is possible. But I've never heard of anyone doing it over certain words.
In that case a more hackish solution is the likely avenue to explore. |
Forum: C# Oct 13th, 2007 |
| Replies: 5 Views: 2,024 Try looking at the process id. |
Forum: C# Sep 30th, 2007 |
| Replies: 2 Views: 2,705 Hmm...Isn't sendkeys unsupported in vista?
Anyway have you tried using the clipboard options. |
Forum: C# Sep 30th, 2007 |
| Replies: 2 Views: 2,744 If you just changing parts of a text file wouldn't you have to read the old one into memory change it then write over the file? Or something akin to that? |
Forum: C# Sep 30th, 2007 |
| Replies: 2 Views: 2,191 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,386 in that case _r0ckbaer's solution will fail. |
Forum: C# Sep 23rd, 2007 |
| Replies: 12 Views: 10,386 >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 23rd, 2007 |
| Replies: 4 Views: 3,747 Haved you googled "c# + scrolling text" perhaps for ideas? |
Forum: C# Sep 20th, 2007 |
| Replies: 12 Views: 8,744 >Is VC.net is better than C# in all cases?
No way, vc++.net is worser than c# in all cases. Pure c++ is another matter of course. |
Forum: C# Sep 17th, 2007 |
| Replies: 12 Views: 8,744 I think one should be very careful when comparing pure c++ and c++.net. The two are very different beasts.
If you must use dotnet use c# or vb.net. |
Forum: C# Sep 15th, 2007 |
| Replies: 2 Views: 8,869 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# Sep 12th, 2007 |
| Replies: 6 Views: 2,658 |
Forum: C# Sep 2nd, 2007 |
| Replies: 1 Views: 969 >it only shows feb 28 in every year.
Hint is it correct?
int leapyear ( int year3 )
{
if ( year3 % 4 == 0 )
{
if ( year3 % 100 == 0 )
{ |
Forum: C# Aug 27th, 2007 |
| Replies: 1 Views: 623 Capturing images.
Please explain, you could mean a whole host of things. |
Forum: C# Aug 22nd, 2007 |
| Replies: 5 Views: 816 > It's not counting whitespace, it's relying on a fixed width column format.
Nah, that is just stupid. And he never said he's using fixed width column if you reread the original thread so you are... |
Forum: C# Aug 22nd, 2007 |
| Replies: 5 Views: 816 This looks like a recipe for disaster. You need to think of a better(more unique) way to identify each column. Counting white space just ain't gonna cut it. |
Forum: C# Aug 17th, 2007 |
| Replies: 8 Views: 8,073 maybe he/she doesn't know how to find that certain place to begin, i.e they don't know how to traverse the tree (so-to-speak)? |
Forum: C# Aug 16th, 2007 |
| Replies: 1 Views: 1,156 Can you describe your problem more clearly, with some more examples please. |
Forum: C# Aug 16th, 2007 |
| Replies: 6 Views: 3,356 I'd look up the ms commands for windows. Such as ping, nbtstat, etc.
You could call them as process. However, there also happens to be inbuilt IP functions in the dotnet framework, although I've... |
Forum: C# Jul 27th, 2007 |
| Replies: 1 Views: 3,873 http://support.microsoft.com/kb/317597 |
Forum: C# Jul 25th, 2007 |
| Replies: 3 Views: 818 Why do you want to use GDI, you should use richtextbox instead. And things like select font. |
Forum: C# Jul 24th, 2007 |
| Replies: 3 Views: 818 yes all you need is the gdi. |
Forum: C# Jun 25th, 2007 |
| Replies: 3 Views: 10,555 |
Forum: C# Jun 23rd, 2007 |
| Replies: 3 Views: 1,876 Google for using dotnet with databases. That's you're primary goal. The interface, will most probably will be datagridview or something akin to that.
? |
Forum: C# Jun 22nd, 2007 |
| Replies: 3 Views: 1,876 Yep that's possible. Dotnet has a lot of api which aids database storage and retrieval etc. |
Forum: C# Jun 17th, 2007 |
| Replies: 1 Views: 3,902 http://www.colorpilot.com/pdfsample_csharp.html |
Forum: C# Jun 13th, 2007 |
| Replies: 4 Views: 2,161 There is no need to recurse through any directories. He said he has one folder with all the files immediately there. |
Forum: C# Jun 9th, 2007 |
| Replies: 2 Views: 2,003 This is pretty straight forward string manipulation. Read each line into a buffer then, just concatenate every two lines. chop out the parts you don't need. Every two lines could be accounted for... |