Yee hah!! Fingers crossed, that's this assignment put to bed for now - although the last little bit wasn't without its problems ...
A couple of days ago I wrote the Help file, made the About page and coded them both into the application. No worries. Then I had my first attempt at publishing, just like it said in the book - what a disaster! The Artwork and Music files were no longer able to be read for the exisiting data and I couldn't upload any new music - it gave me an error message about an unhandled exception or something like that. My database was connecting properly as I had changed the file path for the connection string, so I guessed I would have to do something similar with the Artwork and Music files too. I had stupidly assumed that they would be copied when the application was published.
Anyway, to cut a long story short, I changed all the Application.StartupPath & "\...\" paths for the Artwork, Music and Help files to have them being accessed from a PARTYTOONZ folder in the C: drive, just as I had done with the database, plus created matching folders for them coming from the C: drive obviously, and that seemed to work fine. It was a little bit of a pain because I forgot about the file paths feeding the picture boxes, but once I had changed those too it all seems to be working fine again. I just emailed Jake about this as he thinks there might be another way of doing this, but hopefully since I have burned both versions on to disc to hand in, Rachael will be happy with what I have done. I have made sure that the user knows that the file has to be run from the C: drive in the installation instructions.
So, for hopefully the last time, jobs done are:
• Help File
• About Information
• Application Published
• Disc Label
• Installation Instructions
• All 3 Blogs Written
Jobs still to be done:
• NONE!!
Signing off for the last time.
Deb.
Element Naming Techniques in ASP.NET
15 years ago
No comments:
Post a Comment