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

  • On-demand Event Event Date: March 27, 2014 Teams need to deliver quality software faster and need integrated agile planning, task tracking, source control, auto deploy with continuous builds and a configurable process to adapt to the way you work. Rational Team Concert and DevOps Services (JazzHub) have everything you need to build great software, integrated seamlessly together right out of the box or available immediately in the cloud. And with the Rational Team Concert Client, you can connect your …

  • Live Event Date: May 6, 2014 @ 1:00 p.m. ET / 10:00 a.m. PT While you likely have very good reasons for remaining on WinXP after end of support -- an estimated 20-30% of worldwide devices still are -- the bottom line is your security risk is now significant. In the absence of security patches, attackers will certainly turn their attention to this new opportunity. Join Lumension Vice President Paul Zimski in this one-hour webcast to discuss risk and, more importantly, 5 pragmatic risk mitigation techniques …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds