lee-soft / ViStart

Open source start menu replacement for Windows systems
GNU Affero General Public License v3.0
50 stars 8 forks source link

Compiled version of ViStart crashes on launch #16

Closed basiccube closed 1 year ago

basiccube commented 1 year ago

ViStart crashes on launch with the error: PaintItems:: Subscript out of range (frmFreq) I can't even debug this as Visual Basic crashes alongside ViStart. I've provided both the screenshot of the immediate window in Visual Basic and the errors.log file if that can help solve the issue.

Screenshot 2023-02-15 144747 errors.log

lee-soft commented 1 year ago

Could you find the HookWindow procedure in the "HookHelper" and immediately write "Exit Function" as the first line below the procedure header, then re run the project in the IDE please.

basiccube commented 1 year ago

That fixed the crash. Now the start menu being broken is the next issue. Screenshot 2023-02-15 152833

lee-soft commented 1 year ago

Remove the new 'Exit Function' you added, find the frmFreq, Form_Load procedure and comment out the first line

This one- HookWindow(Me.hWnd, Me

and re run again for me.

basiccube commented 1 year ago

Commenting out that line still causes crashes.

lee-soft commented 1 year ago

Can you discard all changes and pull the latest main branch and try running again?

basiccube commented 1 year ago

Thanks, that fixed it and it works now.