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: December 11, 2014 @ 1:00 p.m. ET / 10:00 a.m. PT Market pressures to move more quickly and develop innovative applications are forcing organizations to rethink how they develop and release applications. The combination of public clouds and physical back-end infrastructures are a means to get applications out faster. However, these hybrid solutions complicate DevOps adoption, with application delivery pipelines that span across complex hybrid cloud and non-cloud environments. Check out this …

  • Hundreds of millions of users have adopted public cloud storage solutions to satisfy their Private Online File Sharing and Collaboration (OFS) needs. With new headlines on cloud privacy issues appearing almost daily, the need to explore private alternatives has never been stronger. Join ESG Senior Analyst Terri McClure and Connected Data in this on-demand webinar to take a look at the business drivers behind OFS adoption, how organizations can benefit from on-premise deployments, and emerging private OFS …

Most Popular Programming Stories

More for Developers

RSS Feeds