daogu

saniao
December 9, 2010

ocx

Posted by : admin
Filed under : Forms

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


Answer:Have you been able to find an ‘ocx’ facility in 10g?

David

Related posts:

  1. Flag Set Hi, Created one table and it contains following columns:...
  2. Lock the Records Hi guyz, I develop one payroll system, i need...
  3. using EXEC_SQL.Is_Connected Programaticaly i run the logout; procedure on a button...
  4. ORA:03115 error Hello, I am getting this error while accessing the...
  5. form error hello all, i need your help with this. Frm-40508...

Tags :

No Comments

(required)
(will not be published) (required)
(opitional)