How to Use ACTIVEX

Post Reply
User avatar
max
Posts: 122
Joined: Fri Jun 30, 2006 2:14 pm
Location: Ancona - Italy

How to Use ACTIVEX

Post by max »

In Visual Basic (exactly inside macro of Excel 2007) i use this call to a control ACTIVEX of one procedure written in Acucobol, and as macro of Excel it works fine:

Code: Select all

Sub loadcobol() 
  euro09 = "C:\092p6x4demo\euro09" 
  euro09cfg = "C:\092p6x4demo\etc\cblcon34.sml" 
  euro09ocx = euro09 & "\p\z9ocx" 
  euro09az = euro09 & "\demop5" 
  UTENTE = "MICHELE" 

  Set cobolapp = New AcuGT 
  cobolapp.Initialize ("-c " & euro09cfg) 
  
  z9passwd = " " 
  cobolapp.Call euro09ocx, "AUT", UTENTE, z9passwd, euro09az 
End Sub 


How can i traduce this rows in FWH? "AcuGT" is the name of my activex, and as you can see it has some method like Acugt.Initialize , Acugt.Call etc.etc.
I see the examples source code in \fwh\samples, but i don't understand how can i use this my (and other) activex...
Another question: i'd like to know if exist an utility to know what are the control Activex installed and usable in a Windows XP pc.
Thank you.
Post Reply