Activex and adtarget options in vb6
Posted: 16 Oct 2005 22:20
Hi,
I'm using the activex in vb6 and I'm trying to pass a couple options throught the adtarger's options argument, but I noticed that I can pass only the first one.
Is this how it should work or it's a bug?
here is an example of what I tried.
Dim options() As Variant
options() = Array(":snapshot-path=c:\snapshots",":input-repeat=1")
VLCPlugin1.addTarget "c:\myvideos\video.mpg", options, VLCPlayListAppendAndGo, -666
and the snapshot-path was set correctly, then I tried this:
Dim options() As Variant
options() = Array(":input-repeat=1",":snapshot-path=c:\snapshots")
VLCPlugin1.addTarget "c:\myvideos\video.mpg", options, VLCPlayListAppendAndGo, -666
and the snapshots-path did not get set.
This is just an example, I tried with other options and same thing happened only the first option was set.
Am I passing the options wrong, is this how it should work or it's a bug?
I'm using nightly build 20051015.
Thank you.
I'm using the activex in vb6 and I'm trying to pass a couple options throught the adtarger's options argument, but I noticed that I can pass only the first one.
Is this how it should work or it's a bug?
here is an example of what I tried.
Dim options() As Variant
options() = Array(":snapshot-path=c:\snapshots",":input-repeat=1")
VLCPlugin1.addTarget "c:\myvideos\video.mpg", options, VLCPlayListAppendAndGo, -666
and the snapshot-path was set correctly, then I tried this:
Dim options() As Variant
options() = Array(":input-repeat=1",":snapshot-path=c:\snapshots")
VLCPlugin1.addTarget "c:\myvideos\video.mpg", options, VLCPlayListAppendAndGo, -666
and the snapshots-path did not get set.
This is just an example, I tried with other options and same thing happened only the first option was set.
Am I passing the options wrong, is this how it should work or it's a bug?
I'm using nightly build 20051015.
Thank you.