Results 1 to 3 of 3

Thread: Can I use VB6 User Controls in TwinBasic?

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2011
    Location
    Palm Coast, FL
    Posts
    663

    Can I use VB6 User Controls in TwinBasic?

    I downloaded and played around with TwinBasic today. It's come quite a long way since the early days when I first looked at it! Seems like I might be able to port over much of my existing VB6 code potentially.

    I do make use of several user controls in VB6 however - both my own and third party ones. Can I use those in TwinBasic? I found no way to easily import a CTL file and have the control appear in the Toolbox. I see that I can make Custom Controls in TwinBasic but that's not what I'm asking about - I want to import existing user controls that are already in use in my programs.
    Last edited by AAraya; Apr 4th, 2024 at 09:40 AM.

  2. #2
    PowerPoster
    Join Date
    Jul 2010
    Location
    NYC
    Posts
    6,833

    Re: Can I use VB6 User Controls in TwinBasic?

    Yes you can use them. Both .ctl and .ocx.

    Right now to import them you need to import a VBP project file that contains it (any program using it, or the VBP you use for compiling to ocx-- Forms are not strictly needed).

    Other than the very limited way to get them in right now, support is pretty good. Both my ucShellBrowse/ucShellTree control, and Krool's VBCCR/VBFlexGrid controls, are large, complex controls, and they all work in tB, both as .ctls (it will be autoconverted into a .tbcontrol/.twin file) and we can compile them as OCX. There's a few missing features (UC property pages can't be used just yet for .ctls) and lingering bugs, but most UCs should work fine at this point.

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2011
    Location
    Palm Coast, FL
    Posts
    663

    Re: Can I use VB6 User Controls in TwinBasic?

    That's great news! Thanks fafalone.

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