Author: karlywarly | Posted on: 1/7/2010 4:06:44 PM | Views : 411

Hi Guys,


I have a pretty simple web form that will enable me to upload images to my img folder on the iis6 web folder and theweb form works fine when you try it in internet explorer through the debugging mode in visual studio but when i try to upload an image it doesnt work correctly and i have been told that the file path is incorrect and i have been told that i need to use Server.MapPath to correct this issue i have. My visual basic code is below:
Imports System.IO
Partial Class Staff_ImgEditor_Default
    Inherits System.Web.UI.Page
    Protected Sub btnUpload_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnUpload.Click


        Dim strFileName As String
     &nb ...

Go to the complete details ...