DLLRegisterServer in failed. Return code was 0x80004005.


I was trying to register a dll using regsvr32 in command prompt when this error appeared. Then, I remembered that this error has something to do with security.

To solve this, log off the current user and log on as an Administrator. Finally, reregister your dll. 

Report Width Is Larger Than the Paper Width


I know that this error occurs because the width of the report exceeds the maximum width specified by the default printer settings. So I was surprised when this error came up because the user changed their printer from HP to Lexmark.


I had changed the settings of the new printer but the report was still printing out as Portrait instead of Landscape. The report printed fine using an HP Printer.

So I did some googling and t
his link from Microsoft helped me fix this issue.

Mouse Wheel in VB6


If you're like me and have to still use Visual Basic 6.0 from time to time, I'm sure you have notice that you can't use the mouse wheel to scroll through your code.


Fortunately, Microsoft released a fix for that. Check it out here.

Happy coding!