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

Search:

Type: Posts; User: robertrock

Search: Search took 0.05 seconds.

  1. Replies
    7
    Views
    7,343

    Re: Send data from one Win form to another

    I think the OP wanted to know how to pass data from form to form, not a OpenFileDialog.

    Here is a link with 4 methods:

    http://www.codeproject.com/KB/cs/pass_data_between_forms.aspx
  2. Replies
    8
    Views
    945

    Re: Format Exception

    k, now I see. :)

    Since the int is not nullable, there needs to be a value you can set to signify that no sort has been specified. Like zero or -1 or 999 or some integer and trap it in the catch:
    ...
  3. Replies
    8
    Views
    945

    Re: Format Exception

    Strange, mine compiles and runs.

    I put a number in the tb and get a msg for the value.
  4. Replies
    8
    Views
    945

    Re: Format Exception

    VS 2008

    Just guessing here, but have you tried:

    Here is my class:


    using System;
    using System.Collections.Generic;
    using System.Linq;
  5. Replies
    2
    Views
    1,520

    Re: c# Print Preview help

    Try this, it worked for me.

    Put the image file in the dir with the exe of your project(debug or release) or adjust the path to it.

    good luck.



    using System;
    using...
Results 1 to 5 of 5





Click Here to Expand Forum to Full Width

Featured