Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help!!! syntax error

Status
Not open for further replies.

ii128

Programmer
May 18, 2001
129
US
I have a syntax error, Does anyone can help me figure out what is wrong?

Private Sub Command1_Click()
Picture1Controls.Add("ScrWin.Usercontrol1", "UserControl12")
End Sub
 
Remove the brackets

Picture1Controls.Add "ScrWin.Usercontrol1", "UserControl12"


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top