Bewilderec
Programmer
I've written a program that needs to be converted from an .exe file to an .ocx file. When I run the program as an Active X control, I get the html page; but I can't read in my input variables.
For intNum = 0 To 4
If (frmVTI.txt(intNum).Text = "" Then
frmVTI.Refresh
frmVTI.txt(intNum).SetFocus
InfoMsg = MsgBox("Error: Check Values", vbCritical, "Error"
ChkErrors = 1
Exit Function
End If
Next intNum
I've tried changing the frmVTI object to UserControl object but no success. I also get an error at .SetFocus.
thanks in advance
For intNum = 0 To 4
If (frmVTI.txt(intNum).Text = "" Then
frmVTI.Refresh
frmVTI.txt(intNum).SetFocus
InfoMsg = MsgBox("Error: Check Values", vbCritical, "Error"
ChkErrors = 1
Exit Function
End If
Next intNum
I've tried changing the frmVTI object to UserControl object but no success. I also get an error at .SetFocus.
thanks in advance