Article View: borland.public.cppbuilder.nativeapi
Article #17749Re: local network problem
From: Paul Dadah
Date: Tue, 04 Mar 2003 18:07
Date: Tue, 04 Mar 2003 18:07
26 lines
1847 bytes
1847 bytes
> Please show us the code where you try to open the file.
FileIn = \\\\comp2\\c\\example.txt;
if(FileExists(FileIn))
iFileHandle = FileOpen(FileIn, fmOpenRead);
else
ShowMessage(" Unable to open "+ FileIn);//this line is always
executed until I connect to the computer with network neighborhood, then all
is fine.
> I do not understand how you use windows explorer as one has to
> start with network neighborhood then.
you are correct, i am uning network neighborhood - just accessing it thru
explorer
> Did you map the networkdrive ?
it does not matter if the drive is networked or not.
another question: when you connect to a computer that has a password (using
network neighborhood ) you get a promt for the password and if you want to
save the password. Is their an API function for this?
Thanks for your help
Technical Details
Message-ID:
<3e64eb3f$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3e640957@newsgroups.borland.com> <3e64619f@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,fd9439bf2e17e166 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-03-04 13:51:49 PST From: "Paul Dadah" <paulyzxNOSPAM@rushmore.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3e640957@newsgroups.borland.com> <3e64619f@newsgroups.borland.com> Subject: Re: local network problem Date: Tue, 4 Mar 2003 11:07:06 -0700 Lines: 28 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 65.173.110.238 Message-ID: <3e64eb3f$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1046801215 65.173.110.238 (4 Mar 2003 10:06:55 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail