Forum: VB.NET Aug 13th, 2009 |
| Replies: 3 Views: 273 Where are you getting this DataTable from? Have you changed the routine you're using to get it? |
Forum: C# Aug 13th, 2009 |
| Replies: 14 Views: 1,471 You probably need to seek to the end of the file? It seems like that would be the way to go. The Streamwriter starts at position 0, I think, and just clobbers whatever is there... |
Forum: C# Apr 9th, 2009 |
| Replies: 8 Views: 556 You don't really need the typed List for what's going on, it's just a nice thing to have in terms of type safety... :) |
Forum: C# Apr 9th, 2009 |
| Replies: 3 Views: 1,115 Check this cool bit of code out:
http://blogs.msdn.com/knom/archive/2008/12/31/ip-address-calculations-with-c-subnetmasks-networks.aspx
This guy has a pretty slick solution! |
Forum: C# Apr 9th, 2009 |
| Replies: 5 Views: 966 Could you maybe set a scan timeout for a shorter period of time, set that running on a thread, and have that thread check for some type of stop "signal" before scanning again? I think a Singleton... |
Forum: C# Apr 9th, 2009 |
| Replies: 5 Views: 407 A web service would DEFINITELY be the way to go. Then, all you would have to have in a configuration file or hard-coded is the address of the web service you're connecting to. That's a much safer... |
Forum: C# Mar 19th, 2009 |
| Replies: 2 Views: 1,493 Or, you can just instantiate the List with the ISingleResult:
ISingleResult<myType> isr;
List<myType> myList = new List<myType>(isr);
Either way should work, as the List<T>() constructor... |
Forum: C# Mar 19th, 2009 |
| Replies: 3 Views: 2,158 If you have a very large bunch of XML data, a string datatype isn't practical-- that string could potentially load hundreds of MB of data, risking a MemoryException being thrown if too much is... |
Forum: C# Mar 19th, 2009 |
| Replies: 5 Views: 1,164 looks like you could have an error in your query syntax:
"Select * From Codes Where User ID = " +
probably needs to look like
"Select * From Codes Where [User ID] = " +
The "missing... |
Forum: C# Mar 19th, 2009 |
| Replies: 4 Views: 2,124 You may have to create a custom deployment package to do this-- the default MSI creator doesn't afford you many options, but the deployment package project does:
... |
Forum: C# Feb 12th, 2009 |
| Replies: 4 Views: 930 Just to add to this:
If you're using reflection frequently because you have several classes that have the same method, you could consider casting those objects up to a defined interface. Say you... |
Forum: C# Feb 12th, 2009 |
| Replies: 14 Views: 2,715 Remove the object[] argument from your MoveUp() method. You don't need it.
Also, when you do the BeginInvoke, it should look like this:
MainForm.BeginInvoke(MoveUp, null);
a params... |
Forum: C# May 24th, 2008 |
| Replies: 2 Views: 1,170 Depends. If you're using the datasets in the designer view, you really don't have THAT fine-grained of a control over when the datasets are instantiated, and how long they stick around in memory.
... |
Forum: C# Feb 14th, 2008 |
| Replies: 7 Views: 1,070 Why don't you have permission to install updates? Is your machine locked down or something?
Best route would be to contact your system administrator. They should authorize you to install the... |
Forum: ASP.NET Jan 2nd, 2008 |
| Replies: 8 Views: 1,246 Sounds like an awfully ambitious project for a beginner... Have the people requesting the application specified what requirements they need, exactly? That sounds like the best place to start... |
Forum: ASP.NET Dec 9th, 2007 |
| Replies: 4 Views: 1,485 you could use a set of if statements or something.
basically,
string myValues = "" //initialize the string
if (chkAlt.Checked == true)
{
myValues = myValues + " Alt"; |
Forum: C# Dec 8th, 2007 |
| Replies: 3 Views: 836 What if it converted floats over to ints automatically? What would it do with the fractions?
scru makes an excellent point. When you're working with a type-safe language, one of the key points is... |
Forum: Windows Vista and Windows 7 Dec 8th, 2007 |
| Replies: 11 Views: 3,091 What kind of hard drive are you trying to install on? You probably need to load the Drivers for your hard drive controller at the F6 screen during the XP install. |
Forum: ASP.NET Dec 8th, 2007 |
| Replies: 4 Views: 1,485 if those are the only codes that you'll be using, couldn't you just use string concatenation on it? Ie, if you had one that was "alt LaF" would could just input that in as a string.
From that... |
Forum: ASP.NET Dec 7th, 2007 |
| Replies: 5 Views: 5,002 Alternatively, you could create a templateField for the fields you want to validate, and use an ASP.NET validator control in that templateField. I've had that work without issue...
It does... |
Forum: ASP.NET Dec 7th, 2007 |
| Replies: 12 Views: 13,159 Saiveena,
Please reread this entire thread before posting a question. A user has previously provided pretty explicit steps on how to accomplish this. |
Forum: C# Dec 6th, 2007 |
| Replies: 2 Views: 3,114 Why not store all the usernames in an array to begin with, then bind that Listbox to the array as a datasource? Then you already have a data structure there to work with.
Or alternatively, the... |
Forum: C# Dec 6th, 2007 |
| Replies: 2 Views: 1,571 yep. I think that you're right there. I'm pretty sure the data tools in the IDE are removed from the Express Edition...
But hey on the bright side-- at least you're getting really familiar with... |
Forum: C# Dec 6th, 2007 |
| Replies: 2 Views: 2,895 you might want to check out these two links:
http://msdn2.microsoft.com/en-us/library/ykdxa0bc(VS.80).aspx
http://msdn2.microsoft.com/en-us/library/t4a23xx4(VS.80).aspx
I think a... |
Forum: Windows Vista and Windows 7 Jul 30th, 2006 |
| Replies: 4 Views: 7,429 What are all of the system specs? Are we sure the disc is properly burnt? |
Forum: Windows Vista and Windows 7 Jul 20th, 2006 |
| Replies: 4 Views: 7,429 What kind of CD drive do you have? How is it connected? |
Forum: C# Jul 20th, 2006 |
| Replies: 16 Views: 89,122 You're looking at an issue of object persistence, more than likely.
When you close the form, the object that the form represents, including all members included in it, are disposed. More than... |
Forum: Networking Hardware Configuration Jul 19th, 2006 |
| Replies: 2 Views: 1,961 HJT logs belong in the Viruses forum, but I'm pretty certain that you don't have a virus or spyware causing this.
Click Start, then Run, type in cmd and click OK. When in the Command Prompt, type... |
Forum: Python Jun 2nd, 2006 |
| Replies: 4 Views: 20,302 Not being able to add a whole lot to your code, I'm willing to bet that the reason why dunretnda (redundant) shows up more than one time is because there are duplicate characters in the string. For... |
Forum: Windows NT / 2000 / XP Apr 30th, 2006 |
| Replies: 3 Views: 2,158 If you disabled your Ethernet controller, it will still show a ? by it because you didn't install the driver. If you're really not interested in using the NIC on the machine, then just disable it in... |
Forum: Python Apr 22nd, 2006 |
| Replies: 2 Views: 1,060 Looks like it should work, assuming you have posix there. |
Forum: C# Apr 19th, 2006 |
| Replies: 6 Views: 26,344 No problem. By the way, check the other thread you posted. I think this conversation happens to be REALLY relevant to the topic there. :) |
Forum: C# Apr 19th, 2006 |
| Replies: 3 Views: 9,254 I'd have to agree with plazmo on this one.
You will probably have to have Office installed on all of the machines that you're planning on depolying to. I think that the Excel stuff you're doing... |
Forum: Python Apr 17th, 2006 |
| Replies: 4 Views: 1,525 Assuming the formula is right, looks basically fine to me. Just be sure to remove the spaces from the main() subroutine you call at the end, there. Good Job!
A handy tip:
Be sure to place tags... |
Forum: C# Apr 15th, 2006 |
| Replies: 6 Views: 26,344 FYI: OLEDB is for both Excel and Access. Maybe this article will help:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;257819
Basically, once you start using OLEDB, you can treat the... |
Forum: Python Mar 19th, 2006 |
| Replies: 11 Views: 49,704 perhaps you need to use " " instead of ' ' quotes? |
Forum: Python Mar 17th, 2006 |
| Replies: 11 Views: 49,704 What exactly is the program you're running, and what is the error you're getting?
If you can give the exact statements you're using, maybe we could provide some more help.
If creating an... |
Forum: Python Mar 16th, 2006 |
| Replies: 11 Views: 49,704 What little I know, your Python code looks correct. But, why the "start" part of command.com?
I know you can't really spawn new programs in DOS, but other than that it looks ok. It looks like you... |
Forum: *nix Software Feb 17th, 2006 |
| Replies: 2 Views: 2,008 That's by design.
You should never log in remotely as root directly. If your password were the slightest bit insecure, you could be open to a brute-force password attack, and your whole system... |
Forum: Viruses, Spyware and other Nasties Feb 15th, 2006 |
| Replies: 5 Views: 2,715 HAHAH...
Did you try hitting the NumLock key? :D |