Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Karl E. Peterson Newsgroups: comp.lang.basic.visual.misc Subject: Re: "Run-time error 75" updating program in Vista/Windows 7 Program Files (x86) directory Date: Fri, 24 Jun 2011 14:35:39 -0700 Organization: exMVPs.org Lines: 33 Message-ID: References: <610447e9-a269-4e34-990a-3c179bea1c22@y19g2000prd.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Fri, 24 Jun 2011 21:35:41 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="wsO231DXy8gPg8ZR895Ikw"; logging-data="13321"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX184m70dTphPHXO3uQcytRA51SbNrBCX2uM=" X-Newsreader: MesNews/1.08.03.00-gb X-Face: G"ln~:.wBqHZznO'(lJjjprxGYAjIF7#^u)lx,@"H'F#uXm%j`T6kxat5rq092aW;K*#m4jZ(2aW$34N&B&E@ j~tjGV-aC18j1y>zi.\[ZGXsd Cancel-Lock: sha1:s8R0Yh6mIGxlM08rKzLZ5bXIDPs= Xref: x330-a1.tempe.blueboxinc.net comp.lang.basic.visual.misc:299 Deanna Earley explained on 6/22/2011 : > On 22/06/2011 16:52, Nobody wrote: >> "Bill" wrote in message >> news:610447e9-a269-4e34-990a-3c179bea1c22@y19g2000prd.googlegroups.com... >>> I have a software application written in VB6 (the VB 2010 version is >>> under development) that includes an embedded update feature that >>> allows users to download periodic updates via FTP. The problem I am >>> having is that under Vista and Windows 7 is that when the program >>> tries to update the files in the application directory which >>> defaults >>> to the Program Files (x86) directory, it generates a "Run-time error >>> 75 - Path/File access error". I know this is a function of Vista/ >>> Windows 7 protection of the Program Files directories. My question >>> is: >>> Is there a way around it? Right now the program downloads files to a >>> temporary location, but I cannot copy them into the Program Files >>> (x86) directory. Thanks for any help you can give. >> >> Don't install under any of the Program File trees. >> >> Store any files that may be modified under My Documents > > Only the user's documents should go in the user's documents folder. > If it's the application's internal data, then it should go into the > application data folders. Yeah, app-data should go in the, uh, %appdata% folder. -- .NET: It's About Trust! http://vfred.mvps.org