How to delete a file in VB6?

Solved
glennog Posted messages 337 Status Member -  
glennog Posted messages 337 Status Member -
Hello,

I would like to know how to delete a file in VB6. I know how to copy a file, but I don't know how to delete it.
If possible, could I have the documentation regarding files in VB6?
I have been searching for a while, but I only come across MSDN (with VB.NET); I am looking for the documentation for VB6. Can someone help me?

Configuration: Windows 7 / Chrome 27.0.1453.110

3 answers

f894009 Posted messages 17417 Registration date   Status Member Last intervention   1 717
 
Hello,

use the Shell command and DOS instructions.
0
ergor Posted messages 157 Status Member 12
 
Hello,

You can use the "Kill" function to delete a file.

If you're interested, here is a well-made series of tutorials:
https://gilmir.developpez.com/#page_tutoriel

--
Have a good day
It's not a bug, it's a feature
0
glennog Posted messages 337 Status Member 4
 
Hi, thanks to you my friend for your post, it's exactly what I was looking for.
0