ocx [message #340443] |
Tue, 12 August 2008 22:30 |
aseman_ziba
Messages: 2 Registered: August 2008 Location: iran
|
Junior Member |
|
|
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: ocx [message #341428 is a reply to message #340443] |
Mon, 18 August 2008 19:37 |
|
djmartin
Messages: 10181 Registered: March 2005 Location: Surges Bay TAS Australia
|
Senior Member Account Moderator |
|
|
Have you been able to find an 'ocx' facility in 10g?
David
|
|
|