Search:
Type: Posts; User: RaleTheBlade
Search:
Search took 0.03 seconds.
-
January 18th, 2012, 11:59 AM
When using trusted connection, I believe that implies Windows Authentication will be used. Is there an account on the SQL server with the same credentials as the local account you're logged in as and...
-
January 18th, 2012, 11:53 AM
I checked the WebRequest.Create() method with that URI on my on machine and it worked fine... weird! That 'The handle is invalid' message seems kind of strange. Have you inspected the InnerException...
-
January 9th, 2012, 11:55 AM
I will definitely check it out. I have plenty of coding books, have read Code Complete 2, and have a book outlining common programming techniques using the Windows API and C++, but I don't have any...
-
January 9th, 2012, 11:51 AM
I believe you need to create a new HttpWebRequest object for each request. You can't recycle an existing one. Try:
static void Main(string[] args)
{
string...
-
January 5th, 2012, 03:41 PM
Thanks, I will relay what I've found to them. If they don't like what I can come up with, then they will either have to deal with it or change their tune. I can't make bread from nails, haha.
-
January 5th, 2012, 12:51 PM
Well currently we're using the free version of FogBugz which has support for 2 users. If we want to have more than 2 users, we will need to purchase a subscription. We don't have a problem paying for...
-
January 5th, 2012, 10:51 AM
Thanks! We currently use Yahoo! messenger for our live chat functionality, so it was just a feature that we thought would have been nice to have baked in. But it's not necessary. We use FogBugz for...
-
January 4th, 2012, 01:53 PM
http://msdn.microsoft.com/en-us/library/system.drawing.bitmap.aspx
I would try using one of the constructors which allows you to specify the pixel format. Also, set some break points in that...
-
January 4th, 2012, 01:01 PM
The only thing I can think of is that the MemoryStream argument you're supplying to Image.FromStream() is invalid for some reason. Since the MemoryStream constructor executes successfully, then I...
-
January 4th, 2012, 12:53 PM
Use a while loop and evaluate each input :)
bool exit = false;
while (!exit)
{
string optionStr;
int option;
-
January 4th, 2012, 12:26 PM
Easy enough. You see where Directory.GetFiles() is called? You can specify the filter there. I used the filter "*.*" to get all files. But you could prompt the user for a filter by altering the code...
-
January 4th, 2012, 12:22 PM
So if I understand correctly, you're having trouble converting a byte[] to an Image, right? I think that would isolate the problem to the ByteArrayToImage() method. Maybe it's an encoding issue? Or...
-
January 4th, 2012, 12:13 PM
Can you handle the back button click event and check whether the current page loaded is Page A or Page B? Or maybe the page to be loaded is Page A?
-
January 4th, 2012, 12:11 PM
No problem. Little exercises like this help refresh me on concepts I haven't used in awhile, haha.
-
January 4th, 2012, 11:33 AM
using System;
using System.IO;
namespace TestConsole
{
public class Program
{
public static void Main(string[] args)
{
long fileCount = 0;
-
January 4th, 2012, 11:13 AM
This is a reference to the SerialPort class on the MSDN:
http://msdn.microsoft.com/en-us/library/system.io.ports.serialport.aspx
And here is a tutorial for reading data using serial ports in...
-
January 3rd, 2012, 06:02 PM
Use [CODE] tags :) It makes the code so much more readable. I notice that in your Form.Load event handler you're using Receive_Buffer without initializing it first. You probably want to initialize...
-
January 3rd, 2012, 05:38 PM
You seem to be assigning Environment.Newline to the rich text box control right after you assign the line to it:
richTextEditor.text = line;
richTextEditor.text = System.Environment.NewLine; ...
-
January 3rd, 2012, 05:27 PM
I agree with Hannes, get a book on general OOP practices. Most books will teach you language independent OOP concepts that apply to VB, C++, C#, Java, etc... Because once you understand the general...
-
January 3rd, 2012, 03:08 PM
You're on the right track, Jim :) Using a single loop control variable like 'finished' is good programming practice. I applied the same principle to the nested loops contained within the case...
-
January 2nd, 2012, 04:25 PM
So we've recently formed a team of 4 people at my company and we're looking for some software we can use to collaborate with each other. The software needs to allow us to upload/download files, post...
-
January 2nd, 2012, 04:19 PM
You would need a program that can intercept keystrokes and look for the CTRL+J combination. I'm not sure how, but if you could develop a program that would hook all keystrokes sent to Windows and...
-
January 2nd, 2012, 04:10 PM
Not everything in WPF will translate directly to Silverlight (like the synchronous Socket class methods, ugh.) What does the namespace "x" translate to? There should be an "xmlns:x=http://<...>" at...
-
March 10th, 2011, 12:47 PM
Wow, you're going to end up with some pretty massive integers. Really, it looks like your threads are completing concurrently because of the calls to Join(), but you may be having problems in...
-
March 10th, 2011, 12:10 PM
Ehhh... not quite. Just adding a set accessor to the Grade property isn't going to solve your problem :) You still need to determine the grade letter using the average you get from a call to...
|
Click Here to Expand Forum to Full Width
|