Pictures on Splash Screen
Pictures on Splash Screen
(OP)
Ive Designed a Splash form for my programe. The Splash form contains a picture which i took from my hard drive, and thus mentioned the path of it. I want to use the Programme on other computers too with the splash sreen containing the Picture. Is there a way to do this?





RE: Pictures on Splash Screen
Do you load the file when the splash screen is loaded ?.
Why not just insert a picture box onto your form and set the Picture property to the image you want. There is no longer any need to have the the orignal image on your or any other harddrive as it is imbeded into the exe file.
Any help ?, yes no let me know.
Regards
RE: Pictures on Splash Screen
An easy way is to copy the image to the folder in which your .exe file resides. You can then determine the path name by the expression App.Path. For example, if your image file name is 11.jpg, you can use
LoadPicture(App.Path + "\11.jpg")
Sajith.
RE: Pictures on Splash Screen
You can use App.Path only at run time. This is not available at design time.