Results 1 to 4 of 4

Thread: How to write code for Controls placed in Multipage Control (Forms 2.0)

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2003
    Location
    VN
    Posts
    2

    How to write code for Controls placed in Multipage Control (Forms 2.0)

    I am using Multipage control (Microsoft Forms 2.0). I tried placing some CommandButton on the pages and it is OK but I couldn't write code for these buttons.

    Anyone knows how to do this?

    Thanks for your help.

  2. #2
    Fanatic Member Armbruster's Avatar
    Join Date
    Sep 2002
    Location
    Maryland Heights, MO
    Posts
    857
    Are you trying to use in VB6 or MS Office? The Forms 2.0 controls were designed for Microsoft Office and some of the methods do not behavior correctly outside of office.
    "Look! Up in the sky! It's a bird! It's a plane! It's Diaper-Head Boy! (there by my name!) Yes, Diaper-Head Boy, who disguised as my son, Seth, fights a never-ending battle for truth, justice and terrorizing my house!

    Resistance is futile, you will be compiled . . . Please!

  3. #3

    Thread Starter
    New Member
    Join Date
    Jun 2003
    Location
    VN
    Posts
    2
    Originally posted by Armbruster
    Are you trying to use in VB6 or MS Office? The Forms 2.0 controls were designed for Microsoft Office and some of the methods do not behavior correctly outside of office.
    I'm using VB6.0

    I want to use the multipage control in my program. I can place some control such as textbox, commandbutton,... on the multipage control but I couldn't write the code for their events.

    Do you know how to do this?

    Thanks.

  4. #4
    Fanatic Member Armbruster's Avatar
    Join Date
    Sep 2002
    Location
    Maryland Heights, MO
    Posts
    857
    I tried the control in Excel and it worked fine. I was not able to get the control to work at all in VB6.

    MSDN warns that some features do not work outside of office for the forms 2.0 collections (and you can't distribute the fm20.dll either)
    "Look! Up in the sky! It's a bird! It's a plane! It's Diaper-Head Boy! (there by my name!) Yes, Diaper-Head Boy, who disguised as my son, Seth, fights a never-ending battle for truth, justice and terrorizing my house!

    Resistance is futile, you will be compiled . . . Please!

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