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


Groups > comp.lang.clipper.visual-objects > #9524

Re: How to open a DBF with a UNC path

Path csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From "Wolfgang Riedmann" <wriedmann@gmail.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: How to open a DBF with a UNC path
Date Wed, 13 Jul 2016 15:08:34 +0200
Lines 32
Message-ID <dumsqqF2jc3U1@mid.individual.net> (permalink)
References <kq6coblvsun78482jq7lj6sklvrv7pj4ul@4ax.com>
X-Trace individual.net CuV68IwRvG4zSUt8VZ2Wlw2MXeC4JK3XS1WfOxUc3SXxK6xMA=
Cancel-Lock sha1:uEv+rKFFSQ9GRGTh2uxA0llAPmA=
User-Agent XanaNews/1.18.1.6
Xref csiph.com comp.lang.clipper.visual-objects:9524

Show key headers only | View raw


Hi Dick,

> Following my questions about how to run a program from Windows Task
> Scheduler, I found that a mapped drive does not seem to work in later
> Windows versions. I figured out (reading all posts here) that a UNC
> path doesn't work because of in the init of dbserver, Curdrive() is
> added so it looks a bit like this :
> 
> f:\\myserver\mydir etc.


this is strange: for me UNC paths DOES work! And not from yesterday....
The DBServer:Init() method from 2.8 does not use any CurDrive() code.

You could try to pass in a FileSpec object instead of the file name in
string form.


> I am not sure how to solve this except replacing the whole VO28RDD.DLL
> with a modified source of that DLL. As soon as I I run a SUPER:INIT to
> dbserver the error emerges. I can add a preinit but 1) it isn't even
> called and 2) I guess I still can't prevent the addition of a drive
> letter to happen.

as I wrote: I don't have this problem, neither with the service,
neither with programs startet from the task scheduler, and also normal
GUI programs are working with UNC paths.

Wolfgang

-- 

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How to open  a DBF with a UNC path D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2016-07-13 12:49 +0200
  Re: How to open  a DBF with a UNC path sherlocksoftware@gmail.com - 2016-07-13 04:10 -0700
    Re: How to open  a DBF with a UNC path D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2016-07-13 15:43 +0200
  Re: How to open a DBF with a UNC path "Wolfgang Riedmann" <wriedmann@gmail.com> - 2016-07-13 15:08 +0200
    Re: How to open a DBF with a UNC path D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2016-07-15 14:39 +0200
      Re: How to open a DBF with a UNC path sherlocksoftware@gmail.com - 2016-07-15 06:17 -0700
  Re: How to open  a DBF with a UNC path Leo_Bond <l.bond@bk.ru> - 2016-07-15 08:26 -0700
  Re: How to open a DBF with a UNC path Martin <Martin@spam.spam> - 2016-07-18 09:06 +0100

csiph-web