Open dbarou55e opened 6 years ago
You may have to add libraries in Tools / References... to avoid these errors.
Thank you for your reply. There is nothing in the documentation about adding additional references. Any suggestions which libraries would be required? There are quite a bit of them available.
You will need to research - and please feedback so that documentation can be updated.
Seams you are missing a module. WebMethod is defined in WebHelpers.Bas file. So guess you have forgot to import this. But you should also make a reference to the Microsoft Scripting Runtime, and Microsoft WinHTTP Services. I am using this class library i MSAccess 2010, 2013 and 2017 successfully for several years. Only thing you have to disable / remove manually is the Application.OnTime line in class WebAsyncWrapper sub web_StartTimeoutTimer (as this is not supported in Access), meaning you want be able to execute Async requests..
Thank you! This was the answer -> Microsoft WinHTTP Services
Did I miss that in the documentation?? At any rate, it compiles now. Thank you so much!!
Is this compatible with Access 2003? I get a compile errors once installing the WebRequest and WebClient classes. Any advice?