|
-
Jul 10th, 2009, 03:28 PM
#1
Thread Starter
New Member
Script control errors in VB6
Hi,
I have a VB6 form with the following
Textbox (Text1)
Microsoft Script Control v1.0 (scCTRL)
command1 button
The command button has the code
Private Sub Command1_Click()
FldName = "Text1"
scCTRL.ExecuteStatement FldName & ".Enabled = False"
End Sub
When it runs I get the following error
Object Required : 'Text1'
Any ideas ??
Regards
Karl.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|