digidigi Posted December 29, 2007 Posted December 29, 2007 Hi I try to execute this scrip as an external application, But I can't execute "ApplyConfig" set DVBViewer = getobject(,"DVBViewerServer.DVBViewer") DVBViewer.sendcommand "16383" ' Stop graph DVBViewer.SetSetUpValue "MPEG", "H264codec", "CyberLink H.264/AVC Decoder (PDVD7.x)" DVBViewer.ApplyConfig() 'This line is somewhat ignored.. If I restart DVBViewer, the changes is loaded. so it must work until the last line... Any suggestions? Please? /Digi Quote
digidigi Posted December 29, 2007 Author Posted December 29, 2007 To answer my self, This is how I "Workaround" for now Dim ChannelNum set DVBViewer = getobject(,"DVBViewerServer.DVBViewer") ChannelNum = DVBViewer.CurrentChannelNr DVBViewer.sendcommand "16383" 'look in your Actions.ini DVBViewer.SetSetUpValue "MPEG", "H264codec", "CyberLink H.264/AVC Decoder (PDVD7.x)" DVBViewer.ApplyConfig() DVBViewer.Quit Set DVBViewer = Nothing dim objShell set objShell = CreateObject("Shell.Application") objShell.ShellExecute "C:\DVBViewer\DVBViewer.exe", "-c" & ChannelNum, "", "", 1 set objShell = nothing Quote
olixelle Posted January 10, 2008 Posted January 10, 2008 Hello, i have the same problem: I try to hide every item around the tv screen (toolbar, window bar ..): Me.MyManager.SetSetupValue("General", "HideMenu", "1")Me.MyManager.SetSetupValue("General", "Statusbar", "0") Me.MyManager.SetSetupValue("General", "Toolbar", "0") Me.MyManager.ApplyConfig() Changes are applied in the setup file but when DVBViewer closes, old values are restored. So is there another way to hide those items ? thanks ! Quote
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.