Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: R C Nesbit Newsgroups: comp.lang.basic.visual.misc Subject: Re: Problem with mapped drives from VB6 Date: Thu, 09 Feb 2012 18:14:22 -0000 Organization: SpamTrap Lines: 24 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: individual.net nvm4demAzQI2pQQ68c3T+wvTKeTBtkbs/swvE9WMr7jbwrReub Cancel-Lock: sha1:dci0Z0mVtXHetbUwyffC9zz/wOM= X-Newsreader: Virtual Access Open Source http://www.virtual-access.org/ Xref: x330-a1.tempe.blueboxinc.net comp.lang.basic.visual.misc:767 Farnsworth spoke: > MkDir and DirListBox/FileListBox would generate an error if an intermediate > folder does not exist. Could be because the admin made "AppDocs" into a > share and mapped that instead. I would print the path as the app sees it in > the error message. Example: > > MsgBox Err.Number & ": " & Err.Description & vbCrLf & "Path is '" & sPath & > "'" > > This prints the error and the path surrounded by single quotes, just in case > there are extra spaces. Tell the user to press Ctrl+C when the dialog > appears. This copies the contents to the Clipboard as text. This feature was > present since the Windows 9x days. Which would be great (actually I have lots of error handlers all logging the err, error, Calling Routine, UserID, date & time to an errlog table. However this error happens *inside* the error handler, so just dumps out. -- Rob Pearson