Sunday, August 2, 2009

Microsoft Visual Basic 6.0 help needed....?

I want 2 press a button and it will del a file.





Code:


Kill "C:\asdf.txt"thats what I have and thats what it should be. But I get an error when i run it.


Any help would be much appreciated





Private Sub Command1_cl


Kill "c:\asdf.txt"


End Sub


I GET THE FOLLOWING ERROR


Compile Error


invalid use of property





HELP...

Microsoft Visual Basic 6.0 help needed....?
Whats the _cl ?





It should be Private Sub Command1_Click()


No comments:

Post a Comment