User Profile

Collapse

Profile Sidebar

Collapse
dab
dab
Last Activity: Nov 8 '06, 07:24 AM
Joined: Aug 3 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • dab
    replied to how to open an open dialogbox using c#.net
    in .NET
    I use VB.NET also, but I know a tad C#, so, here goes:



    Code:
            private void Form1_Load(object sender, EventArgs e)
            {
                openFileDialog1.Filter = "Text Files .txt|*.txt";
                openFileDialog1.ShowDialog();
    
    
                if (openFileDialog1.FileName != "");
                {
                    textBox1.Text = openFileDialog1.FileName;
    ...
    See more | Go to post

    Leave a comment:


  • dab
    replied to how to draw.....
    in .NET
    I'm not sure if this will help, but resizing the window, usually clears the drawings on the image.

    Try the code:

    Code:
            Dim g As Graphics
            g = PictureBox1.CreateGraphics
            g.DrawRectangle(Pens.Black, 15, 15, 5, 5)
    See more | Go to post
    Last edited by dab; Aug 3 '06, 03:09 AM. Reason: Fixed Code

    Leave a comment:


  • dab
    started a topic VB .net Associate file with Program
    in .NET

    VB .net Associate file with Program

    I want to make a file associate with my program I just created. I'd like text files to open up my app instead but I don't know where to begin. I found a C# example, but am having a hard time converting.

    The File With The Example
    Above is the C# file. I would like it in VB(.net) if anyone wouldn't mind. Or if some one can help me find a tutorial online. (I'm still searching).

    Thanks Everyone. I appreciate it....
    See more | Go to post
No activity results to display
Show More
Working...