Community of VE/MapPoint Users and Developers
This is a discussion on Garbage Anyone? within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Admins/Moderators, Does this one go "sticky" in the tech archives????? Re: Garbage collection, this does work, Calling MinMap does free ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Garbage Anyone? Does this one go "sticky" in the tech archives????? Re: Garbage collection, this does work, Calling MinMap does free up LOT AND LOTS of memory, in effect we are forcing windows to trim the working set of the map point app. Here I'm lloking for the hwnd of the mp app window, i have given it a different name, to integrate with my app, then simply send it a win msg that simulates the user clicking the minimize button on the window. NOTE: as stated earlier, programitically setting the widow to m,inimized DOES NOT WORK!!!! I call this routine periodically after the user moves from one breakdown job to another, and its keeps things fresh along the way! All I need do is programatically resize when user wants control again on the next job, OR you could just call this and a restore/maximize routine pertiodically at an appropriate application point. Use taskmanager and try this after using your map for a few minutes of serious zooming and navigation over say London/Paris or NY,LA etc, really crank up that memory usage before caling this! Private Sub MinMap() On Error GoTo EH_error Dim lHWnd As Long Dim lResult As Long lHWnd = FindWindow(vbNullString, "Map - Call Assist Vehicle Breakdown System") lResult = SendMessage(lHWnd, WM_SYSCOMMAND, SC_MINIMIZE, 0) Exit Sub EH_error: Err.Raise Err.Number, vbCrLf & App.Title & ".frmMain.MinMap()." & Err.Source, Err.Description End Sub |
![]() |
| Tags |
| garbage |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| garbage collection | SimonPearse | MapPoint 2006/2009 Discussion | 6 | 01-05-2007 12:10 PM |
| Garbage collection | daxydoggie | MapPoint 2006/2009 Discussion | 3 | 05-04-2005 12:35 PM |
| This forum is GARBAGE !!! | Anonymous | MapPoint 2006/2009 Discussion | 4 | 12-30-2004 01:53 PM |
Flights from Cardiff
Get the latest information for flights from Cardiff online through Holiday Hypermarket. Check out flight arrivals and departures in just a few clicks.
Turkey Weather
Check out Turkey Weather - Travel Counsellors details information on Turkey including, weather, flights and accommodation.
Holidays in Italy
Holidays in Italy boast some stunning countryside as well as a beautiful coastline. You can even visit an active volcano like Stromboli or Etna. Book at dealchecker.co.uk.
St Lucia Holidays
St Lucia holidays offer something for everyone. Enjoyed by families and young couples alike, St Lucia is a great destination. See online!
Cheap Portugal Holidays
Want to know what the best time to book cheap Portugal holidays is? Well have a look on ulookubook.com for some useful information to save your cash. Golf, tennis and cycling are all very popular here.
Inclusive Holidays
At Travel.co.uk travel comparison will help you plan the perfect inclusive holidays.
Cheap Holidays to Gran Canaria
Book a flight to the Canary Islands! View information on cheap holidays to Gran Canaria online at On The Beach.