Solved

Access shared folder VB2005

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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

828 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