Solved

Access shared folder VB2005

Posted on 2007-03-26
1
199 Views
Last Modified: 2007-04-16
Hi Experts,
My application is written using VB2005 and SQLExpress. When the application is installed on the server, a folder is created in the application's directory. For eg, if the application is installed in "C:\XYZ", then a folder "C:\XYZ\123" will be created. The purpose of this folder is to hold some text files that can be viewed on client machines. The folder also contains the db file used by the application.

1) How do I make "C:\XYZ\123" a shared folder using VB2005.
2) If the application is installed on a client machine, how do I access the shared folder via VB2005? How do I determine the path to this shared folder? Is there a way to determine the path from the application config file (connection strings)

Thanks
0
Comment
Question by:noobe1
1 Comment
 
LVL 30

Accepted Solution

by:
nmcdermaid earned 500 total points
ID: 18814531
1. Here's as link suggesting some ways:

http://www.thescripts.com/forum/thread364413.html

Of course you can share it but you also have to set permissions.

2. You mean a shared folder on a different computer? You need to know the computer that your connecting to. On the local computer you just use C:\XYZ\123.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Vb.net threads keep increasing 2 48
SQL Server Configuration Manager WMI Error 11 38
Applying Roles in Common Scenarios 3 13
vb.net datagrid point 4 16
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question