Locating Desktop Icon Positions using Memory Mapped Files

Problem:

Using Sendmessage with LVM_GETITEMPOSITION causes page faults in Explorer.

Resolution:

Using memory-mapped files to do the cross process messaging needed.

Screen Shot

Code:

Public Domain

The following code is a VB6 project, all the modules can be used in other 32 Bit versions of VB.

If using an earlier version, start a new project and paste the code into the Form1 form. And then add the .bas module.


Includes Source code to:

  • Locate ALL the Desktop Icons
  • Print directly to the Desktop
  • Refresh the Desktop
  • Swap Icon Positions


The code is fully commented.


Download zipped project file (7k)



Comments

  • HWGZbH gg oR qgM kwXL kF

    Posted by vaHVxdnUQS on 06/19/2013 04:17pm

    front page tramadol side effects - tramadol 50 mg for ultram

    Reply
  • karen millen sale

    Posted by karen millen dresses on 06/07/2013 10:47am

    8 kgs addiction advice app beachbody before and after beginner breakfast calories community craig gorman day1 ddpyogavsrob dedication diary diary journal diet diet nutrition diet and exercise diets exercise fat fitness fitness exercise food fridaynightlights funny goal goals green tea health health and fitness healthy eating insanity inspiration introduction lose weight lose weight fast loss lovemylife martial arts mindset motivation newbie newcomer new member ntm nutrition obese obesity p90x pants rant fatness diary recipes support top foods urgent water water lose weight weighloss surgery weight weight history weight loose weight lose weight loss weightloss weight loss diary weight loss noobie weight lost young??angerous Liaisons Credits: Directed by Jinho Hur and starring Ziyi Zhang, Donggun Jang and Cecilia Cheung. ghds LCD isn't bad, but again, this was on a higher end NEC LCD that could handle the odd resolution. ghd sale Me too and here the sea is crystal clear cristalino. I suppose you would miss out on the stimulation from touching of the skin which a good robot partner could provide but why not fill in those boring moments of the day with a good orgasm at the press of a button. www.lvlviloveu.com a rating of 1 or 2 will lower it.ghds You usually get these filters that allow you to look at specific products. ghd straighteners QuickerFill shaker bottle with 36 fl. . mulberry handbags Antigua Barbuda Argentine. louis vuitton sac Genres: Comedy, Drama Movies want to be liked, but often it's really hard to like them back. karen millen sale Motorcyle fatality No. pinkstraightener.webeden.co.uk Hmm.karen millen dresses uk Unions pledge to press onMany employee unions have pledged that Wednesday's strikes were only the beginning of their resistance to the changes, but European Union Commission President Jos Manual Barroso said there was little option to the austerity measures, despite the "social knockon effect. Esta vez, Squyres desempea un papel de apoyo. ghd pink Namibie. ghd pink I want you to call a meeting in your home with your children and loved ones. louis vuitton paris they'll vacuum, mop, sweep, dust, and they will even clean your house while you are at work. www.sacslongchamppascherrr.com The currency is the same as the UK so sterling is used, don't get caught out!

    Reply
Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Live Event Date: May 11, 2015 @ 1:00 p.m. ET / 10:00 a.m. PT One of the languages that have always been supported with the Intel® RealSense™ SDK (Software Developer Kit) is JavaScript, specifically so that web-enabled apps could be created. Come hear from Intel Expert Bob Duffy as he reviews his own little "space shooting" game where the orientation of your face controls the aiming reticle to help teach developers how to write apps and games in JavaScript that can use facial and gesture …

  • Live Event Date: April 30, 2015 @ 1:00 p.m. ET / 10:00 a.m. PT It's likely today that you'll need to recover a single database far more than you'll need to recover all of SQL Server – and yet, your backup and recovery strategy focuses on recovering the enterprise, and not daily recovery needs of that enterprise. Join Rick Vanover from Veeam, as we discuss the hype and reality of recovering your SQL databases at a granular level, tools vs. backups, where virtualization fits in, and how to successfully …

Most Popular Programming Stories

More for Developers

RSS Feeds

Thanks for your registration, follow us on our social networks to keep up-to-date