Hi Jimi,
Answers intermixed below:
>
>(1) Does VB support pageframe as in VFP? or I have to use buttons to hide and show independent frames?
>
Yeah, you want to use a TabStrip control. It's kind of hokey, I recommend the one from Sheridan Software.
>
>(2) How can I add objects into a frame? Just like using container in VFP?
>
Yup. Just make sure you have the tab highlighted when you place the control on it. Note than when referencing contained objects, there's no object calling hierarchy as in VFP, ie; no THIS.Parent.txtName.Value - you can just use txtName.Value from anywhere. VB enforces unique names for every object on a form.
>
>(3) Is it possible and how can I know what functions are available in an OCX? I'm studying a new device and dunno how to use the API come along with it :(
>
Yes, intellisense should pick these up for you in code. In a sub for the form that contains the control, just type the control name and then "." and wait. A popup menu with all of the available PEMs will be available.
HTH,