Hi
You can use this statement to end the running MapInfo Pro:
End MapInfo
Make sure changes are saved to tables that need to be saved before you run the statement.
Before running the statement above, you can also run a statement to launch another instance of MapInfo Pro:
Run Program ProgramDirectory$() + "MapInfoPro.exe"
------------------------------
Peter Horsbøll Møller
Principal Presales Consultant | Distinguished Engineer
Precisely | Trust in Data
------------------------------
Original Message:
Sent: 02-05-2024 01:46
From: Mayca González Pérez
Subject: Reset MAPINFO WITH MAPBASIC
Hi.
Is there a function in mapbasic to restart MAPINFO? Because when it comes to controlling errors, if I get one I want the application to restart
Thanks
------------------------------
Mayca González Pérez
COMUNIDAD. AUT. REG MURCIA
------------------------------