how to create delete program in VB6.?

Delete what? A file? Use Kill Statement. Delete a record? From what? A text file? Read it in, remove what you want, and write it back out. From a database? Use a delete statement (DELETE FROM tablename WHERE fieldname = somevalue). Don't know how to access data in a database? Well then time to use your friends (yahoo, google, ask, answers, bing) and search for vb6 ADO tutorial and/or see for a DSN Less connection strings

Good Luck