Loading a file with ActiveX control.
Posted: 09 Jan 2006 01:34
Tried with both VB6 (98) and VB2005, error occurs on the equivilant line in both. The line is:
VLCP.addTarget(dialogOpen.FileName, opts, AXVLC.VLCPlaylistMode.VLCPlayListReplaceAndGo, n)
where n is [written directly in] 0 or -666 [as in the webpage sample]
and opts = "input-repeat=0" or ":input-repeat 0" (i have tried all combinations of n and opts listed herein).
The error in VB2005 is: "ArgumentException was unhandled": "Value does not fall within the expected range."
VB6/98 just gives "Run-time error '5':" - "Invalid procedure call or argument"
If this is how to load a file, does anyone know why I am receiving an error?
If this is not: does anyone know how to get the activex control to load a file?
VLCP.addTarget(dialogOpen.FileName, opts, AXVLC.VLCPlaylistMode.VLCPlayListReplaceAndGo, n)
where n is [written directly in] 0 or -666 [as in the webpage sample]
and opts = "input-repeat=0" or ":input-repeat 0" (i have tried all combinations of n and opts listed herein).
The error in VB2005 is: "ArgumentException was unhandled": "Value does not fall within the expected range."
VB6/98 just gives "Run-time error '5':" - "Invalid procedure call or argument"
If this is how to load a file, does anyone know why I am receiving an error?
If this is not: does anyone know how to get the activex control to load a file?