Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.basic.visual.misc > #767

Re: Problem with mapped drives from VB6

From R C Nesbit <spam@ukrm.net>
Newsgroups comp.lang.basic.visual.misc
Subject Re: Problem with mapped drives from VB6
Date 2012-02-09 18:14 +0000
Organization SpamTrap
Message-ID <VA.000038dc.7bd5152f@ukrm.net> (permalink)
References <VA.000038d6.76c3a044@ukrm.net> <jh0ou7$bq1$1@speranza.aioe.org>

Show all headers | View raw


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


Back to comp.lang.basic.visual.misc | Previous | NextPrevious in thread | Find similar


Thread

Problem with mapped drives from VB6 R C Nesbit <spam@ukrm.net> - 2012-02-08 18:37 +0000
  Re: Problem with mapped drives from VB6 GS <gs@somewhere.net> - 2012-02-08 14:59 -0500
    Re: Problem with mapped drives from VB6 Helmut_Meukel <Helmut_Meukel@bn-hof.invalid> - 2012-02-09 10:16 +0100
      Re: Problem with mapped drives from VB6 GS <gs@somewhere.net> - 2012-02-09 09:40 -0500
        Re: Problem with mapped drives from VB6 "Farnsworth" <nospam@nospam.com> - 2012-02-09 10:03 -0500
          Re: Problem with mapped drives from VB6 "Farnsworth" <nospam@nospam.com> - 2012-02-09 10:23 -0500
        Re: Problem with mapped drives from VB6 "DaveO" <djo@dial.pipex.com> - 2012-02-09 15:36 +0000
          Re: Problem with mapped drives from VB6 GS <gs@somewhere.net> - 2012-02-09 13:52 -0500
            Re: Problem with mapped drives from VB6 "DaveO" <djo@dial.pipex.com> - 2012-02-10 10:49 +0000
              Re: Problem with mapped drives from VB6 GS <gs@somewhere.net> - 2012-02-10 22:00 -0500
  Re: Problem with mapped drives from VB6 Deanna Earley <dee.earley@icode.co.uk> - 2012-02-09 09:56 +0000
    Re: Problem with mapped drives from VB6 R C Nesbit <spam@ukrm.net> - 2012-02-09 10:08 +0000
      Re: Problem with mapped drives from VB6 R C Nesbit <spam@ukrm.net> - 2012-02-09 15:14 +0000
  Re: Problem with mapped drives from VB6 "Farnsworth" <nospam@nospam.com> - 2012-02-09 10:32 -0500
    Re: Problem with mapped drives from VB6 R C Nesbit <spam@ukrm.net> - 2012-02-09 18:14 +0000

csiph-web