Click to See Complete Forum and Search --> : OCX & EXE & STRANGE


Step
June 20th, 2001, 07:57 AM
I have got a very strange problem:
I have got an OCX embedded in an EXE.

OCX
----
Public Type typeOCX
Var As String
End Type


EXE A
------
Private Sub Form_Load()
Dim typeA(1 To 2) As typeOCX
End Sub




If I start the compiled "EXE A" or "EXE B" on my develop computer it does work fine.
But If I copy the EXE and OCX on a second PC only "EXE A" does work?
WHY?????????????????????????????????????????
Very strange!!!

EXE B
------
Private Sub Form_Load()
Dim typeA() As typeOCX
End Sub



Thanks

Stephan