Forum: C# Jul 30th, 2009 |
| Replies: 10 Views: 636 I think the forcibly stopped comes from the reader application reading one line and exiting.
Can you put the read into a loop of some form?
If you're going to write to the stream more than... |
Forum: C# Apr 9th, 2009 |
| Replies: 5 Views: 407 So what you really want is a verification that a specific record (license) exists and you would never want anyone to be able to list or add records.
I'm not sure what resources you have available,... |
Forum: C# Apr 9th, 2009 |
| Replies: 5 Views: 407 Will the users of your application be connecting to your SQL server or is the intent for them to connect to their own server?
The following presumes they will be connecting to your server:
Hard... |
Forum: C# Feb 21st, 2009 |
| Replies: 4 Views: 484 Side comment - with 18 post under your belt, you should have known enough to wrap your code in code tags.
... your code here ... at least, but for this forum, preferably ... |
Forum: C# Feb 16th, 2009 |
| Replies: 2 Views: 1,876 If the code you want to call belongs to an object on the same page as the javascript, I think you can make it work.
If the javascript is running in an embedded browser and you want it to call code... |
Forum: C# Jan 22nd, 2009 |
| Replies: 1 Views: 296 Is there any chance an OS Design file is human readable? |
Forum: C# Jan 20th, 2009 |
| Replies: 18 Views: 1,431 Not that it matters as mine seems to work, but I am running Vista. |
Forum: C# Jan 19th, 2009 |
| Replies: 18 Views: 1,431 I just thought you might like another sample. Those results were from the 'problem' link you posted in message 5 |
Forum: C# Jan 19th, 2009 |
| Replies: 18 Views: 1,431 I changed the MessageBox output to a System.Diagnostics.Debug.Print so that it wouldn't wait for me to click anything (possibly still reading in the background).
VC# Express claimed it was making... |
Forum: C# Jan 15th, 2009 |
| Replies: 3 Views: 279 If you post your code with code tags, the whitespace doesn't go away.
When posting c# code, please use c# code tags
// Your code here
About the private members and array topic, I don't... |
Forum: C# Jan 15th, 2009 |
| Replies: 38 Views: 3,030 I thought we were trying to hint you toward a ShowPage(int pageno) type of implementation.
Then inside ShowPage, you could determine the start and end indexes for the page. (I'm presuming here... |
Forum: C# Jan 13th, 2009 |
| Replies: 38 Views: 3,030 If the page starts with n+15, then page 1 starts with 16, page 2 with 17, page 3 with 18?
Doesn't seem quite right somehow.
Do we want to number the pages from 0 like we did the pictures, or do... |
Forum: C# Jan 12th, 2009 |
| Replies: 38 Views: 3,030 Let me ask this a slightly different way to see if it helps you think about it.
You have 200 pictures, numbered 0 to 199. (I chose those numbers because that matches the index in almost all... |
Forum: C# Jan 10th, 2009 |
| Replies: 1 Views: 852 I think your only option is to change the color of the characters.
Take a look at this snippet (http://www.daniweb.com/code/snippet134.html)
If you set your 'default' color to grey or light... |
Forum: C# Dec 24th, 2008 |
| Replies: 8 Views: 478 I pulled the download from the link you gave. In my quick scan of the files, it doesn't appear to have a tutorial, but it did have some sample code.
However at the end of the thread there were... |
Forum: C# Dec 23rd, 2008 |
| Replies: 8 Views: 478 People write introductions and tutorials so they don't have to answer the same question every time someone new gets it.
Please try to use the resources that exist before trying to have someone... |
Forum: C# Dec 20th, 2008 |
| Replies: 1 Views: 304 I don't think I understand your request.
Are you saying that your program creates a folder and then puts some files in it?
Then later, your program creates another folder and you want to move... |
Forum: C# Dec 16th, 2008 |
| Replies: 4 Views: 393 But if the unit need to notify the army that it has died (a little strange in real-life, but not so bad in computers), the unit will need to know which army to notify.
The other option might be... |
Forum: C# Dec 15th, 2008 |
| Replies: 10 Views: 836 Maybe you should look for a method to disable a control.
(second big hint) |
Forum: C# Dec 15th, 2008 |
| Replies: 11 Views: 1,289 I was trying things in a test application.
DateTime.Now.ToString("HH:mm:ss") and DateTime.Now.ToString("hh:mm:ss tt")
both seem to produce valid output.
Does SQL like one format better than... |
Forum: C# Dec 15th, 2008 |
| Replies: 11 Views: 1,289 Is time a reserved word? Could you name the column qtime like you did qdate? |
Forum: C# Dec 13th, 2008 |
| Replies: 7 Views: 780 It may not be very efficient, but this creates an output file with the one string in it:
using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using... |
Forum: C# Dec 10th, 2008 |
| Replies: 11 Views: 1,289 The current database search uses where qdate = #" + DateTime.Now.ToString("dd-MMM-yyyy") + "#" which limits the search to only find records for the given date.
You could extend that to have a... |
Forum: C# Dec 9th, 2008 |
| Replies: 11 Views: 1,289 The current implementation only looks at the first record returned and builds an output string with the question and answer options.
If there was more than one question matched, how would it work?... |
Forum: C# Dec 8th, 2008 |
| Replies: 39 Views: 2,727 In your description of MyEvent, I didn't see where any data from the background worker was transferred to the form.
Could you describe a little more about that, maybe it will have a clue. |
Forum: C# Dec 2nd, 2008 |
| Replies: 39 Views: 2,727 So if I understand it correcly, your application has 4 windows. The main window and 3 other forms. The 3 forms are updated by backgroud worker threads.
Does the program always create all 3 forms,... |
Forum: C# Dec 2nd, 2008 |
| Replies: 3 Views: 1,588 That looks like a mass-mailing application...not sure I WANT to help, but does it just not work or are you getting an exception?
If you're getting an exception, what is it?
If it just "doesn't... |
Forum: C# Nov 30th, 2008 |
| Replies: 2 Views: 1,310 I don't know what your problem is in particular, but it may be that you need to allow autocad some time to process the first command before it is ready to accept the second command.
Alternatively... |
Forum: C# Nov 29th, 2008 |
| Replies: 2 Views: 2,972 I'm not certain I understand your question or what you need help with. (Specific questions usually get faster and better answers.)
Are you saying that you need to write an application that will be... |
Forum: C# Nov 25th, 2008 |
| Replies: 10 Views: 1,363 As a side note to the discussion, although it is convenient in this context to have the default Car constructor generate a random car, the constructor seems to be doing an awful lot, including adding... |