r/visualbasic • u/WorldlinessSlow9893 • Nov 18 '25
VB.NET Help Need someone to help me create an "Active Desktop" like a webpage. (Partically it is related to Visual basic)
/r/AskProgramming/comments/1p0710j/need_someone_to_help_me_create_an_active_desktop/
5
Upvotes
1
u/Curt-Bennett Nov 18 '25
Your description of the project doesn't make a lot of sense to me. "Active Desktop" was a feature back in Windows 95/98. Are you trying to build a whole new GUI for modern Windows that has those features? That's a really big project.
2
u/Mayayana Nov 18 '25
I'm afraid that you might be too late to that party. Active Desktop was Microsoft's initial move into advertising and "webbifying" everything in sight. I think the Desktop was actually an IE webpage. I know that folder windows were.
Microsoft had the idea that we'd want to watch ads from the likes of Disney on our Desktops by subscribing to a "channel", which would display ads in a frame and switch them regularly. (Remember the "Channel Bar" billboard stuck to the Desktop? There were even icons for companies like Citibank and Forbes in the Windows\Wed\Media folder, representing corporations that had signed on to Gates's dubious fantasy.) That may sound nutty, and it was, especially given the Internet speeds at the time. People were waiting 45 minutes to download a cat photo in email. But it wasn't completely off the deep end. 1998 was the beginning of Internet fever. Bill Gates was credited with genius for "turning the Microsoft ship on a dime" to focus on Internet. He did no such thing. All he really did was to superficially webbify, in order to ride the fad, which dovetailed with the strategy to screw Netscape. Netscape couldn't compete with ActiveX and embedded IE.
There was some degree of insight there, though. Gates thought of ads in Windows and kiosk thin clients decades before cellphones showed the way to cloud control of computer usage. There just wasn't the infrastructure, the app model, or the Internet speeds for Gates's fantasy of world domination to work. (Likewise with Passport, Hailstorm, Longhorn and Kin cellphones. MS are simply not an Internet company. They're a business software company.)
A folder window in AD was actually an IE browser window. The folder items were a ListView. The ShellFolderView COM object provided access to do things like respond to a selection change, list files, etc. (And still does in a reduced version.) The rest of the window could be any percentage of the window area and was 100% customizable with HTML. I had links to common folders on mine, and even a link to a calculator, which I wrote as a local webpage.
As I recall, I think it was webvw.dll, embedded in the page, which provided a lot of functionality. The basic template was folder.htt, a slightly modified HTML file.
If you looked at Spy++ in Win98 you'd see that each folder window included an InternetExplorer_Server (sp?) class window. That was the browser. In later versions, when IE added tabs, it got more complicated but still worked. Eventually, IE was removed and ShellFolderView became a wrapper object to maintain backward compatibility. A folder window is still officially an IE instance, but the IE DOM is not there because there's actually no IE browser window there.
Maybe more than you wanted to know... I use VB6 and haven't got involved with shell programming in Win-64-bit, so I don't know exactly what's available. I know people have written software to change the taskbar and start menu. But I'm assuming those are shell extensions like band objects. Can .Net even make shell extensions? I don't know.
These days, the guts of IE are still there to support HTAs, but it's no longer embedded in the system. So the only way to do what you want that I can imagine would be to write a total Explorer replacement, embed an IE window in that, and write the functionality from scratch. As much as I'd like to have my customizable webpage Explorer Bar back, I think what you want to do would only work as a novelty.
Also, one other note: Win10/11 have become a very brittle moving target. I've found that tweaking and allowing Windows Update don't go well together. MS are constantly changing things. An example is ExplorerPatcher, which I've used on Win11 22H2 to bring back the QuickLaunch toolbar, but on Win11 24H2 it breaks the system. Why, given that 10/11 in all versions are basically the same Windows system files? Beats me. I just block updates now on all my systems. But that's not a realistic requirement for a shell extension.