Hi all,
I am working on this DVD player named 'Play DVD'. It's written in VB 6.0 using MSWEBDVD. I just finished adding 'Progress Bar' in it after several hours of coding and debugging in the future version of Play DVD. I have one problem though. When I tried and added 'Fast Forward' option in my code and after executing it, I get error like "This program has done illegal operation" or such. I use Window XP by the way.
Here's the website link for Play DVD: http://www.freewebs.com/play-dvd-site
+ Reply to Thread
Results 1 to 4 of 4
-
-
I guess know one has any idea what that error is all about?
Ok here's another question. Does anyone know how I can change 'Contrast' and 'Brightness' in MSWEBDVD? -
The plug-in works ok with xp.
When you loaded the source and ran it and the error occured did you choose debug to see which line of code is causing the error.
I'm sure you already know, the actual code to fast-forward is very simple but if the error really points to that line then one possibility is that the speed integer is wrongly defined.
When you encounter a problem it's best that you post the suspect code. It makes it much easier than just sayingWhen I tried and added 'Fast Forward' option in my code
ctlwebDVD.PlayForwards(intHowFastSpeed)
Where "intHowFatSpeed" can only be a single digit and must be defined as an integer. On the other hand the debug might point to the code where you update your progress bar where you overflowed but we can't know that unless you post something more definitive.
Does the error occur when no DVD is loaded. Does the error occur anywhere in the DVD while it is playing or just at startup. You will have to add some error trapping to deal with real life situations where you may be prevented from fast forwarding by the DVD or other unexpected events. I don't use the plugin currently so can't remember if it handles those for you, just ignores the keypress or returns an error that you need to handle.
Hope this helps.
Similar Threads
-
Help. What program to use to make avi files play on dvd player?
By xxxThiefxxx in forum Newbie / General discussionsReplies: 13Last Post: 30th Mar 2010, 17:09 -
MKV to AVI program, hardsubbing program, adding subtitle to DVD Flick
By projecttemp in forum Video ConversionReplies: 1Last Post: 21st Sep 2009, 08:42 -
looking for program to play audio tracks from MKV
By funky777 in forum Newbie / General discussionsReplies: 1Last Post: 5th Mar 2009, 21:41 -
What program will ensure a DVD will play all the way through?
By kozara in forum Newbie / General discussionsReplies: 3Last Post: 9th Oct 2007, 14:33 -
What is the best program to play videos on my PC?
By bc633 in forum Newbie / General discussionsReplies: 4Last Post: 19th Aug 2007, 14:09