Forum Discussion
Sabegnoc
Mar 26, 2022Copper Contributor
Run-time error '2147024534 (8007016a)' Method 'ReadAll' of object 'ITextStream' failed.
Had to reinstall Office 365 after reloading Windows 11, and now a form that I have used up until yesterday in my ACCESS db doesn't work. I didn't create the form, but here is the code the debug is p...
arnel_gp
Steel Contributor
you need a Variable to assign what you have ReadAll.
Dim content As String
Content = objTextFile.ReadAll
...
...
Dim content As String
Content = objTextFile.ReadAll
...
...
Sabegnoc
Mar 27, 2022Copper Contributor
So actually it turns out there were more updates needed - didn't looks to see exactly what they were, just allowed them to run, and that fixed the problem, no code fixes needed. Thanks for replying though....