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

Deletion of AutoCAD Drawing

Status
Not open for further replies.

latha2k1

Programmer
Feb 1, 2003
17
IN
Hi,
How can we delete an AutoCAD(.dwg) file through VB codings
If possible can you send me the codings.

Thankyou
 
using filesystem object:

you could do...

Set fso =Server.CreateObject("Scripting.FileSystemObject")
path1 = "path to filename.dwg"
If (fso.FileExists(path1)) Then fso.DeleteFile(path1) end if


===============
Security Forums
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top