Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Andy Butland 410 posts 2298 karma points MVP 4x hq c-trib
    Mar 07, 2013 @ 11:43
    Andy Butland
    1

    Issue with creating images

    Spotted a small issue with your Setup code that creates the images.  There are two images where you check for a png and create a gif, and hence it will run everytime.

    Cheers

    Andy

    if (!File.Exists(Server.MapPath(folder + "/arrow.png"))) Resource.arrow.Save(Server.MapPath(folder + "/arrow.gif")); if (!File.Exists(Server.MapPath(folder + "/cross.png"))) Resource.cross.Save(Server.MapPath(folder + "/cross.gif"));

     

     

Please Sign in or register to post replies

Write your reply to:

Draft