Looks like I can type posts again.
Thanks for your help.
I slowly transfered the code to another version of the database. What appears to be happening is the edge browser window is not updating. The code appears to be running in the background. On some occasions it will run until the end. I have a QR code and signature picture window and this updates fine as the code runs. Sometimes the code fails as I'm still trying to figure out a couple of issues. On other occasions it errors saying a particular page has failed to load (This is my own code that reads the page html to check if a page has loaded. If it takes too long it shows a failed message and exits). On some occasions the database crashes and reopens having auto saved a backup.
This was completely fine yesterday am. I ran it multiples times without issue. Then in the pm it was playing up. I've tried it on another PC and have now even slowly moved the relevant code over to a new database and it still doesn't work.
I can get it to show the login page and on some occasion to login, but anything more complex and it appears to hang.
I didn't realise the edge browser window was a fairly new addition to access. I guess this is why I originally went down the IE route, as everything I read was about that. I have now read quite a lot about various bugs and issues with the edge browser integration, so I wonder if I am suffering form something like this?
If I can't get this working I'm thinking I will have to look into Selenium. Hopefully it will be 3rd time lucky.
EDIT: This is the site:
https://secure.uat.pcse.england.nhs.uk/
Can anyone recommend any resources to that can help me with this such as example databases and example code? I have a a couple but they are fairly basic.
EDIT2:
Even the database I downloaded from here is playing up:
https://www.devhut.net/everything-y...-about-the-access-modern-web-browser-control/
EDIT3: I'm getting it to work in the example database. It still doesn't work in my database. Could this be some sort of error with the database?