tag:blogger.com,1999:blog-68449652015190347202024-02-08T14:52:26.527+00:00Hex Central - The BlogMike Lewishttp://www.blogger.com/profile/07526685329587872112noreply@blogger.comBlogger38125tag:blogger.com,1999:blog-6844965201519034720.post-18310305121953520912016-06-16T09:49:00.000+01:002016-06-16T09:50:16.176+01:00How to get a free file of UK outward postcodes<i>By Mike Lewis</i><br />
<br />
In my article on <a href="http://www.hexcentral.com/articles/postcodes-distances.htm" target="_blank">calculating distances between UK postcodes</a>, I posted a link to a site named EasyPeasy from where you can download a file containing the grid references of outward postcodes. Several HexCentral readers have recently contacted me to tell me that the link is now dead and the site no longer available.<br />
<br />
I have now updated the article to include a new link. This one is to a site hosted by Dan Gibbs, which includes <a href="http://www.dangibbs.co.uk/journal/free-uk-postcode-towns-counties-database" target="_blank">an up-to-date version of the outward postcode file</a>. This version of the file is superior to the one formerly provided by EasyPeasy, as it also includes latitudes and longitudes, and the names of towns and counties (or their equivalents). The site warns that the town names are not completely accurate, but that won't matter for the distance calculations, as these only need the outward postcodes and the grid references.<br />
<br />
My thanks to Dan Gibbs for providing this useful resource (free of charge), and to Adrian Bordicott for pointing it out to me.Mike Lewishttp://www.blogger.com/profile/07526685329587872112noreply@blogger.com0tag:blogger.com,1999:blog-6844965201519034720.post-28011502961241481872014-11-28T08:46:00.001+00:002014-11-28T08:58:21.743+00:00Why respond.min.js didn't work (and how I fixed it)<i>By Mike Lewis</i><br>
<br>
I recently spent a frustrating half hour trying to get respond.min.js to work. I knew there was nothing wrong with the script: I've successfully used it several times before. But this time it just wouldn't play. I eventually found the solution – and kicked myself. For the benefit of anyone else having the same problem, here's the story.<a href="http://hexcentral.blogspot.com/2014/11/blog-post.html#more">Read more »</a>Mike Lewishttp://www.blogger.com/profile/07526685329587872112noreply@blogger.com0tag:blogger.com,1999:blog-6844965201519034720.post-67829864097302740712014-09-10T09:05:00.003+01:002014-09-10T09:07:28.196+01:00Using Google Classic Maps with the Android My Tracks app<i>By Mike Lewis</i><br>
<br>
<table cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: right; margin-left: 1em; text-align: right;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh16o5WZ3CkVd-lVSC2j3U_JixyjajzVC9JTTJoVOjNiB3yM9lxOOts3c1ajIT72_Ogd32uRRdQHEexquFjWVyNYX4SMnqNVtyl2f-4oThrEvcXZtbeMXbV80l00q-hOmS9O3enqoT87fjZ/s1600/MyTracks-2.jpg" imageanchor="1" style="clear: right; margin-bottom: 1em; margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh16o5WZ3CkVd-lVSC2j3U_JixyjajzVC9JTTJoVOjNiB3yM9lxOOts3c1ajIT72_Ogd32uRRdQHEexquFjWVyNYX4SMnqNVtyl2f-4oThrEvcXZtbeMXbV80l00q-hOmS9O3enqoT87fjZ/s1600/MyTracks-2.jpg" height="320" width="187"></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Figure 1</td></tr>
</tbody></table>Until recently, I used Google's My Tracks application to track my hikes and bike rides, and to share these via My Places in Google Maps. This worked perfectly for over a year. Unfortunately, Google then decided to drop the app's support for Google Maps. Overnight, the app became much less useful – to the extent that I almost gave up using it. In this blog post, I'll explain the problem in a little more detail, and tell you how I solved it.<br>
<br>
In a nutshell, My Tracks is an Android app that uses your phone or tablet's GPS receiver to trace a journey: a drive, hike, bike ride, or whatever. Once you have completed the route, you can choose to save or export it in a variety of ways (Figure 1). One of the options was to export it to Google Maps. This was trivially easy to do. You just chose a single menu option, and a few moments later your route appeared on the map. Perfect.<br>
<br>
In the latest version, you can still export the map, but it now goes to the new Google Maps Engine. Despite the similarity in name, this is not the same as Google Maps (which is now called Classic Maps). The new tool has several advantages over the classic version, but there are a number of reasons that I – and many other people – prefer not to use it.<a href="http://hexcentral.blogspot.com/2014/09/using-google-classic-maps-with-android.html#more">Read more »</a>Mike Lewishttp://www.blogger.com/profile/07526685329587872112noreply@blogger.com4tag:blogger.com,1999:blog-6844965201519034720.post-41669741863604494032014-08-21T10:20:00.000+01:002014-08-21T10:20:47.831+01:00How to remove 'Permanently shred with AVG' from your context menu<i>By Mike Lewis</i><br>
<br>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_p25ezplPu79rfOvIFbIhxVC5JlVYk3qAmYQf3A6TtM4aApSCjD6RfCEWMAcqmRtiYQiNYh0dhuw2yEks__flp0ue8g1cAygR3l5dKkpRfqErDdPFg2wx4xfLYZJ-CeAKC2L4r-6nvjgH/s1600/shred.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_p25ezplPu79rfOvIFbIhxVC5JlVYk3qAmYQf3A6TtM4aApSCjD6RfCEWMAcqmRtiYQiNYh0dhuw2yEks__flp0ue8g1cAygR3l5dKkpRfqErDdPFg2wx4xfLYZJ-CeAKC2L4r-6nvjgH/s320/shred.jpg" height="313" width="320"></a></div>If you have recently installed – or upgraded to – AVG 2014, you might have noticed a new item on context menus in Windows Explorer. The item reads 'Permanently shred with AVG', and it does what its name suggests: It completely destroys the file or folder you are pointing to, without any chance of recovery.<br>
<br>
Now, it could be that you will find this feature useful. If you want to place some confidential information beyond the reach of the Recycle Bin or a file recovery tool, this is a good way of doing it. But if, like me, you are worried about accidentally shredding an important file, you might prefer to remove this menu option. Here's how to go about it.<a href="http://hexcentral.blogspot.com/2014/08/how-to-remove-permanently-shred-with.html#more">Read more »</a>Mike Lewishttp://www.blogger.com/profile/07526685329587872112noreply@blogger.com2tag:blogger.com,1999:blog-6844965201519034720.post-2537572763449032702014-08-08T10:25:00.000+01:002014-08-08T10:25:10.319+01:00How to stop the Samsung Galaxy from vibrating<i>By Mike Lewis</i><br>
<br>
One of the things I dislike about my new Samsung Galaxy tablet is the way it vibrates at every opportunity – whether I want it to or not. It does this when I switch the device on, press the Home button, press and hold the Power button, and at several other times too.<br>
<br>
This is irritating, not least because it’s unnecessary. I could understand it if the vibrations alerted me to an important event, such as an incoming message. But there is no reason to have this kind of haptic feedback every time I press certain buttons. (It’s also adds to the drain on the battery.)<br>
<a href="http://hexcentral.blogspot.com/2014/08/how-to-stop-samsung-galaxy-from.html#more">Read more »</a>Mike Lewishttp://www.blogger.com/profile/07526685329587872112noreply@blogger.com0tag:blogger.com,1999:blog-6844965201519034720.post-52574176049241145632014-07-25T16:08:00.000+01:002014-07-27T12:13:24.925+01:00Google's disavow tool revisited<i>By Lynn Evans</i><br>
<br>
About a year ago, I submitted some suspicious links to Google’s disavow tool – against the strident advice of several friends and colleagues. Almost everyone I spoke to warned me against doing this. But I went ahead anyway – with a surprising result.<br>
<br>
The usual argument against using the disavow tool is that it draws attention to dodgy links that you might have planted yourself – and therefore risks a penalty. I never understood that. If Google thinks the links are spammy, it will ignore them or penalize you in any case. The disavow tool is your chance to tell the search engine that you are not responsible for the links. Another reason not to use it is that you might inadvertently remove reputable links that are helping your rankings. That sounds more plausible to me.<br>
<br>
In my case, the site had attracted several thousand links over the years. But about 900 of these were coming from what was clearly a link farm. I don’t know how or why they got there – it was certainly none of my doing. It was these links that I wanted to disavow. <a href="http://hexcentral.blogspot.com/2014/07/googles-disavow-tool-revisited.html#more">Read more »</a>Mike Lewishttp://www.blogger.com/profile/07526685329587872112noreply@blogger.com0tag:blogger.com,1999:blog-6844965201519034720.post-57889792031381355712014-07-25T15:23:00.000+01:002014-07-26T09:13:28.291+01:00Speeding up postcode queries<i>By John Hyde</i><br />
<br />
In an article on Hex Central, Mike Lewis showed how to <a href="http://www.hexcentral.com/articles/postcodes-distances.htm">calculate the distance between any two British postcodes</a>. Here’s a tip for speeding up the process.<br />
<br />
The calculation that Mike demonstrated is a simple application of Pythagoras’ theorem. You start by getting the grid references (that is, the x, y co-ordinates) of the two postcodes. Next, add the sums of the squares of the x and y distances between them. Finally, take the square root of the value thus obtained. That final figure is the straight line distance between the two points.<br />
<br />
My tip is simply to omit the calculation of the square root. So, instead of working with the actual distance, you work with the <i>square </i>of that distance.<br />
<br />
As an example, let’s suppose you want to sort a series of postcode pairs into descending order of distance apart. You omit the calculation of the square root, which means that you will in fact be sorting by the square of the distance apart. The result will still be correct.<br />
<br />
Similarly, if you want to find all postcodes within a given radius of a fixed point, you omit the square root calculation, and compare the distances with the square of the target radius. Again, this will give the correct result.<br />
<br />
Since the calculation of the square root is likely to be the most time-consuming part of the process, leaving it out should speed things up considerably.Mike Lewishttp://www.blogger.com/profile/07526685329587872112noreply@blogger.com4tag:blogger.com,1999:blog-6844965201519034720.post-20159114930956480432013-05-30T17:09:00.000+01:002013-10-30T09:00:49.619+00:00New tracks not appearing in the iTunes music library<i>By Mike Lewis</i><br>
<br>
For several years, I've been happily using iTunes to organize my music collection and transfer tracks to my iPod. Then, quite suddenly, it stopped working. More specifically, I found I could no longer add new tracks to my music library. There was no error message, no unusual behavior. The newly-added tracks were simply nowhere in sight.<br>
<br>
I eventually found a solution, but only after much searching and experimenting. I'll summarize the steps here, for the benefit of any Hex Central readers who face the same issue.<br>
<a href="http://hexcentral.blogspot.com/2013/05/new-tracks-not-appearing-in-itunes.html#more">Read more »</a>Mike Lewishttp://www.blogger.com/profile/07526685329587872112noreply@blogger.com1tag:blogger.com,1999:blog-6844965201519034720.post-89800095608159615352013-05-24T10:53:00.000+01:002013-05-24T10:53:18.424+01:00FileSystemObject performance issues<i>By Mike Lewis</i><br>
<br>
In a recent Hex Central article, I explained how you can <a href="http://www.hexcentral.com/articles/foxpro-large-files.htm">use the FileSystemObject to read and write large text files</a> in Visual FoxPro. One of the main reasons for doing that is to work with files that would otherwise break VFP's 2 GB limit.<br>
<br>
Unfortunately, that benefit comes at a price. In many cases, the FileSystemObject will be a lot slower than using native VFP commands and functions.<a href="http://hexcentral.blogspot.com/2013/05/filesystemobject-performance-issues.html#more">Read more »</a>Mike Lewishttp://www.blogger.com/profile/07526685329587872112noreply@blogger.com0tag:blogger.com,1999:blog-6844965201519034720.post-21775941519112573812013-05-08T15:57:00.000+01:002013-05-08T15:57:32.529+01:00Welcome improvements to AdSense reports<i>By Donald Ritchie</i><br>
<br>
Google have just made some small - but very welcome - improvements to their AdSense reports. They've made it easier for you to spot medium- and long-term trends in your AdSense data. They've introduced a number of useful new graph types. And they now let you see at a glance the effect of any changes you make to your AdSense setup, such as introducing a new ad unit, or blocking a sensitive category. <br>
<a href="http://hexcentral.blogspot.com/2012/10/welcome-improvements-to-adsense-reports.html#more">Read more »</a>Mike Lewishttp://www.blogger.com/profile/07526685329587872112noreply@blogger.com0tag:blogger.com,1999:blog-6844965201519034720.post-27330522912885231312013-04-10T16:17:00.000+01:002014-08-21T09:40:56.179+01:00How to give focus to a FoxPro top-level form at start-up<i>By Mike Lewis</i><br>
<br>
This is a question I often see in Visual FoxPro forums. An application needs to show a top-level form (typically a log-in screen) at start-up. But when you launch the form, it <br>
appears behind other windows on the desktop. Even if it is at the front, it's not necessarily the active form. So how do you give the form focus programmatically?<br>
<a href="http://hexcentral.blogspot.com/2013/04/how-to-give-focus-to-foxpro-top-level.html#more">Read more »</a>Mike Lewishttp://www.blogger.com/profile/07526685329587872112noreply@blogger.com1tag:blogger.com,1999:blog-6844965201519034720.post-49103496569650567682013-04-08T14:26:00.000+01:002013-05-08T15:53:58.939+01:00Strong passwords? Yes, but let's not get carried away<i>By Lynn Evans</i><br>
<br>
I'm getting a bit tired of over-the-top advice about strong passwords. Of course, we all need to keep our passwords secure. But a lot of what tech journals and websites write about the subject is exaggerated and alarmist - and often counter-productive.<a href="http://hexcentral.blogspot.com/2013/04/strong-passwords-yes-but-lets-not-get.html#more">Read more »</a>Mike Lewishttp://www.blogger.com/profile/07526685329587872112noreply@blogger.com0tag:blogger.com,1999:blog-6844965201519034720.post-80337677101174393442013-04-03T15:23:00.000+01:002013-05-08T15:55:37.055+01:00Banish interest-based ads from your AdSense pages<i>By Mike Lewis</i> <br>
<br>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9ECU4iolOpAjm-nQWFGk_CBJt8Z15LriJ4FSciAJh7VALYjNEfC_NrEksrPNNcpJ46eJ6cgyfHC_F7nokEXJqwg0k1s-bFMC1pDUJLJHQ24ssqYRF1zix0LM10W9QE-dIyDgB6w1TLjK-/s1600/optout-1.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" height="188" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9ECU4iolOpAjm-nQWFGk_CBJt8Z15LriJ4FSciAJh7VALYjNEfC_NrEksrPNNcpJ46eJ6cgyfHC_F7nokEXJqwg0k1s-bFMC1pDUJLJHQ24ssqYRF1zix0LM10W9QE-dIyDgB6w1TLjK-/s320/optout-1.jpg" width="320"></a></div>In an <a href="http://hexcentral.blogspot.co.uk/2013/03/opt-out-of-googles-interest-based-ads.html">earlier post</a>, I explained how you can opt out of seeing so-called "interest-based ads" on Google's search results pages and on third-party websites. This time, I'll describe how AdSense publishers can prevent these ads appearing on their own sites.<br>
<br>
To recap, an interest-based ad is one that's based on the personal information that the advertising network (usually Google) has collected on you. Some people dislike being tracked and targeted for advertising purposes. There might also be times when these ads could cause distress or embarrassment (seeing an ad about a medical condition that you'd rather keep to yourself, for example). That's why you have the opportunity to opt out.<a href="http://hexcentral.blogspot.com/2013/04/banish-interest-based-ads-from-your.html#more">Read more »</a>Mike Lewishttp://www.blogger.com/profile/07526685329587872112noreply@blogger.com0tag:blogger.com,1999:blog-6844965201519034720.post-72989073478564829652013-03-29T13:17:00.000+00:002013-04-09T17:47:10.857+01:00Opt out of Google's interest-based ads<i>By Mike Lewis</i><br>
<br>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4liJ16_vwJZfyRAFioOzGJjKDbOHqDB_5RNET17sRFPgbVdk6_EM1Kw2OF2uCGm_N_9BMDmWkhpr-Xk58Ajpz3vyME-TVaY5U6-BjUuednwZ7yE-p0MEvicLa2tulQ9UILpKoCN2aArn1/s1600/optout.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" height="201" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4liJ16_vwJZfyRAFioOzGJjKDbOHqDB_5RNET17sRFPgbVdk6_EM1Kw2OF2uCGm_N_9BMDmWkhpr-Xk58Ajpz3vyME-TVaY5U6-BjUuednwZ7yE-p0MEvicLa2tulQ9UILpKoCN2aArn1/s320/optout.jpg" width="320"></a></div>Imagine this scenario. It's your lunch break, and you start thinking about your next vacation. Out of idle curiosity, you use Google to search for accommodation on your dream Caribbean island. You visit a few of the sites that the search throws up. Then you get back to work.<br>
<br>
For the next few weeks, whenever you do a work-related search or visit a work-related site, you see advertisements for tropical resorts, exotic hotels, and up-market tour operators.<br>
<br>
What you are seeing are so-called "interest-based ads". They are ads served by Google, based on what Google knows about you. And you might be surprised at just how much Google does know about you. As well as your geographic location, Google knows about the things you're interested in (based on your search history and the types of sites you visit), where you hang out in social media, what mobile devices you use and where you use them, and quite a lot more. It also makes a good guess at your age, sex, marital status, and even your family income. It uses all that information to decide what ads to show.<br>
<br>
You might not care about this. It might not matter to you that Google uses your personal information to send you targeted ads in this way. if so, that's fine.<br>
<a href="http://hexcentral.blogspot.com/2013/03/opt-out-of-googles-interest-based-ads.html#more">Read more »</a>Mike Lewishttp://www.blogger.com/profile/07526685329587872112noreply@blogger.com3tag:blogger.com,1999:blog-6844965201519034720.post-25310145469480450402013-03-12T15:30:00.000+00:002013-03-12T15:32:32.719+00:00Southwest Fox 2013 : Dates confirmed; call for speakers issued<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: right; margin-left: 1em; text-align: right;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj14bN4HDTSzvYpqRX45UM1nf6F1QhuW3J21PzbHmQ7fB1wQQU0T3szaAJskAfg4Il3fkEWHWsw-WjkAlb-gcRhjyip-FCy_zr31tOWiiUID9957aYPpqY3y62XOwibwDRTHmEeQ6d4HJjy/s1600/swfox.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="213" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj14bN4HDTSzvYpqRX45UM1nf6F1QhuW3J21PzbHmQ7fB1wQQU0T3szaAJskAfg4Il3fkEWHWsw-WjkAlb-gcRhjyip-FCy_zr31tOWiiUID9957aYPpqY3y62XOwibwDRTHmEeQ6d4HJjy/s320/swfox.jpg" width="320"></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><i>Photo: Therese Schummer</i></td></tr>
</tbody></table>
<i>By Mike Lewis</i><br>
<br>
Geeks Gatherings have now confirmed that Southwest Fox 2013 will be held on October 17 - 20, at the SanTan Elegante Conference Center in Gilbert, Arizona. For the second year running, the conference will be combined with Southwest Xbase++, a conference which focuses on Alaska Software’s Xbase++. <br>
<br>
If you're a serious Visual FoxPro developer, you should consider attending Southwest Fox. I've done that myself, and I can tell you that it really is a terrific event. It's now the leading VFP conference in the United States, and it attracts developers from all over the world. <br>
<a href="http://hexcentral.blogspot.com/2013/03/southwest-fox-2013-dates-confirmed-call.html#more">Read more »</a>Mike Lewishttp://www.blogger.com/profile/07526685329587872112noreply@blogger.com0tag:blogger.com,1999:blog-6844965201519034720.post-29383054934780130752013-02-01T12:46:00.001+00:002013-04-09T17:40:16.935+01:00Problems with the Kindle for PC app in Windows 8<i>By Mike Lewis</i><br>
<br>
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivMxd08O_5UO9kzn8NrXjJPDgV1Ez80m6OK9Yo00_8XqXRAHicB7Jk-GB-P7z_oeAtpF_rPISyuz-4BdJR4V6ZBKhTKC-4j7iJJ5uy02Ck9U8NfrOgoYcw7m3aKugDGbkRVKkyH_Si2pS8/s1600/kindle-for-windows8.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img alt="Kindle reading application for Windows 8" border="0" height="225" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivMxd08O_5UO9kzn8NrXjJPDgV1Ez80m6OK9Yo00_8XqXRAHicB7Jk-GB-P7z_oeAtpF_rPISyuz-4BdJR4V6ZBKhTKC-4j7iJJ5uy02Ck9U8NfrOgoYcw7m3aKugDGbkRVKkyH_Si2pS8/s400/kindle-for-windows8.jpg" title="" width="400"></a>After Microsoft released Windows 8 late last year, Amazon was quick to bring out a special version of their Kindle for PC app. This new release is specifically designed to work with the Windows 8 touch-based interface, and for the most part it does its job well. But I've found several annoying weaknesses with it - as have many other users.<br>
<br>
The first thing that I noticed is that there is no internal search feature: you can't search for a word or phrase within a book. It's true that there is a search button in the Charms bar - as is the case with most dedicated Windows 8 apps. But this only searches the titles of books in your library or the Kindle store. If you want to search inside a book, you’re out of luck.<br>
<a href="http://hexcentral.blogspot.com/2013/02/problems-with-kindle-for-pc-app-in.html#more">Read more »</a>Mike Lewishttp://www.blogger.com/profile/07526685329587872112noreply@blogger.com13tag:blogger.com,1999:blog-6844965201519034720.post-11475745850633294452013-01-02T10:05:00.000+00:002013-03-25T16:53:55.225+00:00SCOPE_IDENTITY() and remote views in VFP<i>By Mike Lewis </i><br>
<br>
In a recent <a href="http://www.hexcentral.com/articles/sql-identity.htm" target="_blank">Hex Central article</a>, Lynn Evans recommended using the SCOPE_IDENTITY() function to find the primary key of the most recently inserted row in a SQL Server table. That function is a better choice than @@IDENTITY or IDENT_CURRENT(), because it is specific to the session and the scope.<br>
<br>
As a Visual FoxPro developer, I often use SCOPE_IDENTITY() when inserting records via SQL Pass-Through (SPT). But I recently found that it doesn't work with remote views. Specifically, if you use a view to insert a row, then use SQLEXEC() to send a call to SCOPE_IDENTITY(), you always get back a NULL - even if the SPT call uses the same connection handle as the view. That's because the two operations occur in different scopes. <a href="http://hexcentral.blogspot.com/2013/01/scopeidentity-and-remote-views-in-vfp.html#more">Read more »</a>Mike Lewishttp://www.blogger.com/profile/07526685329587872112noreply@blogger.com0tag:blogger.com,1999:blog-6844965201519034720.post-87928049020641938902012-12-31T14:52:00.000+00:002015-11-27T12:06:05.174+00:00A new resource for FoxPro developers, courtesy of Doug Hennig<i>By Mike Lewis</i><br />
<br />
Doug Hennig is a FoxPro developer, and a prolific author and conference speaker. Over the last 16 years, he has written over a hundred articles for FoxTalk, FoxPro Advisor, CoDe, and other VFP-related journals. He has also published many white papers, based on presentations he's given at FoxPro DevCon, South West Fox, and similar events.<br />
<br />
Now, for the first time, most of Doug's writings are available on line, all in one place. He has collected together 146 of his articles and papers, and published them on his <a href="http://doughennig.com/papers/default.html" target="_blank">personal website</a>. Together, they make a valuable resource for VFP developers.<br />
<br />
The subject matter ranges from class design to custom dialogs, archiving to anchoring, encryption to Intellisense. They are listed on the site in alphabetical order, and most come with sample code. <br />
<br />
It's true that many of the articles are quite old. But, for the most part, the content is still relevant. (On that point, I wish the dates of the articles were shown so that we could have an idea of just how old they are, but that's a minor quibble.)<br />
<br />
My thanks to Doug for providing us with this useful resource. I hope that he will continue to publish his work in this way in the years ahead.<br />
<br />
<br />
<br />
<br />Mike Lewishttp://www.blogger.com/profile/07526685329587872112noreply@blogger.com0tag:blogger.com,1999:blog-6844965201519034720.post-6381780799893371122012-12-20T15:36:00.000+00:002012-12-20T15:36:58.103+00:00Use Dropbox to host icons for My Places maps<i>By Donald Ritchie</i><br />
<br />
In my <a href="http://www.hexcentral.com/articles/maps-tutorial-3.htm" target="_blank">tutorial </a>on adding custom icons to My Places in Google Maps, I mentioned that you can't use Dropbox to host your icons. That's because it requires a log-in. Hex Central reader Jamie Barber wrote to say that you can indeed use Dropbox for this purpose, provided you place the relevant files in your Public Folder. I have amended the article accordingly.<br />
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiM_4J0uXLtgoWyq3vVaqIt3NimoKXo0j-FFUTF4DDE8P5sNCORVbXytVGQtrjTC_iEnePWw-MVJE9n9YZY64SzqzBchtq-GrlLJjsJoJl7-kCYLVUD35GFVe0ibVvOY52jgiY00Bd4HrmO/s1600/dropbox.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiM_4J0uXLtgoWyq3vVaqIt3NimoKXo0j-FFUTF4DDE8P5sNCORVbXytVGQtrjTC_iEnePWw-MVJE9n9YZY64SzqzBchtq-GrlLJjsJoJl7-kCYLVUD35GFVe0ibVvOY52jgiY00Bd4HrmO/s200/dropbox.jpg" width="186" /></a>Once you've uploaded your icon file to your Public Folder in Dropbox, all you have to do is right-click on the filename, and select Copy Public Link (see screen shot). The file's URL will appear in a pop-up box, from where you can copy it to the clipboard. If you prefer a shorter - but more cryptic - version of the URL, click on "Shorten link".<br />
<br />
You can then go ahead and paste the link into the Placemark Editor, as I described in the article.<br />
<br />
There's one other update to the article. When I first wrote it, custom icons didn't show up properly in printed versions of a My Places map. Google has now fixed this problem. Now, when you print your map, all the icons will appear as expected.Mike Lewishttp://www.blogger.com/profile/07526685329587872112noreply@blogger.com2tag:blogger.com,1999:blog-6844965201519034720.post-42090330591976116532012-10-09T08:21:00.000+01:002013-05-08T15:58:39.023+01:00French IGN 1:25,000 now available for Anquet Maps<i>By Mike Lewis</i><br />
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIU19rDR6bIxBx-JviaufXX3OxwgO6G5uVPxraeqRzcKH8wXDDun8CgQSUb-gotrqamAtQYo-ScHKf-ajb_-WVnxO1SsM0_HnnOHIycKiGbELCHuGMnUQzROhLwS6GM19EiKItilTERIzx/s1600/ign_map.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" height="197" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIU19rDR6bIxBx-JviaufXX3OxwgO6G5uVPxraeqRzcKH8wXDDun8CgQSUb-gotrqamAtQYo-ScHKf-ajb_-WVnxO1SsM0_HnnOHIycKiGbELCHuGMnUQzROhLwS6GM19EiKItilTERIzx/s320/ign_map.jpg" width="320" /></a>In my article on <a href="http://www.hexcentral.com/articles/anquet-export.htm">transferring data from Anquet Maps to Google Maps</a>, I mentioned that Anquet only supplies maps for the UK. The company had told me that mapping would be available soon for other countries, but they didn't put a date on that.<br />
<br />
I'm happy to report that Anquet have now introduced a set of 1:25,000 topographical maps covering the whole of France (including Corsica). This is the highly-regarded Série Bleue of the Institut Géographique National (IGN). If you've ever used any of these maps, you'll know what superb quality they are. Like their British OS Explorer equivalents, they show a vast amount of detail, and are an excellent resource for hill-walking, cycling and most other outdoor activities.<br />
<br />
And, of course, it's possible to use Anquet software to plot a route on these maps, then transfer it to Google's My Places, in the way I described in my article. More information about Anquet's products can be found on the <a href="http://www.anquet.com/" target="_blank">company's website</a>.<br />
<br />
<script type="text/javascript"><!--
google_ad_client = "ca-pub-5312678801120070";
/* HexCentral Blog Post */
google_ad_slot = "7784581185";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>Mike Lewishttp://www.blogger.com/profile/07526685329587872112noreply@blogger.com0tag:blogger.com,1999:blog-6844965201519034720.post-6617215574395547342012-09-06T08:37:00.000+01:002013-05-08T15:59:41.630+01:00Bold, italic, em and strong. Understanding the difference between these HTML tags<i>By Donald Ritchie</i><br>
<br>
If you write HTML code, you're almost certainly familiar with the <b>b</b> and <b>i</b> tags, and probably the <b>em</b> and <b>strong</b> tags too. Between them, these tags are used to add emphasis or "strength" to your text in various ways. But do you know the differences between them? And which one you should use in a given situation?<br>
<br>
The correct use of these tags can be confusing. Let's look at each of them in turn.<a href="http://hexcentral.blogspot.com/2012/09/bold-italic-em-and-strong-understanding.html#more">Read more »</a>Mike Lewishttp://www.blogger.com/profile/07526685329587872112noreply@blogger.com0tag:blogger.com,1999:blog-6844965201519034720.post-20526777075867221382012-08-31T15:48:00.000+01:002012-08-31T15:48:53.650+01:00Hiding the icon in a Visual FoxPro form<i>By Mike Lewis</i><br>
<br>
A colleague recently asked if it was possible to hide the icon in a VFP form. She was referring to the icon at the left end of the title bar - the one you click to reveal the control menu.<a href="http://hexcentral.blogspot.com/2012/08/hiding-icon-in-visual-foxpro-form.html#more">Read more »</a>Mike Lewishttp://www.blogger.com/profile/07526685329587872112noreply@blogger.com1tag:blogger.com,1999:blog-6844965201519034720.post-4862048813620729752012-07-24T14:11:00.002+01:002013-05-08T16:02:30.690+01:00Recover the Google Toolbar in Firefox<i>By Lynn Evans</i><br>
<br>
When I recently upgraded my Firefox browser, I was dismayed to discover that my favorite add-on, the Google Toolbar, no longer worked. It seems that Google has withdrawn all support for the product, which now only functions in Firefox 4.x and below.<br>
<br>
This was a minor disaster for me. The Google Toolbar is something I use constantly, every working day. It's true that some of its features are now built into Firefox itself. Others can be obtained from other add-ons. I've tried a few of these, but none of them could compare to the sheer convenience of the original product. Several weeks after upgrading, I was still finding the Google Toolbar hard to live without. <a href="http://hexcentral.blogspot.com/2012/07/recover-google-toolbar-in-firefox.html#more">Read more »</a>Mike Lewishttp://www.blogger.com/profile/07526685329587872112noreply@blogger.com0tag:blogger.com,1999:blog-6844965201519034720.post-4300519710879300442012-06-25T14:41:00.000+01:002013-05-08T16:03:28.996+01:00Back up and restore your Blogger template<i>By Donald Ritchie</i><br>
<br>
If you run a Blogger blog, you'll know that it's easy to customize your template in various useful ways. Unfortunately, it's also easy to make a mess of the job. In the worst case, you could muck up the template to such an extent that the blog becomes completely inaccessible (this is especially true if you edit the underlying HTML).<br>
<br>
The best way to guard against such disasters is to make a backup of your template before you start customizing it. This is an easy thing to do. Just follow these steps.<a href="http://hexcentral.blogspot.com/2012/06/back-up-and-restore-your-blogger.html#more">Read more »</a>Mike Lewishttp://www.blogger.com/profile/07526685329587872112noreply@blogger.com0tag:blogger.com,1999:blog-6844965201519034720.post-71101933470636355492012-06-01T10:53:00.000+01:002012-06-01T11:04:19.073+01:00Privacy and sharing settings in Google Maps : A clarification<i>By Donald Ritchie</i><br>
<br>
In my article, <a href="http://www.hexcentral.com/articles/maps-tutorial-1.htm" target="_blank">Getting started with My Places in Google Maps</a>, the description of the privacy and sharing options was a little misleading.<br>
<br>
These options appear in the left-hand panel while you are editing the map. They allow you to make your map either "public" or "unlisted". I said (correctly) that the options don't affect how you share the map. Regardless of the setting, anyone who knows the map's URL will be able to see it.<br>
<br>
I also said that choosing "public" allows the map to appear in Google's search results. That's not quite right<a href="http://hexcentral.blogspot.com/2012/06/privacy-and-sharing-settings-in-google.html#more">Read more »</a>Mike Lewishttp://www.blogger.com/profile/07526685329587872112noreply@blogger.com0