since win98 install bitmaps are loaded into the incorrect folder
Posted on 1998-12-28
Using D4 and having just installed Win98 now the default folder for storing and saving bitmaps has been changed to 'my documents' folder.
Before this win98 install the default folder was the program folder and the Win95 D4 code was Form1.Image2.Picture.LoadFromFile(openDialog1.FileName);
Now using Win98 I have to give the instructions as to the location of the bitmap
Form1.Image1.Picture.LoadFromFile('C:\WINDOWS\Desktop\CustomPuzzMicrMve1Unit\PuzzForm'+ IntToStr(ArayOfRandom[I]+1) + '.bmp');
If I share the program with someone then the code with win98 is not correct. I need a relocatable instruction for the new Win98, D4.