Solved

Access shared folder VB2005

Posted on 2007-03-26
1
197 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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
WPF - Tooltips for ComboBox items 5 75
Sql query 107 64
Footer for each row on Gridview 2 21
Help with exporting to excel 4 28
Data architecture is an important aspect in Software as a Service (SaaS) delivery model. This article is a study on the database of a single-tenant application that could be extended to support multiple tenants. The application is web-based develope…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

822 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