Important alert: (current site time 7/16/2013 3:09:02 AM EDT)
 

winzip icon

Exploit Windows

Email
Submitted on: 12/1/2001 10:46:05 AM
By: Ϋάšћ  
Level: Intermediate
User Rating: By 69 Users
Compatibility: VB 5.0, VB 6.0
Views: 35100
author picture
(About the author)
 
     For the first and only time, all those powerful Win32 APIs at one place! Yeah.. if you want to create powerful Windows software... these set of classes I've attached lets you exploit every bit of Windows. It contains 10 classes!!! with over dozens of properties and methods in each of them. The classes are: 1)Accessibility 2)Font 3)Keyboard 4)MemoryStatus 5)Mouse 6)NonClientMetrics 7)PowerStatus 8)SystemColors 9)SystemInfo. Altogether, there are over 150 written functions for you!! A must have if you are a serious Windows programmer. Please vote as I've put alot of time an effort into this...
 
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.

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 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
12/1/2001 11:34:33 AMAce315

I gave you a good rating on the code, however, you need to change the title, do you know what an exploit is? I've looked up the dictionary definition for you: A security hole or an instance of taking advantage of a security hole. these are not security holes, you can do a lot of the stuff your program does with the explorer shell.
(If this comment was disrespectful, please report it.)

 
12/1/2001 11:41:48 AMM@verick

Looks like this took a lot of work. Nice code.
(If this comment was disrespectful, please report it.)

 
12/1/2001 11:46:34 AMM@verick

There are other definitions of the word 'exploit'. It's not such an inappropriate name.
(If this comment was disrespectful, please report it.)

 
12/1/2001 4:32:04 PMAce315

oh.. alright then.. no problems =)
(If this comment was disrespectful, please report it.)

 
12/1/2001 4:41:31 PMNathanael B

Exploit: to make productive use of, utilize, success, feat
(If this comment was disrespectful, please report it.)

 
12/1/2001 9:15:00 PMYash Kumar (Author)

I thought we were suppose to discuss the functionality and not the name.. are all the APIs working.. Some will only work on Windows 2000 and above. Are there any problems.. Yes, this took me a whole lot of time to do. I've tested each API but if you find any problem, please tell me.
(If this comment was disrespectful, please report it.)

 
12/2/2001 10:14:26 AMCoyote

Fantastic.. 5+ globes. This one is a real keeper. Really appreciate your sharing this and all the work it took to build it. Thank You !
(If this comment was disrespectful, please report it.)

 
12/3/2001 8:57:49 AMNorm Cook

Great player. Some comments:
1) Code is hard to read when the controls have their generic names. I used the Search/Replace dialog to replace every instance of Image3 with imgPlay for ease of following code. Also, I liike my code indented to facilitate following program logic. I use an indispensable freeware addin called Smart Indenter, available at http://www.bmsltd.co.uk/Indenter/Default.htm
2) Perhaps add a couple of sliders for Volume & Playback status.
3) While the API method is fine, it has the same drawback as many other MP3 players, namely slow to start because the entire MP3 is loaded into memory before the song starts. There are other technologies (XAudio & WinAmp which uses some other similar engine) which start playback immediately because the music is 'streamed'. If interested, try the developer page at www.winamp.com. Also, have a look at www.multimediasoft.com and www.playmediasystems.com whose players use XAudio.

Once again, great player & coding.
(If this comment was disrespectful, please report it.)

 
12/3/2001 8:22:31 PMYash Kumar (Author)

Norm, I think you are mistaken. This isn't an MP3 Player
(If this comment was disrespectful, please report it.)

 
12/4/2001 4:55:23 AMDan F

5 from me just for the mousekeys section of the accessibility class. Severe shortage of mice in the test lab here, so mousekeys is used often. But, whenever we set up new machines, it is one of the features we often forget to turn on when making the ghost images :(
Very neat code too.
(If this comment was disrespectful, please report it.)

 
12/4/2001 9:16:35 PMtreesprite

Yep...it's a FULL Moon...
Great code, Yash.
5 globes from me.
(If this comment was disrespectful, please report it.)

 
12/18/2001 2:36:32 AMTurki A. Umairan

Great code, five globes.
(If this comment was disrespectful, please report it.)

 
12/18/2001 11:22:49 AMLori

5 for the memory module
(If this comment was disrespectful, please report it.)

 
12/20/2001 11:51:01 PMAl Moledina

Good stuff, 5 g's
(If this comment was disrespectful, please report it.)

 
12/28/2001 12:08:50 PMPedros Gonzalez

This is Some Chunk of Code.
Superb Cheers, it's exactly what I needed.

I've seen companies wanting $500 dollars for an exe that does exactly the same thing. Mabey you should have marketed it.
(If this comment was disrespectful, please report it.)

 
1/9/2002 2:04:09 PMDuluth

Great code! I've done something I can't correct, though - using FixNCM(), I've altered ncm.BorderWidth to 0 then back to normal. The problem is that my Task Bar icons, Title Bar icons and Min/Max/Close buttons are now approximately 4 pixels by 4 pixels...

Any suggestions?

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

 
2/19/2002 1:50:55 AMMarc Lindenbach

Whoa, that is some awesome coding man! I'm gonna have to take a while to read through it all, You should make an application that takes atvantage of these classes just to show people what they can do! Good job, you get exelent from me!
(If this comment was disrespectful, please report it.)

 
2/24/2002 12:12:35 AMDarkThief (Chris Ober)

This is the best code ive seen on PSC in a while. You get excellent from me!
(If this comment was disrespectful, please report it.)

 
2/26/2002 11:17:11 AMYash Kumar

Thanks all for all the appreciation. In March, I hope to realease a fully functional windows tweaker based on this work. If anyone wants to help me, i would greatly appreciate it. I myself don't have the stamena to write all the code myself.
(If this comment was disrespectful, please report it.)

 
3/1/2002 12:56:09 AMFeuchtersoft

Cool! A comprehensive encyclopedia of what is possible with win API. This is code worth keeping. Excellent! My rating: *****
(If this comment was disrespectful, please report it.)

 
3/1/2002 10:51:34 AMVB Elite Tabren

Just one problem I have noticed. Your code is not 100% compatible with VB5. You prepared it in VB6 which inserts certain property entries into the modules that cause loading errors (Retained value in the vbp file) or compile errors (first 6 lines of your class module files). You may wish to find a converter file and add a reference to it for those of us still cursed to be running VB5.
(If this comment was disrespectful, please report it.)

 
7/15/2002 2:12:50 AMDaniel Keep

Brilliant. This must have taken an age and a half to do: five round, shiny globes from me.
(If this comment was disrespectful, please report it.)

 
8/1/2002 1:21:40 AMMaxwolf

You are a god, keep up the good work man!
(If this comment was disrespectful, please report it.)

 
6/14/2003 1:13:36 AM

can you help me in writing an application that can give the file name which are being used by a paritcular application

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

 
6/23/2003 12:46:38 PMLogicGenius (FaranM.)

That is not fair man. I think i have seen this code in VB Developer Handbook published by Sybex,
(If this comment was disrespectful, please report it.)

 
1/25/2004 2:37:50 AMRon McDowell

Lies. I have alot of their books, nothing like this, or even close.
(If this comment was disrespectful, please report it.)

 
7/6/2004 5:46:55 PMEvil_Bob

A better list for the ProcessorLevel
' 3 Intel 80386
' 4 Intel 80486
' 5 Pentium
' 6 Intel Pentium Pro or Pentium II
' 7 MIPS_R4000
' 8 HITACHI_SH3
' 9 HITACHI_SH4
' 10 StrongArm
' 11 Arm 720
' 12 MIPS_R5000
' 13 SHx - SH3 Or SH3 DSP
'
' 15 Intel Celeron
(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.