vb6 - How to hide the object of the OLE controler? -


i'm working ole object using vb6. use play sound when condition true. ole class mplayer. problem don't want player visible. know can set visible property of ole control false, thats hides conrtrol itself, not mplayer itself. i've tried following:

    if         ' starts music.         oleplayer.action = 7         ' here, line should use hide mplayer itself?         ' oleplayer.visible = false - hides controler, , not class.         ' there no visible property class.     else         ' stops music.         olealarmsound.action = 9     end if 

i've looked everywhere, since there minor support vb6 in general, , vb6 ole in particular, i've found nothing.

use

screen.width screen.height object.top object.left 

to move object out of screen area


Comments

Popular posts from this blog

jquery - How do you format the date used in the popover widget title of FullCalendar? -

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -