Home » Developer & Programmer » Forms » ocx
ocx [message #340443] Tue, 12 August 2008 22:30 Go to next message
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
MsgBox "error Read ..."
End If
MsgBox "Error ..."
End If
End Sub

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

Re: ocx [message #341428 is a reply to message #340443] Mon, 18 August 2008 19:37 Go to previous message
Messages: 10180
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Have you been able to find an 'ocx' facility in 10g?

Previous Topic: How to open attached library
Next Topic: how to show y-axis labels in headers of bars of graph
Goto Forum:

Current Time: Mon Jul 24 17:59:45 CDT 2017

Total time taken to generate the page: 0.11196 seconds