Hi darbid,
This is an older thread, but I thought I'd contribute to help others who may stumble across your code to set form opacity. I found that one public declare function was missing. I added:
Public Declare Function GetClassLong Lib "User32" Alias "GetClassLongA" ( _
ByVal hwnd As...