Home » Developer & Programmer » Forms » ominikey reader
ominikey reader [message #338867] Wed, 06 August 2008 02:34 Go to next message
aseman_ziba
Messages: 2
Registered: August 2008
Location: iran
Junior Member
hi all
have a OCX that run correctly in Vbasic.NET and VBasic 6.0. I want to implement this OCX in Oracle Forms 10g .

How can developer my own OCX to Oracle Forms 10g import all methods?
i read OCX Calendar Control 9.0 but i dont know how can convert method in vb to oracle.
this program with vb is:

Private Sub Form_Load()
Set sm = New SmartRLWT.Acs38RLWT
End Sub

Private Sub Read_Click()
Dim flag As Boolean
If sm.SCConnect Then
flag = sm.SCReadBarNameh(ShBar, ShSBar, DofS, CO, Src, Dest, Drv1, Drv2, CodeM, Wt, Pr, Uid)
If flag Then
Me.ShomareBarNameh = ShBar
Me.ShomareserialeBarNameh = ShSBar
Me.DateOfSodoor = DofS
Me.Company = CO
Me.Source = Src
Me.Destination = Dest
Me.Driver1 = Drv1
Me.Driver2 = Drv2
Me.CodeMahmoole = CodeM
Me.Weight = Wt
Me.Price = Pr
Me.UserID = Uid
Else
MsgBox "error Read ..."
End If
Else
MsgBox "Error ..."
End If
sm.SCDisconnect
sm.SCRelease
End Sub

i know methodes is SCReadBarNameh and file dll is SmartRLWT.dll.
can you help me for in problem?

thanks
Re: ominikey reader [message #339618 is a reply to message #338867] Thu, 07 August 2008 23:42 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Forms 10g does not support OCX, you need to use a JavaBean.

David
Re: ominikey reader [message #383905 is a reply to message #338867] Sat, 31 January 2009 02:11 Go to previous messageGo to next message
ahmed_samir
Messages: 61
Registered: January 2009
Location: EGYPT
Member
dear sir .

but there is some thing .. this mean that forms 10g is suppot and this in the " property palette " that any item can be .. item type ( active x control )
Re: ominikey reader [message #384233 is a reply to message #383905] Tue, 03 February 2009 00:05 Go to previous message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
"Oracle Application Server Forms 10g, August 2004" at http://www.oracle.com/wocportal/page/wocprod/ver-31/ocom/technology/products/forms/htdocs/forms904FAQ.html says
Quote:
2.3 When running a form on the Web, can I use OLE to talk to programs such as MS Word or Excel?
Yes. For OLE integration on the client, Oracle have provided a utility called WebUtil for client-side integration. For more information on WebUtil, including a WebUtil FAQ, visit the WebUtil area on OTN.

OLE integration also works for external OLE servers invoked using OLE2.CREATE_OBJ. The OLE server you are invoking must be available on the middle tier machine where OracleAS Forms Services resides. Consequently the middle tier machine must be a Windows NT or Windows 2000 machine. Embedded OLE containers and ActiveX (OCX) controls are not supported when running on the Web.

David
Previous Topic: how to use ocx in forms ? or it replace?
Next Topic: oracle internet directory
Goto Forum:
  


Current Time: Thu Dec 08 10:28:00 CST 2016

Total time taken to generate the page: 0.13856 seconds