CG,
You will be able to replace your paths a few different ways depending on
where the paths are coded. If you are assigning a path in the code behind
you can use the tilde to indicate the base directory "~/images".
Most often for image paths you'll want to use a virtual reference, just use
"/images" or depending on your code / site structure you may need to
indicate moving up in the directory "../images" or up two directories
"../../images"
The most likely solution for what you've shown is using "/images".
As for your second question Myfolder becomes a namespace. Leave that.
Also, you shouldn't be deploying all of the files in Myfolder out to your
site. A lot of the files are unecessary for a production site and are only
there for the development environment.
I have an explanation of the most common steps to take for deploying only
the necessary files for a website from Visual Studio.Net on my website,
www.aboutfortunate.com. If you click the "Code Library" link at the top and
then use the search box that will appear to search for: "Necessary Files"
you'll get a short step-by-step tutorial for deployment.
--
Sincerely,
S. Justin Gengo, MCP
Web Developer / Programmer
www.aboutfortunate.com
"Out of chaos comes order."
Nietzsche
"csgraham74" <csgraham74@hotmail.com> wrote in message
news:1128426240.998364.95820@g44g2000cwa.googlegro ups.com...[color=blue]
> Hi,
>
> I have a problem with the deployment of my software. I have built my
> system using the following structure c:\inetpub\wwwroot\Myfolder.
>
> When I deploy my system i do not really deploy my folder but the
> contents of it to my directory on the host website.
>
> Stupidly ive built the system with path names that include the MyFolder
> reference. E.g. /Myfolder/images/test1.gif. My issue is how i replace
> this pathname with a relative path that will allow my application to
> run on both my development pc and the server.
>
> My second issue is regarding this :-
>
> <%@ Page Language="vb" AutoEventWireup="false" aspcompat=true
> Codebehind="frm_AmendProposal.aspx.vb"
> Inherits="Myfolder.frm_AmendProposal"%>
>
> Im sure this is probably straight forward but do i also remove the
> MyFolder reference in the top part of the HTML also ????
>
> Just looking for some advice on this before i try it later - im sure
> someone out there has had this problem previously.
>
> CG
>[/color]