VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

WebOne Windows XP Classic Theme On Detection Minor Fixes

Thomas Yates  (1 Submission)   Miscellaneous   VB Script   Beginner   Wed 3rd February 2021

*MINOR FIX* NOW YOU CAN DETECT Whether Windows XP is running in classic style or without visual styles. The function called can also be used to tell theme color if themes are on. If themes are not on then the function will fail and this code will trap the error and return False. REQUIRES "themeui.dll" Should be on Windows XP versions because this is the theme system. THIS FILE IS NOT THE ONE USED FOR DRAWING THEMES. Please let me know of any problems. I reply to all emails. Also check out my other cool submissions. THIS IS DONE IN ONLY 14 LINES OF REAL CODE NOT COMMENTS

Inputs
No Inputs

Assumes
Look under X:/Windows/System32/ for the Themeui.dll file where X = Windows System Drive

Returns
Boolean

Side Effects
May not work in systems that are not XP. Please let me know!

API Declarations
None. Uses the dll for calls

Rate WebOne Windows XP Classic Theme On Detection Minor Fixes (4(4 Vote))
WebOne Windows XP Classic Theme On Detection Minor Fixes.bas

WebOne Windows XP Classic Theme On Detection Minor Fixes Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters