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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Runtime Error 429 1

Status
Not open for further replies.

fergmj

Programmer
Feb 21, 2001
276
US
I have a VB6 app (very simple).
I am ftp'ing files from a temp directory to an ftp server.
After the ftp is done, I want to delete the wave files in the temp directory.

When I do this:
Dim FileSystemObject As Object
Set FileSystemObject = CreateObject("Scripting.FileSystemObject")
FileSystemObject.DeleteFile DestDir + filesave

I get the runtime error 429 "ActiveX component can't create object"

If I take that out it runs fine (just doesn't delete the file).

Can someone tellme hw to delete files (without calling a Shell(.bat file)) and without using FileSystemObject?

Thanks.

fergmj
 
JohnYingling -

THANKS! You really are a big help.

fergmj
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top