🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #447

Delete File

#447
From: bar
Date: Wed, 16 Apr 2008 18:18
9 lines
1036 bytes
Hi

DeleteFile("C:\\Program Files\\MyProgram\\a.jpg");

The above works in XP. In Vista it doesn't work, the user is administrator.
How to resolve the issue.

Thanks
SA 
Technical Details
Message-ID: <480642de@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder.news-service.com!newsfeed.freenet.de!news.osn.de!diablo1.news.osn.de!feeder.erje.net!news.isoc.lu!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,afa23fc7a34d3bb6,start
X-Google-Attributes: gid10cc67,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "bar" <shaikakbar250281@yahoo.co.in>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Delete File
Date: Wed, 16 Apr 2008 21:18:18 +0300
Lines: 11
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 62.150.224.155
Message-ID: <480642de@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1208369886 62.150.224.155 (16 Apr 2008 11:18:06 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder.news-service.com!newsfeed.freenet.de!news.osn.de!diablo1.news.osn.de!feeder.erje.net!news.isoc.lu!newsgroups.borland.com!not-for-mail