Forum: C# Feb 12th, 2009 |
| Replies: 8 Views: 1,854 Just a quick glance I would play around with this line:
output.Write(fr.friendName, fr.friendStreet, fr.friendCity, fr.friendState, fr.friendZip);
You have to convert the arraylist element into... |
Forum: C# Dec 23rd, 2008 |
| Replies: 6 Views: 2,280 .NET even has a built-in function to do the conversation. Some basic research would tell you the answer |
Forum: C# Oct 10th, 2008 |
| Replies: 6 Views: 1,060 i would recommond to convert to C# first. Luckily 1.1 to 2.0 C# conversion is relatively simple since most new things in C# 2.0 only make things easier (so worst case C# 1.1 code will be harder than... |
Forum: C# Oct 8th, 2008 |
| Replies: 4 Views: 568 There is a series on CodeProject all about this topic, they are quite impressive:
http://www.codeproject.com/KB/security/steganodotnet.aspx
For the rest of them, do a Ctrl+F search of... |
Forum: C# Oct 1st, 2008 |
| Replies: 15 Views: 5,607 I thought it goes without saying, but add this in the constructor of your Form:
This.FormClosing += new EventHandler(Form1_FormClosing);
I'm not too sure about the EventHandler part, but the... |
Forum: C# Sep 24th, 2008 |
| Replies: 15 Views: 5,607 You need to make use of the FormClosing event. Here is a quick example:
private bool minimize = true;
private void Form1_FormClosing(object sender, FormClosingEventArgs e)
{
if (minimize)
... |
Forum: C# Sep 23rd, 2008 |
| Replies: 11 Views: 2,195 Maybe try
this.Controls.IndexOfKey("txt_to" + i.ToString());
if the index is not -1 then you can use this.Controls[i] and it will be the textbox |
Forum: C# Sep 17th, 2008 |
| Replies: 2 Views: 1,490 if you are talking about the default blank row at the bottom of all the rows then you have to turn off the property AllowUserToAddRows.
Since it is not a real row you cannot delete it. |
Forum: C# Aug 21st, 2008 |
| Replies: 11 Views: 3,453 it depends on the batch file i think, but just try "C:\setstation.cmd", you just need the full path. |
Forum: C# Aug 12th, 2008 |
| Replies: 5 Views: 6,586 It depends on what your doing with that list. Worst case, you can write a for loop that manually displays only the elements that aren't currently filtered out. Otherwise the only way I know off the... |
Forum: C# Aug 11th, 2008 |
| Replies: 5 Views: 6,586 There is no easy way to filter data with a generic collection unfortunately.
But sorting shouldn't be too hard since generic collections have a Sort function you can call. To implement a custom... |