JackMcRip Posted January 17, 2009 Share Posted January 17, 2009 (edited) Hi, great: the connection to COM :-) I have made a connection from my Visual Basic 6 program to DVBViewer : Dim DVB_Viewer As IDVBViewer Dim DVB_osd As IDVBOSD Private Sub Command1_Click() DVB_Viewer.Stop End Sub Private Sub Form_Load() Set DVB_Viewer = GetObject(, "DVBViewerServer.DVBViewer") Set DVB_osd = DVB_Viewer.OSD DVB_osd.ShowInfoinTVPic "VB6 ist angemeldet", 3000 End Sub Private Sub Timer1_Timer() Label1.Caption = DVB_osd.IsPlaying End Sub This can stop a played file. At start the program it shown a hint in the DVBViewer, that vb6 is connected to DVBViewer. And with a timer always ask and shown in the Label, the file is playing or not. (this script is for surching people) How can I change/set the position of the playing file ? Can I jump to a define time in the timeline ? Edited January 17, 2009 by JackMcRip Quote Link to comment
JackMcRip Posted January 17, 2009 Author Share Posted January 17, 2009 Now I am found the DVB-Spy. Great to see what values all I can read :-) Label1.Caption = DVB_Viewer.propGetValue("#currentplaytime") This show me the current play time position in the vb app. But how can I set it ? DVB_Viewer.propSetValue ("#TV.Timeshift.position", "00:00:05") Not Work ! :-( Any Idea ? Quote Link to comment
JackMcRip Posted January 28, 2009 Author Share Posted January 28, 2009 No Idea ? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.