hi Sirs,
i m using vb6 and acess2000, crystal report 9.
i want to delete *.tmp files created due to crystal report 9.
i want this in vb6 through coding.
pls help me.
these files are created on partition and of 0 bytes.
so, pls help me its urgent.
thanx in advance
shruti23
0
Newbie Poster
Recommended Answers
Jump to PostYou can delete those files by using the DOS command.
DEL *.TMP
That can be executed from VB.
Jump to PostThis is from VBHelp. If you use an error handler, I would suggest that you disable it, as in the example, because Kill can generate non-fatal errors. For instance, the file the example tries to delete doesn't exist.
Public Sub ErrDemoSub()
On Error GoTo SubHandler ' Error trapping is
…
All 5 Replies
debasisdas
580
Posting Genius
Featured Poster
rstkw
0
Newbie Poster
shruti23
0
Newbie Poster
QVeen72
104
Posting Shark
vponline
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.