Author Topic: How to use the AXISMEDIACONTOL in a powerbasic program  (Read 2111 times)

0 Members and 1 Guest are viewing this topic.

Offline Douglas Martin

  • Newbie
  • *
  • Posts: 28
  • Gender: Male
    • ProfiTouch
How to use the AXISMEDIACONTOL in a powerbasic program
« on: July 15, 2012, 08:55:07 AM »
I am trying to use the AXISMEDIACONTOL in a PBWIN10 program.  I used the typelib browser to create the attached file to include in the program.

I have added the line

   LOCAL myAMC AS IAxisMediaControl

 to the code and the program still compiles, so I think I am on the right track.

How do I create the class and then how do I create the control?
Doug

Offline José Roca

  • Administrator
  • Hero Member
  • *****
  • Posts: 3155
  • Gender: Male
    • José Roca Software

Offline Gareth Kerr

  • Newbie
  • *
  • Posts: 2
Re: How to use the AXISMEDIACONTOL in a powerbasic program
« Reply #2 on: December 21, 2017, 04:07:59 AM »
I know it's a very old thread, but did  you get the AXISMEDIACONTROL working?
I'm struggling with exactly the same thing so wondered if there were any pointers.

The old links to the PBforums don't work since the new PB forums have been created, so I can't see the topic in the suggested link that Jose posted.

Thanks
Gareth Kerr


Offline Gareth Kerr

  • Newbie
  • *
  • Posts: 2
Re: How to use the AXISMEDIACONTOL in a powerbasic program
« Reply #4 on: December 22, 2017, 12:04:30 PM »
Thanks José - that did it.  CWindow is now working under PB/EZgui.
Superb job with the headers.
Gareth

Offline Douglas Martin

  • Newbie
  • *
  • Posts: 28
  • Gender: Male
    • ProfiTouch
Re: How to use the AXISMEDIACONTOL in a powerbasic program
« Reply #5 on: January 04, 2018, 11:38:27 PM »
I did get it working,  I can send you my code if you need it.

Doug