Forum: VB.NET Aug 13th, 2009 |
| Replies: 3 Views: 250 Where are you getting this DataTable from? Have you changed the routine you're using to get it? |
Forum: C# Aug 13th, 2009 |
| Replies: 7 Views: 369 sknake is right... This isn't a programming problem. This is more something that should be resolved by local security policies on a client machine. Are these machines part of a domain? |
Forum: C# Aug 13th, 2009 |
| Replies: 14 Views: 1,399 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# Aug 13th, 2009 |
| Replies: 3 Views: 553 You can't really determine what path they're saving the file to-- that dialog box is something the browser uses exclusively. Why not make the application itself determine what directory it's in, then... |
Forum: ASP.NET Aug 13th, 2009 |
| Replies: 2 Views: 612 Do you have a column set as a datakey for the gridview? You usually need one for what you're trying to do. |
Forum: C# Aug 13th, 2009 |
| Replies: 2 Views: 285 Hey there,
There's not the notion of "applets", as in Java. The closest thing would be SilverLight, which does a lot of what you're asking. That would give you something encapsulated you could... |
Forum: C# Aug 13th, 2009 |
| Replies: 1 Views: 251 Can you please elaborate on your question?
I can say that between Vista and XP the display manager changed. That function may just behave differently now... |
Forum: Python Apr 9th, 2009 |
| Replies: 2 Views: 443 Well, there's two types of validation... you'll need to first verify that the numerals are in the right order, ie, you can't have IC or something, but you could have XC, or IX, but not VX or IL, etc.... |
Forum: C# Apr 9th, 2009 |
| Replies: 11 Views: 842 Actually, not trying to start a flame war here, but the Visual Studio is great as an IDE, whether you're working in VB or C#. The only complaint I have is that it's a bit slow to launch when you're... |
Forum: C# Apr 9th, 2009 |
| Replies: 5 Views: 887 What about just using the Class Designer in Visual Studio? It does a pretty good job of things, IMHO... |
Forum: C# Apr 9th, 2009 |
| Replies: 2 Views: 384 what?
Maybe this will help?
http://www.google.com/search?q=web+services+tutorial+C%23
There are LOTS of tutorials out there... There's a lot of ways you can work with web services, depending... |
Forum: C# Apr 9th, 2009 |
| Replies: 2 Views: 2,191 I will interject, though:
If Moonlight has been released for Linux, that's a subset of WPF. Perhaps they will put some work into WPF... |
Forum: C# Apr 9th, 2009 |
| Replies: 1 Views: 577 You need to run the contact launching code in a new thread, or consider using a background worker to start your FindContactEmailByName method.
Here's a tutorial on the background worker: ... |
Forum: C# Apr 9th, 2009 |
| Replies: 8 Views: 530 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: 992 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: 880 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: 4 Views: 915 Normally updating labels in a form is not a thread-safe operation. Check this article out:
http://msdn.microsoft.com/en-us/library/ms171728(VS.80).aspx
That may give you a good idea of what... |
Forum: C# Apr 9th, 2009 |
| Replies: 5 Views: 385 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: Python Mar 24th, 2009 |
| Replies: 1 Views: 398 this post might help:
http://www.webhostingtalk.com/showpost.php?p=5268640&postcount=2
you should just be able to add it to the end as an additional argument, it would seem... |
Forum: Python Mar 24th, 2009 |
| Replies: 7 Views: 466 Can you please elaborate a little bit more on what you're trying to do, exactly? We might be able to help if you clarify your question... |
Forum: C# Mar 24th, 2009 |
| Replies: 4 Views: 2,158 check this out, see if it provides any guidance:
http://blogs.msdn.com/codejunkie/archive/2008/09/13/bluetooth-device-control-development-using-c.aspx |
Forum: C# Mar 24th, 2009 |
| Replies: 2 Views: 611 There's any number of ways you can do this-- if you're not actually keeping track of users logged into the site, you can really only track things through IIS, like page hits per hour, etc, with some... |
Forum: C# Mar 24th, 2009 |
| Replies: 3 Views: 5,600 ...So what part are you having issues with? Do you not know how to use ADO.Net to read Excel, or write to a SQL server? We can't provide full-fledged code solutions like this-- it is fairly involved,... |
Forum: C# Mar 24th, 2009 |
| Replies: 1 Views: 532 can you provide a structure for the nodes? do you want embedded nodes or something?
There are a lot of different ways you could do this in LINQ to XML, especially if you return the XML elements... |
Forum: C# Mar 24th, 2009 |
| Replies: 3 Views: 2,110 It might not be ASCII-- are you certain of the codepage, or the encoding? |
Forum: C# Mar 24th, 2009 |
| Replies: 6 Views: 2,551 It really depends on how you want to do it. If you just wanted to get a list of a single directory's directories, you could populate a CheckedListBox and then only process the items in the... |
Forum: C# Mar 19th, 2009 |
| Replies: 1 Views: 953 Yes. If you write an application using .NET 3.5 libraries and functions, then the end user will have to install .NET 3.5 framework, in addition to the code you're deploying.
Fortunately, though,... |
Forum: C# Mar 19th, 2009 |
| Replies: 1 Views: 1,250 Can you provide a code example? It could be that you're changing the time at which the SQLTransaction runs. I think there's a timeout that's based on the local time that the transaction is... |
Forum: C# Mar 19th, 2009 |
| Replies: 2 Views: 1,279 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: 4 Views: 2,670 ...But that only handles ZIP files. RAR files will have to be done with something else, like this DLL:
http://www.example-code.com/csharp/rar_unrar.asp
This won't create RAR files, but it will... |
Forum: C# Mar 19th, 2009 |
| Replies: 9 Views: 4,121 What are you trying to load from? If you're trying to load the values from a database or an XML file, then you can use Databinding to bind the combobox to a data source, where you've added all of the... |
Forum: C# Mar 19th, 2009 |
| Replies: 3 Views: 1,943 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: 3 Views: 5,600 Can you please show what work you may have already undertaken on this particular project? The code you're asking for is not really that "easy" to show, and it is heavily dependant upon the format of... |
Forum: C# Mar 19th, 2009 |
| Replies: 1 Views: 488 You'll probably want to wrap it in an MSI package or something... You can't really install FROM an ASP.Net page like you're asking... |
Forum: C# Mar 19th, 2009 |
| Replies: 4 Views: 1,003 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: 1,955 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: 7 Views: 354 Can you set the purchaseUnits value artificially high and try stepping through it? This code genuinely looks like it should work just fine.
The only thing that I can think is that if you're using... |
Forum: C# Feb 12th, 2009 |
| Replies: 4 Views: 869 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,466 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# Dec 1st, 2008 |
| Replies: 1 Views: 809 Have you dropped a debugger on that event to try and look at the call stack to determine exactly how that's being fired? It sounds like the tabpage or the textbox is actually losing focus every time,... |