B4J Question Main form won't display in Compiled Program

oldeast

Active Member
Licensed User
Longtime User
Hi everyone,
I have a compiled B4J program that I distribute to eight users. I am distributing it with Java 11. It has been running fine on Windows 11 for all users except one.
In this instance the program shows a main form startup toast message OK, but the main form won't display. I have installed the program on my computer and opened the user's data file with no problem.
I have the user's laptop and have downloaded and installed all Windows 11 updates and have done a net framework repair.
Any suggestions as to where to check further would be appreciated.
Thanks
Graham
 
Solution
Just checked, I already have that coded.
I rather suspect Windows is missing something on this laptop rather than a B4J coding error.
Check that the form is not outside of the visible screen, To test, you can do something like:

B4X: Copy
    MainForm.WindowLeft = 0
    MainForm.WindowTop = 0
 
Upvote 0
Thanks for the suggestion, will try anything.
Any idea why it's working perfectly on the other installs, most are 15in laptops the same as the defective one.
Thanks!
 
Upvote 0
Just checked, I already have that coded.
I rather suspect Windows is missing something on this laptop rather than a B4J coding error.
 
Upvote 0
Solution
Thanks Steve,
I did that yesterday and found the .db3 file was corrupted.
I have been able to fix it and retain the data and its all ok.
I should have checked that first.
I would like to know why it was corrupted as this hasn't happened to the other users in 5+ years of use.
Thanks for replying.
Graham
 
Upvote 0
Back
Top