Cannot find wrapper assembly for type library “ADODB”

Happy new year and Happy coding!
Using Visual Studio 2022 on Windows 11 with the latest updates to 24H2, started giving the following errors when trying to compile an older project:

The "ResolveComReference" task returned false but did not log an error.
Cannot find wrapper assembly for type library "ADODB". Verify that (1) the COM component is registered correctly and (2) your target platform is the same as the bitness of the COM component. For example, if the COM component is 32-bit, your target platform must not be 64-bit.

So, you Google a bit and find this, but don’t do that!
In my case, the following article helped, or just a comment from it “Mine was resolved by removing the reference to “Microsoft HTML Object Library” and adding it again in the project.“.

  • In solution Explorer, open ‘My Project’
  • Go to the tab ‘References’
  • Find your mentioned library on the top, in my case, ‘Microsoft ActiveX Data Objects 2.8 Library’ with some ‘ADODB.dll’ in a system32 folder.
  • Click the ‘Add’ button, tab COM > Type Libraries, and find your library, it should be checked.
  • UNCHECK it, and OK the popup
  • Repeat: Click the ‘Add’ button, tab COM > Type Libraries, and find your library, now unchecked.
  • CHECK it, and OK the popup
  • Save everything and try to compile again.

That should work.
If not, so sorry, but it did for me…

Have a nice day!


Acrobat Reader All Tools

Also annoyed that it’s always opened and you have to close the ‘All Tools’ tab on the left in your window when you wish to read your PDF on a bit wider screen?
Well… Adobe actually has a setting for that.

Go to:
– menu – preferences
– tab ‘Documents’
– check ‘Remember last state of All tools pane when opening documents

Next, if you close the ‘All Tools’ tab, it will be remembered the next time you open a PDF again.
Have a nice day!

HP Scan and Capture

Love it when people try to get around barriers and find ways to still download removed apps. Just read this article.

The question:
“How to Get HP Scan and Capture Software/App”
I see that HP has retired the HP Scan and Capture app.  This was a fantastic app to use.  I cannot find it on the HP site or in the Microsoft Store.  In the Microsoft Store there is a link to download, but when you click it you get sent to a description of the app.
Does anyone either have a working link to this app or know how to get this app?  I know it is not supported but to me it works much better and easier then the scan software that comes with the drivers of the HP MFP units.

Continue reading HP Scan and Capture

OceanWP v4.0 loses Google Fonts

Check this! All my OceanWP websites lost their default font and fell back to something Roman, so everything looked ugly! Basically all websites using OceanWP did no longer load their Google fonts after the update to version 4.0.

Solution: I had to manually enable the fonts again! How?
Go to WP Dashboard > Appearance > Customizer > Typography > Google Font Settings and enable Google Fonts – hit “publish” and done!

Looks like someone at OceanWP forgot to check backwards compatibility…

Have a nice day!

OceanWP and SVG images

Ever tried to enable the upload of SVG images in WordPress, and kept getting the error:
“Sorry, you are not allowed to upload this file type.” ?

So, you tried the plugins Safe-SVG, disabled Wordfence, disabled Solid Security, added a snippet with WPCode, changed your wp-config.php file, and maybe some other options you found on the Interweb?
Well, if you are using the OceanWP theme like I do, then nothing will work, except when you go to your OceanWP panel, select the ‘Integration’ tab on the left, slap your forehead with a flat stretched-out hand, and finally slide the switch on that page, all just to enable the SVG files support.

Next, of course, remove all those plugins, code snippets and other things you have added to your WordPress installation and continue with your life.

Have a nice day!