Solved

Access shared folder VB2005

Posted on 2007-03-26
1
200 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
In SQL Server, when rows are selected from a table, does it retrieve data in the order in which it is inserted?  Many believe this is the case. Let us try to examine for ourselves with an example. To get started, use the following script, wh…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

752 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