Forum: C# May 19th, 2008 |
| Replies: 7 Views: 1,306 Not a problem :p. Glad I could help a little bit.
And thanks for the offer, but I don't need help at the moment. Giving other people help can be fun too.
Well, back to work now, last weeks have... |
Forum: C# May 7th, 2008 |
| Replies: 7 Views: 1,306 Hehe, I don't think it is that simple. Speech to text relies on complex algorhytms analyzing hyphens (am I correct?).
At least according to the seminar I got from dragon naturally speaking. If I... |
Forum: C# May 5th, 2008 |
| Replies: 1 Views: 1,282 Ah great, onceclick. I'm also making an application for it and I must say that sometimes the deployment of these things can be a pain. (In my opinion at least).
That being said, I think the only... |
Forum: C# Apr 27th, 2008 |
| Replies: 8 Views: 660 Ah, true. Forgot about generics.
I was quite tired when I wrote that, so disregard arraylists.
Thanks for correcting me narue. |
Forum: C# Apr 27th, 2008 |
| Replies: 8 Views: 660 The use of an array with dynamic adding of entries is a little bit more...complex I think.
I'd advise to use an arraylist for that. Do know that if you store an object in an arraylist, that you... |
Forum: C# Apr 24th, 2008 |
| Replies: 2 Views: 861 Try to put your connectionstring in a config - file. This way you'll be able to edit it specifically for the machine you want to install it on.
In you config- file it should look a bit like
... |
Forum: C# Apr 24th, 2008 |
| Replies: 6 Views: 8,725 Not a problem, hope it helped. |
Forum: C# Apr 23rd, 2008 |
| Replies: 6 Views: 8,725 That is handled in a handler in your dropdown. You can try the selectedvaluechanged - handler for that.
The value of your dropdownlist then gets sent through the sender of your listener.
Hope... |
Forum: C# Apr 22nd, 2008 |
| Replies: 2 Views: 3,310 The msdn - library gives a full list of possible members of RichTextBox.
http://msdn2.microsoft.com/en-us/library/system.windows.forms.richtextbox_members.aspx
It seems you would to use the... |
Forum: C# Apr 17th, 2008 |
| Replies: 6 Views: 2,193 That does seem like a weird course of action to take. Well...Good job I guess Jerry :p |
Forum: C# Apr 16th, 2008 |
| Replies: 6 Views: 2,193 You mean the last item in it?
In that case it would be combobox.SelectedItemIndex = combobox.Items.Count - 1;
This is just a guess though, since I don't have time to try it out for now. Give it... |
Forum: C# Apr 16th, 2008 |
| Replies: 2 Views: 478 Do you mean design patterns? I don't think I get the question. |
Forum: C# Apr 16th, 2008 |
| Replies: 3 Views: 980 Writing a server in c#? You'd better be off with unix if it is a whole server :p.
http://www.linuxfromscratch.org/, if you have WAAAYYY too much time and patience on your hands.
If you don't... |
Forum: C# Apr 9th, 2008 |
| Replies: 1 Views: 454 It would look to me like there is an error with connection to your database.
What is the type of exception you get? |
Forum: C# Apr 4th, 2008 |
| Replies: 12 Views: 1,282 True
If ondatasend is in a different class, you could try to call a new instance of this class. This way you would make sure that none of the data from your first ondatasend() get carried over.
... |
Forum: C# Apr 3rd, 2008 |
| Replies: 12 Views: 1,282 Yes, but I showed it to some friends and they noted 'OnDataSend'.
He uses the while to 'pause' the program as long as he is fetching his data from ondatasend. After he got his OK, error or ERROR, he... |
Forum: C# Apr 3rd, 2008 |
| Replies: 12 Views: 1,282 I don't know. I would say that you have a logical flaw or that I don't know enough of c# :p
while (!(m_szdata.Contains("OK\r\n")) && !(m_szdata.Contains("error")) &&
... |
Forum: C# Apr 3rd, 2008 |
| Replies: 12 Views: 1,282 I'm going to make a small guess here, feel free to correct me.
while (!(m_szdata.Contains("OK\r\n")) && !(m_szdata.Contains("error")) &&
!(m_szdata.Contains("ERROR"))) ;
... |
Forum: C# Apr 2nd, 2008 |
| Replies: 11 Views: 11,669 It'll probably take a while untill I get to that module of the code, since it has a change request pending, but I wrote it down and I'll try to send you if I manage to find something out. Don't count... |
Forum: C# Apr 2nd, 2008 |
| Replies: 11 Views: 11,669 You can do this by using serialization too.
.Net has good documentation about the issue.
MSDN Linkie (http://msdn2.microsoft.com/en-us/library/ms745778.aspx)
I have never used this myself,... |
Forum: C# Apr 1st, 2008 |
| Replies: 23 Views: 21,302 If that is the case your windows verification should be the same as the verification for your database (ie: when installing sql server you should have opted for the windows verification).
The... |
Forum: C# Apr 1st, 2008 |
| Replies: 23 Views: 21,302 If your database is running locally, try
SqlConnection conn = new SqlConnection("Data Source=(local);Initial Catalog=Dorpshuis;Integrated Security=SSPI);
For the adding of your password or... |