| Версия для печати темы
Нажмите сюда для просмотра этой темы в оригинальном формате |
| Форум программистов > VB6 > КАК РАБОТАТЬ С КОМПОНЕНТОМ ??????? |
| Автор: BrAgOl 9.3.2005, 13:12 |
| У меня небльшая проблема надеюсь кто - нибудь мне поможет. Пишу програму на VB6 и в ней должно пригрываться видео (формат не важен .avi.mpeg4.divx...........) Нашел компонент Windows Media Player можно расположить прямо на форме. НЕ ЗНАЮ КАК С НИМ РАБОТАТЬ ПОМОГИТЕ!!!!!!!!! |
| Автор: Akina 9.3.2005, 13:32 | ||||
| Examples (Multimedia MCI Control) The Multimedia MCI control manages the recording and playback of multimedia files on Media Control Interface (MCI) devices. Conceptually, this control is a set of push buttons that issues MCI commands to devices such as audio boards, MIDI sequencers, CD-ROM drives, audio CD players, videodisc players, and videotape recorders and players. The MCI control also supports the playback of Video for Windows (*.avi) files. Visual Basic Example The following example illustrates the procedure used to open an MCI device with a compatible data file. By placing this code in the Form_Load procedure, your application can use the Multimedia MCI control "as is" to play, record, and rewind the file Gong.wav. To try this example, first create a form with a Multimedia MCI control.
To properly manage multimedia resources, you should close those MCI devices that are open before exiting your application. You can place the following statement in the Form_Unload procedure to close an open MCI device before exiting from the form containing the Multimedia MCI control.
Хелпы - великая вещь... |
| Автор: Guest 9.3.2005, 13:54 |
| Мне не этот компонент нужен, а Windows Media Player |
| Автор: Akina 9.3.2005, 13:57 |
| А это OLE-компонент, с ним и работай как с OLE... |
| Автор: BrAgOl 9.3.2005, 14:13 |
| Мне нужно сделать так, что при запуске моей програмы в компоненте был бы заложен определенный видео файл можешь рассказать по подробней как это сделать Добавлено @ 14:18 Все спасибо я понял ВСЕ ДЕЛО В СВОЙСТВЕ URL!!!!!!!!!!! |