Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Microsoft Access > trying to use w...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 5 Topic 30364 of 31576
Post > Topic >>

trying to use windoze UNC in VBA to reach files in share points?

by MLH <CRCI@[EMAIL PROTECTED] > May 26, 2008 at 01:24 AM

I tried this in a module...

call lineinputthing("\\MLH\Shared Docs\Leads.txt","26MAY08Garages")

The machine name is MLH. The share name is "Shared Docs". The file
name is Leads.txt. But VBA does not understand 
\\MLH\Shared Docs\Leads.txt.

The actual location of the share is
C:\Do***ents and Settings\All Users\Shared Docs\
but windoze does not let you address it directly within a command
window. You can't even cd to Shared Docs from 
C:\Do***ents and Settings\All Users\

You can do dir Shared Docs from C:\Do***ents and Settings\All Users\
Yes, that'll give you a DIR listing.

The lineinputthing procedure is a sub expecting 2 string arguments.
And the first of them is a text file. The text file is Leads.txt. If
Leads.txt is saved in c:\mystuf\ - then there is no problem at all.
It's just the UNC that I can't seem to get VBA to understand.

How does one refer to share points using UNC or other name convention?
Ideas? Comments?
 




 5 Posts in Topic:
trying to use windoze UNC in VBA to reach files in share points?
MLH <CRCI@[EMAIL PROTE  2008-05-26 01:24:43 
Re: trying to use windoze UNC in VBA to reach files in share poi
"Rick Brandt" &  2008-05-26 07:13:51 
Re: trying to use windoze UNC in VBA to reach files in share poi
MLH <CRCI@[EMAIL PROTE  2008-05-26 09:30:38 
Re: trying to use windoze UNC in VBA to reach files in share poi
"Rick Brandt" &  2008-05-26 08:44:01 
Re: trying to use windoze UNC in VBA to reach files in share poi
MLH <CRCI@[EMAIL PROTE  2008-05-27 10:11:59 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Dec 2 23:26:10 CST 2008.