Results 1 to 2 of 2

Thread: How to convert BitBlt for VB.Net

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2004
    Posts
    9

    How to convert BitBlt for VB.Net

    Hi All,

    I am new to Vb.Net. While I was trying to convert a project from VB6 to VB.net, I encountered an issue.

    below is the statement in my VB6 project

    with myForm

    BitBlt .hDC, .ScaleX(MaxLen, vbTwips, vbPixels), .ScaleY(ChangeLen, vbTwips, vbPixels), .ScaleX(.Width, vbTwips, vbPixels), .ScaleY(.Height - ChangeLen, vbTwips, vbPixels), .hDC, 0, 0, cBITBLT_PATCOPY

    endwith

    Could somebody help me to convert this to VB.Net

    Thanks
    Smitha.

  2. #2
    Hyperactive Member CyberHawke's Avatar
    Join Date
    May 2004
    Location
    Washington DC
    Posts
    477
    You know, the forums are not only a good place to post your questions, it's a great place to search for someone elses question and the solutions provided, they might meet your needs.

    About your question, try checking this thread:
    BitBlt vs VB.NET Graphics
    Whadayamean it doesn't work....
    It works fine on my machine!

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