VideoHelp Forum




+ Reply to Thread
Results 1 to 4 of 4
  1. Member
    Join Date
    Mar 2007
    Location
    Nepal
    Search Comp PM
    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
    Quote Quote  
  2. Member
    Join Date
    Mar 2007
    Location
    Nepal
    Search Comp PM
    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?
    Quote Quote  
  3. Renegade gll99's Avatar
    Join Date
    May 2002
    Location
    Canadian Tundra
    Search Comp PM
    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 saying
    When I tried and added 'Fast Forward' option in my code
    no-one has any idea what you coded. After all if this really is where the error exists, it's only one line of obvious code that goes something like this:

    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.
    Quote Quote  
  4. Member
    Join Date
    Mar 2007
    Location
    Nepal
    Search Comp PM
    It doesn't let me to debug or trap error. VB terminates itself.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!