Quick Search for:  in language:    
NEW,SETUP,SEE,BELOW,INFO,AND,API,Version,COMP
   Code/Articles » |  Newest/Best » |  Community » |  Jobs » |  Other » |  Goto » | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
Visual Basic Stats

 Code: 3,014,970. lines
 Jobs: 119. postings

 How to support the site

 
Sponsored by:

 

You are in:

 
Login



Latest Code Ticker for Visual Basic
Click here to see a screenshot of this code!Xp Frames , Xp List Box And XpTextBox (updated!)
By ali s on 7/2

(Screen Shot)

Click here to see a screenshot of this code!Excel Into a webpage
By Bill Donahue on 7/2

(Screen Shot)

Unroll2 - Update
By Cyber Chris on 7/2


MultilinePWD
By Cyber Chris on 7/2


Click here to see a screenshot of this code!Song/Poem Assistant
By Peter Rowan on 7/2

(Screen Shot)

Click here to see a screenshot of this code!GPA Cal
By KBM-00 on 7/2

(Screen Shot)

Click here to see a screenshot of this code!Connection Via the Telephone line.No internet or cable.Just the telephone line
By Nass ClickMan on 7/2

(Screen Shot)

DBTool
By Make Strömberg on 7/2


Click here to see a screenshot of this code!MSChart Simple Example
By Sebastian Pereira on 7/2

(Screen Shot)

Click here to put this ticker on your site!


Add this ticker to your desktop!


Daily Code Email
To join the 'Code of the Day' Mailing List click here!





Affiliate Sites



 
 
   

Virtual Desktop Manager (UPDATED VERSION 3.0)

Print
Email
 
winzip icon
Submitted on: 6/13/2002 5:34:43 PM
By: Matt Crowley  
Level: Intermediate
User Rating: By 59 Users
Compatibility:VB 4.0 (32-bit), VB 5.0, VB 6.0

Users have accessed this code 7262 times.
 

 
     NEW Version 3.0! COMPILED SETUP AVAILABLE, SEE BELOW FOR INFO. NEW FEATURES AND CREDITS BELOW. Do you have so many programs running at once that you go crazy trying to keep at least a little organized? Do you want to be able to manage multiple desktops like you can on Linux/Gnome-based interfaces? VirtualDesktop is the exact answer to this problem. This simple yet powerful utility will alow you to have up to 10 'virtual' desktops running on your system. It does this by scanning for valid windows (ignores tasks) and manages them with API calls. This code is well commented and not very large. I hope you like the utility and please comment to help me improve it. Please vote. Thanks. NEW FEATURES FOR VERSION 2.0: - Instant access for each desktop with new Hotkeys (CONTROL + F1, CONTROL + F2, etc.); - Popup menu now checks the current desktop for better organization; - Tray icon signifies the current desktop number; - The program 'remembers' background settings for each of your 10 desktops; NEW FEATURES FOR VERSION 3.0: - User can Add and Remove Desktops; - Expanded program to allow up to 1024 desktops; - Improved tray popup menu; - Mouse over tray icon reveals current desktop; - Customizable hotkey configuration with the new VirtualDesktop Settings window; - Menus now as arrays which allow for easier coding (Thanks to Bob Shull); THANKS AND CREDITS go out to Bob Shull for his menu array coding, Clint LaFever for his suggestions and ideas, and to everyone who has commentes and contributed. If you want to help out and contribute to this ongoing project, check the top of the code in frmSettings for email information. COMPILED SETUP AVAILABLE: I created a setup program with the compiled version 3.0 in it. Its available for download at: http://www.amoebasolutions.com/software/setup.exe Thanks for all your votes and comments.

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzipto decompress it.

Virus note:All files are scanned once-a-day by Planet Source Code for viruses,but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:
1)Re-scan downloaded files using your personal virus checker before using it.
2)NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
3)Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
1) You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.   
2) You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
3) You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
4) You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 1 submission(s) by this author

 

 
Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
Reason:
 
Your Vote!

What do you think of this code(in the Intermediate category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor See Voting Log
 
Other User Comments
6/13/2002 5:45:21 PM:Dave
This should be code of the year, great 
job!!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/13/2002 6:47:11 PM:John Galanopoulos
Missing an msghook.ocx... 
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/13/2002 8:44:28 PM:Julien Gascon Samson
just rename msghook.oc_ to 
.ocx
great code! 5 globes
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/13/2002 9:47:02 PM:Punk
holy jesus, and i thought having 2 
desktops was nice...
one thing, 
shortcut keys  =D
like control+number 
of desktop or something, just a 
suggestion
very nice!
Punk
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/13/2002 9:48:08 PM:Ryan
Very very nice, 5 globes
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/13/2002 9:59:46 PM:maxime caron
i al ready posted a better virtual 
desktop prog that also clone the 
desktop wallpaper and icon but it is a 
nice code anyway
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/13/2002 10:03:05 PM:Adam Szabo
I wish they could give this, "Code of 
the Century" award, because it is 
SOOOOO GOOD!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/13/2002 10:58:47 PM:The Code Monkey
Thanks for all your comments.  Punk, im 
working on CTRL+number for easier use, 
thx for the suggestion and thanks to 
all for the votes.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/14/2002 12:51:01 AM:Dave Lein
Good code but I think I'm going to 
stick with NVidia's Nview which can 
handle 30. But great code anyway.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/14/2002 1:14:18 AM:ProASP
Fantastic stuff, I have been wanting to 
do this kinda thing for years ! now I 
finally can, thanks to your supreme 
code, 5 globes from me. note : It works 
perfect on win98 too :-)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/14/2002 1:22:43 AM:The Code Monkey
Hey ProASP. Thanks for the comment and 
the vote. Also, thanks for the OS 
compatibility update.  I was meaning to 
put that in my explination, but so far 
we got compatibility in 98 and XP, if 
anyone else has a different OS comment 
with a report on how it works in 
yours.
--Matt
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/14/2002 2:29:55 AM:TRON
This project works great in Windows 
2000 Advanced Server! :)
I use Service 
Pack 2 by the way for those who cares. 
5 globals from me :P
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/14/2002 2:57:48 AM:Nick Spliff
Amazing, definately amazing work there 
matey. Five globey things from me.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/14/2002 3:32:08 AM:Daniel Pramel
I installed the Virtual Desktop Manager 
from Microsoft last week, but now i 
think about to remove it :-) it crashes 
sometimes, but your code...
cool - 
easy idea but very powerful.
Thanks 
for sharing it
5*
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/14/2002 3:39:56 AM:Gary
Cool stuff. Works fine on Win2k pro. 5*
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/14/2002 4:04:26 AM:Madlew
WOW, this is great on Win2K!
Well done
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/14/2002 4:54:45 AM:Madlew
Just one question.
What does the 
msghook control supposed to do? Thanks
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/14/2002 4:55:15 AM:Greg De Haas
Very good.
One suggestion, isnt there 
a way of moving a window from one 
desktop to another?
Im particularly 
impressed at how many people bother to 
comment on it (nobody bothers with my 
C++ submissions)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/14/2002 4:57:35 AM:Madlew
Sorry about the previous coment, I just 
work it out. What a plonker I am.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/14/2002 6:35:16 AM:XoduS
Congratulations ! This is indeed a fine 
piece of work. Another example of how 
much is possible with just VB !
Keep 
it up !
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/14/2002 6:59:16 AM:navstar16
gr8 keep it up, nice code 5 globes
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/14/2002 7:18:01 AM:Walter Brebels
Verry nice indeed
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/14/2002 7:26:09 AM:Walter Brebels
Yet verry simple code, so verry 
powerfull, wish i could give you a 10, 
hope you won't mind me using your code 
(of course your name will be in the 
credits),
Thanks
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/14/2002 9:29:46 AM:Jose M Serrano
oohhh boy 
What I can say !!!
this 
a piece of art. Perfect & Great !!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/14/2002 11:26:12 AM:The Code Monkey
Thanks again to everyone for the 
comments. To Walter Brebels: Use the 
code all you want, I dont mind, thats 
why its on psc.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/14/2002 11:32:46 AM:Nacho
This thing is AWESOME!  5 Globes
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/14/2002 12:09:39 PM:Loather
it would be better if it also gave you 
a new desktop
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/14/2002 2:28:16 PM:Adam Hall
Brillaint. Well done. There was a 
pretty good program which I used to 
use. However, it was old and shareware 
and obviously didnt come with source. 
So thanks very much dude. 5 globes.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/14/2002 2:33:02 PM:< Bob Shull >
Very nice -- One Suggestion though, If 
you use control arrays for your images 
and menu items you could reduce your 
code down to 1 sub vs 10 subs for your 
menu click event.  I did this with very 
little effort.  It makes for easier 
changes later, you only have to change 
it once vs 10 times.  Great Program 
anyway just a suggestion.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/14/2002 7:42:30 PM:The Code Monkey
Hey everyone.  Thx again for the 
comments.  I talked to Bob Shull and he 
sent me some code to add to the prog.  
Im going to update my zip file later 
tonight with that change along with the 
ability to have up to 1024 desktops 
along with customizable hotkeys.
-- 
Matt
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/15/2002 2:19:45 AM:The Code Monkey
Hey everyone.  I updated this post by 
changing the zip and adding version 
3.0.  As you can read from above, there 
is a ton more options, and it all has 
to be accredited to you guys and your 
ideas.  If you have any comments, 
questions, or critisizims on 3.0 post 
em up and ill be glad to update 
it.
-- Matt
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/15/2002 3:32:40 AM:Jason
Its me again. Buddy i discover a 
problem here. Why is that i got a 
message telling 
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/15/2002 3:33:24 AM:Jason
Line 119: Cannot load control 
tspSettings; license not found.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/15/2002 4:02:13 AM:Kenny Lai, Lai Ho Wa
Somebody bigger than Microsoft! 5 stars!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/15/2002 9:49:51 AM:Alex MF
Works great on Windows ME!
Just one 
thing programs like winamp don't 
function properly - Only the main form 
gets hidden.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/15/2002 1:49:06 PM:The Code Monkey
Hey everyone. I created a setup program 
with the compiled version 3.0 in it. 
Its available for download 
at:
http://www.amoebasolutions.com/so
ftware/setup.exe 
Thanks again for 
all your comments and votes.
-- Matt
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/15/2002 10:14:36 PM:OpcodeVoid
This code sux, u broke rules, u summit 
compile ocx controls, this should be 
kick, I only following rules.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/16/2002 12:55:50 AM:The Code Monkey
Im sorry you feel that way OpcodeVoid, 
i didnt mean to make people angry with 
this sumbission.
-- Matt
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/16/2002 2:36:08 AM:The Code Monkey
Hey again OpcodeVoid.  I did a little 
"research" on PSC about how you 
"follow" the rules so often. It seems 
as though you are pissed because your 
entry was removed from C++ world, so 
not only did you post a entry that is 
not code, you have started to vote 
other entries on the leader board in VB 
world with a 1 rating (ex. Commercial 
XPCalendar(Updated on 14/06/2002) by 
Zhu JinYong). OpcodeVoid, just because 
you have issues with PSC why do you 
have to take it out on those who are 
really trying to work on their code and 
share it with the PSC community. I'd 
ask you to please stop doing this to me 
and my fellow programmers at PSC.
-- 
Matt
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/16/2002 10:15:56 AM:Dhaval Faria
Hey.. I am getting error Out Of 
Memory.. whats this mean?? please help 
me out.. please mail me..
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/16/2002 12:18:22 PM:Dhaval Faria
Hey.. thanks for mail me.. now there is 
no error.. actually that error was 
coming.. becoz I didnt register that 
.ocx file..
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/16/2002 8:08:24 PM:çh@d $êTTêRbô
it does not work on my computer : ( i 
give it a 2. i will make an exception, 
if you send me the backgrounds and 
appearance of XP, i will give you a 
perfect five and i will tell all my 
frends to vote and they will do a 5, 
you think about that.
-CHad
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/16/2002 9:09:54 PM:Zhu JinYong
Creative idea.Thanks for Sharing it 
with PSC World.5 Balls from me.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/17/2002 4:12:42 AM:Charles Sollenberger
Gr8 Code 5 thingies from me. thx for 
sharing
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/19/2002 4:39:26 AM:Mohan
works great on win2000. 5 globes
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/20/2002 3:07:26 AM:Nick
Best I've ever seen: 5 from me
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/30/2002 12:42:09 AM:Chuckling Clown
you should make the background the same 
as the first one.  it is ugly seeing 
the backcolour instead of the wallpaper.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
7/13/2002 12:58:24 PM:Adnan
Nice Job 100 Globes
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/11/2002 9:15:50 AM:Phillip De Suze
Great work keep up the good work I 
can't wait to see what you will come up 
with next!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/22/2002 7:40:48 AM:luke20au
EXCELLENT, but could you had it for 
each desktop has it's each intervidual 
theme?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/22/2002 3:03:27 PM:PADSoft
I have just dloaded and run your 
Virtual Desktop project... and I do not 
need to see the code: 5 globes to it. 
It's nice, well finished and INCREDIBLY 
useful for people like me that can help 
having 25 windows open at the same time 
:)
Keep this good work!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/30/2002 11:27:55 AM:Charles R
You've definately got my vote * * * * *
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
11/13/2002 4:44:04 AM:
Missing an msghook.ocx... 
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/6/2003 6:39:07 AM:
Rename the OCX!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/11/2003 4:49:22 AM:
nice
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/20/2003 11:01:14 AM:Phillip Ponchot
Really great code for Virual Desktop.  
I appreciate you sharing the code. 
Phillip
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/20/2003 11:01:24 AM:Phillip Ponchot
Really great code for Virtual Desktop.  
I appreciate you sharing the code. 
Phillip
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/3/2003 9:57:39 PM:
GREAT Utility !!!  A BIG 5 
Globes..
Where can I find the source 
code for the msghook.ocx
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/22/2003 7:38:49 PM:CodeFester
I like it alot.  5 nuts from me.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author in your name.

NOTICE: The author of this code has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular code, please click here.
 
Name:
Comment:

 

Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Feedback | Customize | Visual Basic Home | Site Home | Other Sites | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyright© 1997 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.  Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.