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: September 23, 2015 @ 1:00 p.m. ET / 10:00 a.m. PT The cloud is not just about a runtime platform for your projects – now, you can do your development in the cloud, too. Check out this upcoming eseminar to learn how the cloud improves your development experience and team collaboration. Join Dana Singleterry, Principal Product Manager for Oracle Dev Tools, as he discusses how to simplify every aspect of the development lifecycle, including requirements gathering, version management, code …

  • Lenovo recommends Windows 8 Pro. "I dropped my laptop getting out of the taxi." This probably sounds familiar to most IT professionals. If your employees are traveling, you know their devices are in for a rough go. Whether it's a trip to the conference room or a convention out of town, any time equipment leaves a user's desk it is at risk of being put into harm's way. Stay connected at all times, whether at the office or on the go, with agile, durable, and flexible devices like the Lenovo® …

Most Popular Programming Stories

More for Developers

RSS Feeds

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