Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 30th, 2003, 05:15 PM
Authorized User
 
Join Date: Jul 2003
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to share a folder

Please help,

I am trying to call an image from my C:\folder\image.jpg

on the folder properties I selected "share this folder" for web sharing tab, and selected "share this folder" for sharing tab. But I could not load the image when I access my website from another computer(same network). But I could load the image from my machine locally.

How can I fix this problem?


 
Old August 1st, 2003, 04:07 PM
Authorized User
 
Join Date: Jul 2003
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to ALoPresto
Default

I'm pretty sure that even if the folder is shared, you need to make a virtual path to it in IIS or otherwise publish the document. For instance, go into IIS and create a new virtual path to the directory, then in your code, point to it as
Code:
<img src="/virtualdirectory/image.jpg">
 
Old August 6th, 2003, 01:23 PM
Authorized User
 
Join Date: Jul 2003
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi AloPresto,

Like u said and it works!!!

Thanks






Similar Threads
Thread Thread Starter Forum Replies Last Post
hot access to a share folder in asp.net vsraja Excel VBA 0 June 5th, 2006 01:43 AM
Making a folder virtual folder on button click in CsharpHelp C# 0 October 26th, 2005 05:57 AM
how to share a folder or a file on the internt asimmehtab Pro VB 6 1 December 31st, 2004 07:38 AM
Use VBA to get data from Access (Share folder) ckentebe Access 6 April 28th, 2004 10:09 PM
Use VBA to get data from Access (Share folder) ckentebe Access 1 April 21st, 2004 06:23 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.