|
|
#1 |
|
Lively Member
Join Date: Aug 04
Posts: 92
![]() |
VB6 - JPEGs as wallpapers (without conversion)
Hi there,
today I want to show you how to access IActiveDesktop to set a new wallpaper (Active Desktop has to be enabled). Actually nothing special, just declare IActiveDesktop in a type library, and instance it with the "new" keyword in VB. In this example I did it without the use of a type lib. Hardcore!! ![]() Put the following in a module: VB Code:
How to use it: VB Code:
|
|
|
|
|
|
#2 |
|
New Member
Join Date: Dec 05
Posts: 2
![]() |
Re: VB6 - JPEGs as wallpapers (without conversion)
Hello,can you show how to modify this code to apply Active Desktop Item?? And how to make use of this COMPONENT to setup the Active Destop Item setting??
http://msdn.microsoft.com/library/de.../component.asp VB Code:
Thanks for any guide. Last edited by ktxmax; Dec 11th, 2005 at 07:00 AM. |
|
|
|
|
|
#3 |
|
Fanatic Member
Join Date: Jan 06
Location: O'er yonder
Posts: 1,020
![]() ![]() ![]() |
Many thanks for this rm_03. You've understated your code! It works for HTM files too.
Last edited by schoolbusdriver; Jun 30th, 2006 at 02:59 AM. Reason: Too much waffle. |
|
|
|
![]() |
|
||||||
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|