Greetings all,
I have a bizarre behavior from VB 6.0 and an OCX control, let me explain:
I have an OCX control that is basically a modified version of the Microsoft Media Player, allows me to play voice and video files, etc. This particular OCX works fine in VB.NET and all properties and methods do as well. There is one particular sub that read like this:
LoadVoiceFile(path as string, file as string, time as double)
doesn't return anything, it justs load the voice file into the control, so you can play it later.
Well, VB 6.0 for some reason believes that this particular sub has to pass something back, even though, when I go into the object browser (VB6.0 and VB.NET), the sub is clearly not defined as such.
I even tried to assign a variable (using diferent data types) being the recipient of the sub, but I receive a "data type mismatch" (of course).
Again, this same sub, works perfect in VB.NET, .NET doesn't complain about any parameter back or anything.
Any ideas???
Thanks in advance.
G
I have a bizarre behavior from VB 6.0 and an OCX control, let me explain:
I have an OCX control that is basically a modified version of the Microsoft Media Player, allows me to play voice and video files, etc. This particular OCX works fine in VB.NET and all properties and methods do as well. There is one particular sub that read like this:
LoadVoiceFile(path as string, file as string, time as double)
doesn't return anything, it justs load the voice file into the control, so you can play it later.
Well, VB 6.0 for some reason believes that this particular sub has to pass something back, even though, when I go into the object browser (VB6.0 and VB.NET), the sub is clearly not defined as such.
I even tried to assign a variable (using diferent data types) being the recipient of the sub, but I receive a "data type mismatch" (of course).
Again, this same sub, works perfect in VB.NET, .NET doesn't complain about any parameter back or anything.
Any ideas???
Thanks in advance.
G