CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2012
    Posts
    1

    Question how to change VB6 to Visual studio 2010 VB

    Private Sub Form_Load()
    '
    Picture1.autoredraw = True
    Picture1.BackColor = vbWhite
    'Picture1.Move _
    '100, 100, Me.ScaleWidth - 200, Me.ScaleHeight - 200
    Call DrawGraph()
    End Sub


    how to change that auto redraw in visual studio since there have an error???

  2. #2
    Join Date
    Jun 2005
    Location
    JHB South Africa
    Posts
    3,772

    Re: how to change VB6 to Visual studio 2010 VB

    Picturebox's and drawing methods have changed alot from VB6 to .NET ... I think you should read this Article and download the attached projects to see how to work with Images in VB.NET..
    Articles VB6 : Break the 2G limit - Animation 1, 2 VB.NET : 2005/8 : Moving Images , Animation 1 , 2 , 3 , User Controls
    WPF Articles : 3D Animation 1 , 2 , 3
    Code snips: VB6 Hex Edit, IP Chat, Copy Prot., Crop, Zoom : .NET IP Chat (V4), Adv. ContextMenus, click Hotspot, Scroll Controls
    Find me in ASP.NET., VB6., VB.NET , Writing Articles, My Genealogy, Forum
    All VS.NET: posts refer to VS.NET 2008 (Pro) unless otherwise stated.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured