from VB6 to FWH
from VB6 to FWH
Hi Everybody:
Can You Help Me to transalate this code from VB6 to FWH
Public Type MyType
var as Variant //Wich is the FWH Type fro variant
a() as Byte //what does this mean ?
End Type
Public uType as MyType
ReDim uType.a(20) As Byte
Thanks in advance
Fco Gamboa
Can You Help Me to transalate this code from VB6 to FWH
Public Type MyType
var as Variant //Wich is the FWH Type fro variant
a() as Byte //what does this mean ?
End Type
Public uType as MyType
ReDim uType.a(20) As Byte
Thanks in advance
Fco Gamboa
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: from VB6 to FWH
Array of Bytes.FGamboa wrote:a() as Byte //what does this mean ?
EMG
Hi Antonio & Enrico:
Thank You, por Your Answers.
I'm trying to use Fingerprint ActiveX control, I need to get the image and other information from it (like resolution, etc), and I face this types of data.
I'm still making some test, now.
BTW this is a Non Visual Control, and I haven't see an example of that. And I can't create ActiveX():New() in a Dialog without a Control with 101 as ID.
Do you have and example with this features.
My Dialog shows and image that only should be in design time (VB)
Regards
Fco Gamboa
Thank You, por Your Answers.
I'm trying to use Fingerprint ActiveX control, I need to get the image and other information from it (like resolution, etc), and I face this types of data.
I'm still making some test, now.
BTW this is a Non Visual Control, and I haven't see an example of that. And I can't create ActiveX():New() in a Dialog without a Control with 101 as ID.
Do you have and example with this features.
My Dialog shows and image that only should be in design time (VB)
Regards
Fco Gamboa
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Antonio:
CreateOleObject() Doesn't have bOnEvent method. Do You have an Example ?
I'm putting a fake control to use activex:new() but I have toubles:
Params from events doesn't match the documentation order, they are moved for 1 or 5 positions to the rigth, and the first parameters are all NILs.
when the parameter is Numeric I recive it good, but ithe image parameter is NIL.
How can I call a ActiveX:Do() Method with By reference parameters ?
Thank You and Regards
Fco Gamboa
CreateOleObject() Doesn't have bOnEvent method. Do You have an Example ?
I'm putting a fake control to use activex:new() but I have toubles:
Params from events doesn't match the documentation order, they are moved for 1 or 5 positions to the rigth, and the first parameters are all NILs.
when the parameter is Numeric I recive it good, but ithe image parameter is NIL.
How can I call a ActiveX:Do() Method with By reference parameters ?
Thank You and Regards
Fco Gamboa
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Antonio:
This is the web link:
http://www.griaule.com/public_download/ ... taller.exe
I'm just trying to emulate the VB6 ActiveX Sample.
(How can I attach files in this newsgroup format?)
Regards
Fco Gamboa
This is the web link:
http://www.griaule.com/public_download/ ... taller.exe
I'm just trying to emulate the VB6 ActiveX Sample.
(How can I attach files in this newsgroup format?)
Regards
Fco Gamboa
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Fco,
> (How can I attach files in this newsgroup format?)
You may upload the files to www.hyperupload.com and then copy here the link they provide you.
> (How can I attach files in this newsgroup format?)
You may upload the files to www.hyperupload.com and then copy here the link they provide you.
The sample in this thread
Antonio:
this is the link
http://hyperupload.com/download/01d1f85 ... A.ZIP.html
I hope this can help, Please consider It's not a really reduced sample, but take a look at the aParams Array (line 90) where are shifted and doesn't work as expected.
In the Ocx docs exist a lot af ocx:methods with by Reference parameters, especially:
Extract( byRef rawImage as Variant, ...)
and I haven't a known way to call a Method with byReference parameters
uRet = ActXInvoke( ActXPdisp( ::hActiveX ), cMethodName, uParam1,... )
Doesn't do the job for me at this moment.
I will thank any answer.
Regards
Fco Gamboa
PD.- I've put erroneosly this message in a new thread
this is the link
http://hyperupload.com/download/01d1f85 ... A.ZIP.html
I hope this can help, Please consider It's not a really reduced sample, but take a look at the aParams Array (line 90) where are shifted and doesn't work as expected.
In the Ocx docs exist a lot af ocx:methods with by Reference parameters, especially:
Extract( byRef rawImage as Variant, ...)
and I haven't a known way to call a Method with byReference parameters
uRet = ActXInvoke( ActXPdisp( ::hActiveX ), cMethodName, uParam1,... )
Doesn't do the job for me at this moment.
I will thank any answer.
Regards
Fco Gamboa
PD.- I've put erroneosly this message in a new thread
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Using Xharbour
Hi Antonio:
I'm using xHarbour from fivetech site
regards
Fco Gamboa
I'm using xHarbour from fivetech site
regards
Fco Gamboa
ActiveX incomplete
Antonio:
Based in your silence, I Think is official, FWH ActiveX has unresolved troubles.
Too bad, the only reason that I upgraded to new FWH release was to take advange of this topic.
Regards
Fco Gamboa
Based in your silence, I Think is official, FWH ActiveX has unresolved troubles.
Too bad, the only reason that I upgraded to new FWH release was to take advange of this topic.
Regards
Fco Gamboa
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Fco,
We simply missed your msg. FWH ActiveX support is robust and works fine.
But we are not going to study and implement different ActiveX for our users. We hope that you understand that it is an issue out of the scope of our tech support service.
Based on our provided samples, is FWH users responsability to study the ActiveX docs/samples they want to use and learn how to manage them.
Regarding the use of reference parameters, we are going to develop a sample to show how to use them.
We simply missed your msg. FWH ActiveX support is robust and works fine.
But we are not going to study and implement different ActiveX for our users. We hope that you understand that it is an issue out of the scope of our tech support service.
Based on our provided samples, is FWH users responsability to study the ActiveX docs/samples they want to use and learn how to manage them.
Regarding the use of reference parameters, we are going to develop a sample to show how to use them.