Results 1 to 40 of 40

Thread: Load image into STATIC control Win32

Threaded View

  1. #38

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2013
    Posts
    658

    Re: Load image into STATIC control Win32

    Quote Originally Posted by DaveDavis View Post
    I am trying to convert to vb6, but I got "out of memory". I thought I could do wrongly.

    Code:
     Set AddNewControl = Container.Controls.Add("Forms.Image.1")
    That code will only work in vba and requires the native msforms library that is integrated in office applications.

    Why do you need to convert this from vba to vb6 when vb6 and its forms library are far richer than vba and offer the programmer plenty more tools than vba for achieving the same thing.

    You should be able to find vb6 code examples if you look google around- For example, have you seen this thread here from fellow member dilettante?
    Last edited by JAAFAR; Oct 9th, 2020 at 11:28 PM.

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