Important alert: (current site time 7/16/2013 3:04:05 AM EDT)
 

winzip icon

SuperCode XP

Email
Submitted on: 10/1/2002 2:01:36 AM
By: Shantibhushan Naik  
Level: Advanced
User Rating: By 80 Users
Compatibility: VB 4.0 (32-bit), VB 5.0, VB 6.0
Views: 47897
author picture
(About the author)
 
     Well, now VB developers do not have to worry any more about API's for having XP style custom menus, translucent windows, system information, system tray access, multiline and balloon tooltips. All are under *one* roof. Just a reference to a DLL to your VB project and that's it. With just one line of code, you can create *wonders* to VB code and that too very very professional. Making Developer's Life Easier.. !!

 

Windows API/Global Declarations:

Can't Copy and Paste this?
Click here for a copy-and-paste friendly version of this code!
'**************************************
'Windows API/Global Declarations for :SuperCode XP
'**************************************
Rem /* You find most of them in source code,
Rem * Unzip contents to a seperate folder,
Rem * and run *setup.bat* for an automated
Rem * demonstration,
Rem */
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 Winzip to 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 2 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Advanced 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

10/1/2002 2:29:21 AMZhu JinYong

Absolutely Break through!Work Well on Win98 Sec.
(If this comment was disrespectful, please report it.)

 
10/1/2002 4:05:09 AM. .

Did Aki press the wrong button ? Excellent work, as usual :)
(If this comment was disrespectful, please report it.)

 
10/1/2002 4:19:59 AMjoyprakash saikia

It really a great genuine and Awesome stuff,but I can only give 5 globes.
:-) :-):-):-):-)




(If this comment was disrespectful, please report it.)

 
10/1/2002 4:54:27 AMPhantom Man

Works A Treat On Win2000!

As The Code Describes It Self - SuperCode.

A Fantastic Update On Your Old Version!

5 Globes.

Regards
Phantom Man
(If this comment was disrespectful, please report it.)

 
10/1/2002 9:28:44 AMD.W.

Has a lot of 5 globe voters coincidentally all up at 4AM voting 6 minutes apart...
(If this comment was disrespectful, please report it.)

 
10/1/2002 9:34:38 AM_James_

Best code i have seen on PSC for a long Time. 5 Stars
(If this comment was disrespectful, please report it.)

 
10/1/2002 12:06:14 PM

Excellent update....5 marbles from me.Great Addition to PSC
(If this comment was disrespectful, please report it.)

 
10/1/2002 4:28:16 PMUnruled Boy

you r just crazy!

fantastic code!!!

the depth of the directory structure is so long!!!!!!!!!
(If this comment was disrespectful, please report it.)

 
10/1/2002 4:30:20 PMUnruled Boy

5 globes from me!

thumbs up!!!!!!!!!!!
(If this comment was disrespectful, please report it.)

 
10/1/2002 4:41:06 PMUnruled Boy

it is so good that your code is well-commented.

keep up~~~~~~~~~~~~
(If this comment was disrespectful, please report it.)

 
10/2/2002 3:32:36 AMCode Master

Excellent code
(If this comment was disrespectful, please report it.)

 
10/2/2002 11:21:25 AM

Amazing!!!

But to the menu get the XP look we need to add it a image. But that's ok, 5 stars!

(If this comment was disrespectful, please report it.)

 
10/2/2002 12:27:07 PMMartin

Great work. Works well on Win98SE. I would prefer to load images from a res dll than using imagelist. Just some minor tweaks to do though. *****
(If this comment was disrespectful, please report it.)

 
10/4/2002 11:21:20 PMspeedy5

finally something good on psc!
(If this comment was disrespectful, please report it.)

 
10/4/2002 11:28:23 PMspeedy5

u forgot one thing, when u hover over a menu (the main thing like "file") it should become light blue, but hell, that whole thing is awesome! 5 stars
(If this comment was disrespectful, please report it.)

 
10/6/2002 5:05:16 AMAgus Ramadhani

very High level for your code :), it's nice man.... 5* for u.
(If this comment was disrespectful, please report it.)

 
10/9/2002 11:33:04 AMAnthony Neilsen

your code is OVER COMMENTED! - but this is a good thing!
(If this comment was disrespectful, please report it.)

 
10/13/2002 10:58:11 AMUnruled Boy

to:Shantibhushan Naik

would you please enclose the zip with the icons you use for this source code? if we wish to make it standalone from using the windows common controls, we need to use the standard icons for menus.
(If this comment was disrespectful, please report it.)

 
10/15/2002 1:57:58 AMBhushan Paranjpe

Nice Code,
5 Globes from me

(If this comment was disrespectful, please report it.)

 
10/16/2002 6:27:32 PM

SUPER code! Its hard for a beginner to understand but i figure it out how to fade my form. THE BEST PROJECT IN THE UNIVERSE and remember the name lostmoment, it might give you an award for this or you super future projects.
(If this comment was disrespectful, please report it.)

 
10/20/2002 5:17:42 AM

excellent !
thanks for code *****
(If this comment was disrespectful, please report it.)

 
10/24/2002 10:06:30 AM

As Unruled boy said, would it be possible to enclose the icons in a separate area of the zip.
Excellent code!
(If this comment was disrespectful, please report it.)

 
10/26/2002 3:33:58 AM

Simply Amazing!!!
5 globes from me....
Keep it up!
(If this comment was disrespectful, please report it.)

 
10/28/2002 6:35:02 AM

EXCELLENT!!! 5 globes!
(If this comment was disrespectful, please report it.)

 
12/19/2002 9:27:28 AMThe New iSoftware Company!

How do you get the corect colors?
(If this comment was disrespectful, please report it.)

 
2/4/2003 3:07:18 AMtibisan

U R THE MAN!! i don't know how this code flew by me. anyway, it's very much similar with some dll's that come for big money. whell done. 5G's worthed.
i think this site should post a 7 points possibility for those super-coders like you. in that manner, we could show our appreciation so much better.
(If this comment was disrespectful, please report it.)

 
2/4/2003 7:48:24 AM

Another Super Job!!! Keep up this great work, Naik!! You are My MAIN MAN!! I have learned more from 2 submissions of yours than I have learned in 15 years usung VB! Thanks for your generosity!
(If this comment was disrespectful, please report it.)

 
2/4/2003 8:09:41 AM

Thank you for sharing your valuable experience to help others. I appreciate people who give up personal time to educate others.
(If this comment was disrespectful, please report it.)

 
2/4/2003 10:16:54 AMAndrew

Just taking a quick look, it looks really good, some interesting techniques for some effects...a solid achievement for this site. Dan give this guy a CD!
(If this comment was disrespectful, please report it.)

 
2/4/2003 12:57:57 PMRyan le Fevre

Looks great! 5 Globs for you!
(If this comment was disrespectful, please report it.)

 
2/4/2003 1:04:30 PMChris Pietschmann

looks good
(If this comment was disrespectful, please report it.)

 
2/4/2003 4:42:18 PMMauro D

Great Work
I will use this

Simplemente fantástico
Lo mejor de los ultimos tiempos


(If this comment was disrespectful, please report it.)

 
2/5/2003 8:02:12 AM

Looks ok, keep up the good work. :)
(If this comment was disrespectful, please report it.)

 
2/5/2003 8:44:15 AM

Hallo,

echt super Programmiert. Ich habe ein Problem wenn man beim Entwickeln in VB den Beenden-Knopf drückt um noch was im Code zu ändern, stürtz VB ab. Man kann es dann nicht mehr ansprechen.

MfG SZange
(If this comment was disrespectful, please report it.)

 
2/12/2003 5:23:12 AM

SuperCodeXP is Super Code.
It will be more super if you hook the vb standard toolbar, buttons to be XP style.

Thanks
(If this comment was disrespectful, please report it.)

 
6/25/2003 12:00:43 AM

it's Excellent
(If this comment was disrespectful, please report it.)

 
11/14/2003 6:38:07 PM

Well I like what I see but when i try to compile it, I get the following error on this line.


Let Me.StatusBar.Panels("message").Text = "Hello " & System.User.Name

Error: Method or data member not found.

Any clue anyone? Still 5 stars..

Jim



(If this comment was disrespectful, please report it.)

 
11/15/2003 4:03:23 PM

Sorry all, the error was my fault and the programs works find. All I need now is some documentation as to how to use all the functions and off I go. Diffentley a 5 STAR program
(If this comment was disrespectful, please report it.)

 
1/22/2004 4:02:20 PM

"...more from 2 submissions than from 15 years of VB!" Uhm, yeah, k. What version Visual Basic was this guy using in 1988 I wonder?
(If this comment was disrespectful, please report it.)

 
3/22/2004 10:33:26 PMEl Mariachi

Great code...easy to use. two drawbacks though. If you change the menu caption then the bitmap gets cleared and pop-up menus have the OfficeXP look but lack the bitmaps. Keep up the good work and I look forward to any updates.
(If this comment was disrespectful, please report it.)

 
3/29/2004 5:54:29 AMMasino Sinaga

Thanks, Shantibhushan Naik... for sharing this. Really really an Excellent and Super Code. SuperCodeXP is better than Hookmenu.ocx that I've got from PSC also, and I've used to hook menu style became XP Style. SuperCodeXP works good in Win98SE, WinXP, WinNT4, and Win2000. This is not promotion, but this is a reality because I've tried it in those 4 OS, and it works great with the same good result. But HookMenu.ocx only works good in WinXP. Besides, In Win98SE, the maskcolor of menu looks not clearly, the pure color became purple, and in OS WinNT40, the image and the caption doesn't appear at all! Huh..! So, SuperCodeXP is really really super! Starting today, I replace all Hookmenu.ocx with SuperCodeXP in my project. 5 globes from me. Waiting for your another great job!
(If this comment was disrespectful, please report it.)

 
12/5/2004 8:51:49 PMNeil Arnold

This is a great piece of coding, and what is even better is that you took the time to share it with all of us.

I can see why it was a contest winner, it has taught me a lot. Thanks again
(If this comment was disrespectful, please report it.)

 
1/6/2005 10:27:21 PMDanizan

i don't know if u guys r aware of this, but if u r using the SystemInteroperatability.dll in a database app, the system hangs whenever there's a db error. press 'end' or 'debug'; hangs and terminates the VB. discard the dll and it works fine; even if there's DB error. debug/end will put u back to design-time. any thoughts mr naik?
(If this comment was disrespectful, please report it.)

 
1/17/2005 12:29:50 AMFrancis Humarang

!!!!!!!!DO NOT DOWNLOAD!!!!!!!
WARNING!!!!
If you guy's do not know...WELL this program may be good but the SystemInteroperatability.dll is disguised a s KEYLOGGER!!!!
The system monitor monitors it as Keybugger version 1.
WARNING....ANY MESSAGE YOU HAVE TYPED ON THE KEYBOARD WILL BE LOG AND THE REMOTE COMPUTER CAN OPEN THAT LOG, getting your credit card info, password, etc...

!!!!!!!!DO NOT DOWNLOAD!!!!!!!

(If this comment was disrespectful, please report it.)

 
3/8/2005 5:24:46 AMRob Crombie

Hi Francis,

Do you know where the log file is created and what it is called ?
We may not be able to read it but we can check if it is being created/amended.

Thanks for the 'heads up'

Rob


(If this comment was disrespectful, please report it.)

 
5/16/2006 5:49:48 AMkbhrx

whose said it's a supercode?
well my friends, you are so wrong
this is SuperMegaCode
thanks for sharing
5 globes for you *****
(wish i can give you 7)
(If this comment was disrespectful, please report it.)

 
6/26/2006 6:00:53 AMNeochrome

i have the source code to the DLL, i cant find any reference to the log file Francis Humarang is urging us not to down load, its inside zips
no winsock reference of anykind, no file appending. im having a closer look though, but so far not seeing it
(If this comment was disrespectful, please report it.)

 
5/22/2007 1:10:52 AMShantibhushan Naik

Thank you all who have rated this project highly, and have helped make it better by submitting your invaluable feedback, and comments.

I look forward to supporting you even after 5 years. :-)
(If this comment was disrespectful, please report it.)

 
10/26/2009 7:54:17 PMjim sie

are you MS insider? great
(If this comment was disrespectful, please report it.)

 
6/13/2011 3:41:45 AMRob C

Hi,
I decided to bite the bullet, and live with the need to register your DLL (in users PCs).
However, I avoid using MS Common controls, like the plague.
Your DLL (or perhaps just the demo program), appears to use the ImageList (thus requiring MS Common Controls).
If I used image controls instead, in the demo, would that avoid the need for MS Common Controls ?
Assuming that I get over that problem, would distributing your DLL (to my users), be as simple as me creating a tiny project, with a reference to your DLL, and using the P & D wizard to create a setup exe for them ?
I have posted separately, how I avoid Installing my programs.
(If this comment was disrespectful, please report it.)

 
6/13/2011 3:44:01 AMRob C

Footnote on how I distribute my pgms.
I never install my programs,
If I intend to use say the free Sgrid2 in my future programs, I create a tiny program with just that control referenced (I actually throw in ADO references and also VBSendmail).
I have no code in the project.
I use the P & D wizard to create a setup EXE, and I get the user to run that once only.
From that day on, I can create new pgms, and just give the user the exe, to place in say C:\Clipbuddy.
Those future programs will run without any installation.
(If this comment was disrespectful, please report it.)

 
6/13/2011 11:51:32 PMShantibhushan Naik

Hi Rob,

ImageList is referenced by the demo program, not my dll.

As long as Windows can load the required dll, it really does not matter when you bundle it within your original program or distribute it separately (similar to VB runtime).

I see no problems in either of your approach.
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.