hi, Im making a tic-tac-toe game and I need some hlp with opening the images. Is there a way to say: Image1.picture = LoadPicture projectlocation & "X.bmp"
where projectlocation is where i have the project saved?
: hi, : Im making a tic-tac-toe game and I need some hlp with opening : the images. Is there a way to say: : Image1.picture = LoadPicture projectlocation & "X.bmp" : : where projectlocation is where i have the project saved? :
Take a look at the App object. It has several properties you'll find to be useful in your programming:
App.Path - Returns the path to your project file or exe. Terminated with "" only if it's in the root.
Comments
: Im making a tic-tac-toe game and I need some hlp with opening
: the images. Is there a way to say:
: Image1.picture = LoadPicture projectlocation & "X.bmp"
:
: where projectlocation is where i have the project saved?
:
Take a look at the App object. It has several properties you'll find to be useful in your programming:
App.Path - Returns the path to your project file or exe. Terminated with "" only if it's in the root.
App.Path & IIF(Right$(App.Path, 1) = "", "", "") & "X.bmp"