CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: RaleTheBlade

Page 1 of 24 1 2 3 4

Search: Search took 0.08 seconds.

  1. Replies
    3
    Views
    1,253

    Re: Login failed for user ...

    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...
  2. Replies
    4
    Views
    1,150

    Re: Annoying FTP exception

    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...
  3. Replies
    7
    Views
    1,719

    Re: Book to learn C# classes?

    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...
  4. Replies
    3
    Views
    2,750

    Re: HttpWebRequest/Response Exception

    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...
  5. Replies
    6
    Views
    2,325

    Re: Looking for Collaboration Software

    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.
  6. Replies
    6
    Views
    2,325

    Re: Looking for Collaboration Software

    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...
  7. Replies
    6
    Views
    2,325

    Re: Looking for Collaboration Software

    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...
  8. Re: [HELP] Double Values in array between 0-255 Displayed as Image on a form

    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...
  9. Re: [HELP] Double Values in array between 0-255 Displayed as Image on a form

    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...
  10. Thread: help pls

    by RaleTheBlade
    Replies
    11
    Views
    1,373

    Re: help pls

    Use a while loop and evaluate each input :)



    bool exit = false;

    while (!exit)
    {
    string optionStr;
    int option;
  11. Thread: help pls

    by RaleTheBlade
    Replies
    11
    Views
    1,373

    Re: help pls

    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...
  12. Re: [HELP] Double Values in array between 0-255 Displayed as Image on a form

    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...
  13. Re: need back button listener method

    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?
  14. Thread: help pls

    by RaleTheBlade
    Replies
    11
    Views
    1,373

    Re: help pls

    No problem. Little exercises like this help refresh me on concepts I haven't used in awhile, haha.
  15. Thread: help pls

    by RaleTheBlade
    Replies
    11
    Views
    1,373

    Re: help pls

    using System;
    using System.IO;

    namespace TestConsole
    {
    public class Program
    {
    public static void Main(string[] args)
    {
    long fileCount = 0;
  16. Replies
    3
    Views
    3,200

    Re: Read from rs232??

    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...
  17. Replies
    3
    Views
    3,200

    Re: Read from rs232??

    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...
  18. Replies
    1
    Views
    666

    Re: validation

    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; ...
  19. Replies
    7
    Views
    1,719

    Re: Book to learn C# classes?

    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...
  20. Re: Having trouble building this converter without using goto

    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...
  21. Replies
    6
    Views
    2,325

    Looking for Collaboration Software

    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...
  22. Replies
    2
    Views
    1,131

    Re: Keyboard Short cuts to open a program?

    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...
  23. Replies
    1
    Views
    1,748

    Re: Help me Convert this WPF to Silverlight

    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...
  24. Replies
    2
    Views
    672

    Re: Threads not entirely Concurrent...

    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...
  25. Replies
    4
    Views
    897

    Re: Please help very basic :)

    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...
Results 1 to 25 of 584
Page 1 of 24 1 2 3 4





Click Here to Expand Forum to Full Width

Featured