HI ALL,
I m currenly working with a visual basic 6 project.i m new to VB.wen i tried to comile a file i got the error "user defined type not defined".i don know wat appropriate reference to add.i m enclosing the code here.
[code=vb]
Private Sub Form_Load()
On Error Resume Next
tries = 1
Load frmDialog
Set FRM = frmDialog
AutoRedraw = LoadResString(1 07)
If LoadResString(1 07) = "0" Then
Dim obj3 As New Class3
obj3.SET_BACKCO LOR Me
cmdCancelImageB utton.Visible = False
cmdOkImageButto n.Visible = False
End If
End Sub[/code]
i m getting an error on Dim obj3 as new class3
i do not know wat dll i m using and wat reference i shld add.
pls help.
thanks
I m currenly working with a visual basic 6 project.i m new to VB.wen i tried to comile a file i got the error "user defined type not defined".i don know wat appropriate reference to add.i m enclosing the code here.
[code=vb]
Private Sub Form_Load()
On Error Resume Next
tries = 1
Load frmDialog
Set FRM = frmDialog
AutoRedraw = LoadResString(1 07)
If LoadResString(1 07) = "0" Then
Dim obj3 As New Class3
obj3.SET_BACKCO LOR Me
cmdCancelImageB utton.Visible = False
cmdOkImageButto n.Visible = False
End If
End Sub[/code]
i m getting an error on Dim obj3 as new class3
i do not know wat dll i m using and wat reference i shld add.
pls help.
thanks
Comment