<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Windows 7 gotcha with Visual FoxPro Apps</title>
	<atom:link href="http://rickschummer.com/blog2/2010/11/windows-7-gotcha-with-visual-foxpro-apps/feed/" rel="self" type="application/rss+xml" />
	<link>http://rickschummer.com/blog2/2010/11/windows-7-gotcha-with-visual-foxpro-apps/</link>
	<description>Shedding some light on topics of software development, Visual FoxPro, saving our planet, paying it forward, and anything else I find important enough to share.</description>
	<lastBuildDate>Sun, 13 Jan 2019 18:50:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.3</generator>
	<item>
		<title>By: mukminan</title>
		<link>http://rickschummer.com/blog2/2010/11/windows-7-gotcha-with-visual-foxpro-apps/comment-page-1/#comment-1399</link>
		<dc:creator>mukminan</dc:creator>
		<pubDate>Mon, 26 Nov 2012 23:09:32 +0000</pubDate>
		<guid isPermaLink="false">http://rickschummer.com/blog2/?p=1169#comment-1399</guid>
		<description>how to pack so overcome visual foxpro 9.0 can not find its location on windows 7. when installed in windows xp can,, made ​​me dizzy</description>
		<content:encoded><![CDATA[<p>how to pack so overcome visual foxpro 9.0 can not find its location on windows 7. when installed in windows xp can,, made ​​me dizzy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kamran Kazemi</title>
		<link>http://rickschummer.com/blog2/2010/11/windows-7-gotcha-with-visual-foxpro-apps/comment-page-1/#comment-1397</link>
		<dc:creator>Kamran Kazemi</dc:creator>
		<pubDate>Wed, 14 Nov 2012 11:59:36 +0000</pubDate>
		<guid isPermaLink="false">http://rickschummer.com/blog2/?p=1169#comment-1397</guid>
		<description>We are having some issues with Windows 7 virtual store.  Our VB6 Application gets installed in program files folder on client pcs.  We use the application installation directory to create temporary files for various reasons.

We always create a FoxPro 2.6 database file for doing mail merges to Word or running some Crystal Reports.  With windows 7 virtual store turned on, it seems that the FoxPro tables that do not have memo fields get created successfully but as soon as we attempt at creating a DBF file containing memo fields, the actual FPT file gets created but it has 0 bytes.  I have looked at the actual FPT file in note pad and there is absolutely nothing there.  However, all other files like DBF, INF and any CDX files get created successfully.

On the same pc, if we turn the virtual store off, everything works perfectly.  Obviously, the files get created in the application installation folder rather than being virtualised.

I just cannot understand why all other INF, CDX and DBF files get virtualised correctly but the FPT file gets stuffed.  I cannot open the DBF file because of the fact that the FPT file is corrup.

Would greatly appreciate anyone&#039;s thoughts on this.</description>
		<content:encoded><![CDATA[<p>We are having some issues with Windows 7 virtual store.  Our VB6 Application gets installed in program files folder on client pcs.  We use the application installation directory to create temporary files for various reasons.</p>
<p>We always create a FoxPro 2.6 database file for doing mail merges to Word or running some Crystal Reports.  With windows 7 virtual store turned on, it seems that the FoxPro tables that do not have memo fields get created successfully but as soon as we attempt at creating a DBF file containing memo fields, the actual FPT file gets created but it has 0 bytes.  I have looked at the actual FPT file in note pad and there is absolutely nothing there.  However, all other files like DBF, INF and any CDX files get created successfully.</p>
<p>On the same pc, if we turn the virtual store off, everything works perfectly.  Obviously, the files get created in the application installation folder rather than being virtualised.</p>
<p>I just cannot understand why all other INF, CDX and DBF files get virtualised correctly but the FPT file gets stuffed.  I cannot open the DBF file because of the fact that the FPT file is corrup.</p>
<p>Would greatly appreciate anyone&#8217;s thoughts on this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arden Weiss</title>
		<link>http://rickschummer.com/blog2/2010/11/windows-7-gotcha-with-visual-foxpro-apps/comment-page-1/#comment-1349</link>
		<dc:creator>Arden Weiss</dc:creator>
		<pubDate>Fri, 17 Feb 2012 04:25:52 +0000</pubDate>
		<guid isPermaLink="false">http://rickschummer.com/blog2/?p=1169#comment-1349</guid>
		<description>While 9 may be the greatest in some folks mind, it is different aND has lotsa gothcas when trying to run older apps that are not object oriented and totally in tune with the MS Geekdom.

A necessary code snippet at the front of any of the old programs is:

IF &quot;09.00&quot; $ VERSION()
   _SCREEN.THEMES = .F.
   SET ENGINEBEHAVIOR 70
ENDIF

Not doing the enginebehavoir thing breaks the SQL GROUP BY command -- they made VFP9 compatible with Access/SQL Server and hence incompatible with VFP7 and before.

Similarly any SPR files for VFP7 and before when compiled/run causes the contents of the window to disappear with a mouse rollover unless the _screen.themes thing is in place.

Finally, a condidtion that I have not found a workaround for yet is that in VFP7 when in a browse window nothing would happen when the user clicked outside the browse window (only  for  would get you out)  In VFP9, clicking outside the browse window closes the browse window just like you had hit . I think the themes thing has an impact here, but it seems to be the direct opposite effect to that with the mouse rollover majic disappearance feature. 

All big BUMMERS...</description>
		<content:encoded><![CDATA[<p>While 9 may be the greatest in some folks mind, it is different aND has lotsa gothcas when trying to run older apps that are not object oriented and totally in tune with the MS Geekdom.</p>
<p>A necessary code snippet at the front of any of the old programs is:</p>
<p>IF &#8220;09.00&#8243; $ VERSION()<br />
   _SCREEN.THEMES = .F.<br />
   SET ENGINEBEHAVIOR 70<br />
ENDIF</p>
<p>Not doing the enginebehavoir thing breaks the SQL GROUP BY command &#8212; they made VFP9 compatible with Access/SQL Server and hence incompatible with VFP7 and before.</p>
<p>Similarly any SPR files for VFP7 and before when compiled/run causes the contents of the window to disappear with a mouse rollover unless the _screen.themes thing is in place.</p>
<p>Finally, a condidtion that I have not found a workaround for yet is that in VFP7 when in a browse window nothing would happen when the user clicked outside the browse window (only  for  would get you out)  In VFP9, clicking outside the browse window closes the browse window just like you had hit . I think the themes thing has an impact here, but it seems to be the direct opposite effect to that with the mouse rollover majic disappearance feature. </p>
<p>All big BUMMERS&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rick Schummer</title>
		<link>http://rickschummer.com/blog2/2010/11/windows-7-gotcha-with-visual-foxpro-apps/comment-page-1/#comment-1321</link>
		<dc:creator>Rick Schummer</dc:creator>
		<pubDate>Fri, 26 Aug 2011 15:34:28 +0000</pubDate>
		<guid isPermaLink="false">http://rickschummer.com/blog2/?p=1169#comment-1321</guid>
		<description>Carlos,

&quot;Could anyone guide me to install Visual FoxPro 5.0 on Windows 7 - 64bit?&quot;

You can install it just like you would any other 32-bit application. Or you can copy an existing install you have set up on another machine. Or you can run Visual FoxPro from a thumb drive. 

If I can be so bold, my recommendation is to get Visual FoxPro 9 SP2 with all the latest hotfixes and use that. It is the most stable version of VFP ever.</description>
		<content:encoded><![CDATA[<p>Carlos,</p>
<p>&#8220;Could anyone guide me to install Visual FoxPro 5.0 on Windows 7 &#8211; 64bit?&#8221;</p>
<p>You can install it just like you would any other 32-bit application. Or you can copy an existing install you have set up on another machine. Or you can run Visual FoxPro from a thumb drive. </p>
<p>If I can be so bold, my recommendation is to get Visual FoxPro 9 SP2 with all the latest hotfixes and use that. It is the most stable version of VFP ever.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carlos</title>
		<link>http://rickschummer.com/blog2/2010/11/windows-7-gotcha-with-visual-foxpro-apps/comment-page-1/#comment-1320</link>
		<dc:creator>Carlos</dc:creator>
		<pubDate>Fri, 26 Aug 2011 15:01:01 +0000</pubDate>
		<guid isPermaLink="false">http://rickschummer.com/blog2/?p=1169#comment-1320</guid>
		<description>Alguém poderia me orientar na instalação do Visual FoxPro 5.0 no Windows 7 - 64bits?

Grato,

Carlos Tavares</description>
		<content:encoded><![CDATA[<p>Alguém poderia me orientar na instalação do Visual FoxPro 5.0 no Windows 7 &#8211; 64bits?</p>
<p>Grato,</p>
<p>Carlos Tavares</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Duane Robbins</title>
		<link>http://rickschummer.com/blog2/2010/11/windows-7-gotcha-with-visual-foxpro-apps/comment-page-1/#comment-1318</link>
		<dc:creator>Duane Robbins</dc:creator>
		<pubDate>Thu, 25 Aug 2011 06:14:59 +0000</pubDate>
		<guid isPermaLink="false">http://rickschummer.com/blog2/?p=1169#comment-1318</guid>
		<description>I appreciate any ideas. This client got 14 new Win 7 professional 64 bit laptops and they all work ( not seeing the drive mapping from VFP) the same way. An existing XP machine works just fine with drive mappings and so does a win 7 premium laptop that I tested on the system. I tried taking one of the laptops out of the domain but that also did not solve the issue. I may have to keep using the Virtual XP mode if nothing else works. Seems like some type of security issue with Win 7  Pro but I have not found what to do to correct it yet.</description>
		<content:encoded><![CDATA[<p>I appreciate any ideas. This client got 14 new Win 7 professional 64 bit laptops and they all work ( not seeing the drive mapping from VFP) the same way. An existing XP machine works just fine with drive mappings and so does a win 7 premium laptop that I tested on the system. I tried taking one of the laptops out of the domain but that also did not solve the issue. I may have to keep using the Virtual XP mode if nothing else works. Seems like some type of security issue with Win 7  Pro but I have not found what to do to correct it yet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rick Schummer</title>
		<link>http://rickschummer.com/blog2/2010/11/windows-7-gotcha-with-visual-foxpro-apps/comment-page-1/#comment-1316</link>
		<dc:creator>Rick Schummer</dc:creator>
		<pubDate>Wed, 24 Aug 2011 20:01:59 +0000</pubDate>
		<guid isPermaLink="false">http://rickschummer.com/blog2/?p=1169#comment-1316</guid>
		<description>Sounds backwards that mapping works with Window 7 Home Premium and not Windows 7 Professional. I am using Windows 7 Professional 64-bit and I can access servers just fine via a mapped drive.

I&#039;m not much of a hardware or networking support person, but is it just the one machine or all Win7 64-bit machines? Is there something set funny for networking. Do other apps have trouble with the mappings? Is Windows losing the mappings? What about using UNC pathing to the data? Does the server recognize the client computer?

Sorry, more questions than answers from me.</description>
		<content:encoded><![CDATA[<p>Sounds backwards that mapping works with Window 7 Home Premium and not Windows 7 Professional. I am using Windows 7 Professional 64-bit and I can access servers just fine via a mapped drive.</p>
<p>I&#8217;m not much of a hardware or networking support person, but is it just the one machine or all Win7 64-bit machines? Is there something set funny for networking. Do other apps have trouble with the mappings? Is Windows losing the mappings? What about using UNC pathing to the data? Does the server recognize the client computer?</p>
<p>Sorry, more questions than answers from me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Duane Robbins</title>
		<link>http://rickschummer.com/blog2/2010/11/windows-7-gotcha-with-visual-foxpro-apps/comment-page-1/#comment-1315</link>
		<dc:creator>Duane Robbins</dc:creator>
		<pubDate>Wed, 24 Aug 2011 16:17:54 +0000</pubDate>
		<guid isPermaLink="false">http://rickschummer.com/blog2/?p=1169#comment-1315</guid>
		<description>OK Rick here is my problem. Using an old VFP Program “TeleMagic” on a Windows 7 64 bit professional client accessing a MS 2008 SBS Server. Program works fine stand alone on the client but cannot seem to find the “F:” drive on the server where the data is. In the Network situation the program and data are run from the server.  As a work around I installed Virtual PC and XP Mode on the clients and it does find F: and seems to run pretty well although copy and paste from the Virtual mode back to Win 7 doesn&#039;t always work and it has some problems crashing. When a crash happens it is much harder for the customer to know how to recover in Virtual XP mode. Any ideas what can be done so that VFP can see the correct mapping in the Windows 7 client? BTW it works fine in Win 7 premium but not in professional. Tried turning off the the firewall and giving Admin rights but no luck. Still getting either an “unknown” error or path not found.</description>
		<content:encoded><![CDATA[<p>OK Rick here is my problem. Using an old VFP Program “TeleMagic” on a Windows 7 64 bit professional client accessing a MS 2008 SBS Server. Program works fine stand alone on the client but cannot seem to find the “F:” drive on the server where the data is. In the Network situation the program and data are run from the server.  As a work around I installed Virtual PC and XP Mode on the clients and it does find F: and seems to run pretty well although copy and paste from the Virtual mode back to Win 7 doesn&#8217;t always work and it has some problems crashing. When a crash happens it is much harder for the customer to know how to recover in Virtual XP mode. Any ideas what can be done so that VFP can see the correct mapping in the Windows 7 client? BTW it works fine in Win 7 premium but not in professional. Tried turning off the the firewall and giving Admin rights but no luck. Still getting either an “unknown” error or path not found.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rick Schummer</title>
		<link>http://rickschummer.com/blog2/2010/11/windows-7-gotcha-with-visual-foxpro-apps/comment-page-1/#comment-1313</link>
		<dc:creator>Rick Schummer</dc:creator>
		<pubDate>Sun, 21 Aug 2011 03:13:43 +0000</pubDate>
		<guid isPermaLink="false">http://rickschummer.com/blog2/?p=1169#comment-1313</guid>
		<description>If the Win7 computer is 64-bit you have to make sure to use the 32-bit driver. If using the ODBC Manager make sure to run the one from the correct 32-bit folder.</description>
		<content:encoded><![CDATA[<p>If the Win7 computer is 64-bit you have to make sure to use the 32-bit driver. If using the ODBC Manager make sure to run the one from the correct 32-bit folder.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam Haig</title>
		<link>http://rickschummer.com/blog2/2010/11/windows-7-gotcha-with-visual-foxpro-apps/comment-page-1/#comment-1312</link>
		<dc:creator>Sam Haig</dc:creator>
		<pubDate>Sat, 20 Aug 2011 21:50:32 +0000</pubDate>
		<guid isPermaLink="false">http://rickschummer.com/blog2/?p=1169#comment-1312</guid>
		<description>Here&#039;s one.  Visual Foxpro app 7.0 on an XP machine connecting to sql server 2000 database (as the back end) which is on on a win 2003 file server -- no problem.

Upgrade to windows 7 client and program does not see sql server.  I can connect via ODBC from Access to sql 2000 but not with  VFP app.  

The server was upgraded from win 2000 to win 2003 but I can run the app on XP and connect to sql server 2000 on the win 2003 fileserver.  Just can&#039;t with the foxpro app.

So the problem is connecting to sql server from the foxpro app using the Win 7 pc as client.</description>
		<content:encoded><![CDATA[<p>Here&#8217;s one.  Visual Foxpro app 7.0 on an XP machine connecting to sql server 2000 database (as the back end) which is on on a win 2003 file server &#8212; no problem.</p>
<p>Upgrade to windows 7 client and program does not see sql server.  I can connect via ODBC from Access to sql 2000 but not with  VFP app.  </p>
<p>The server was upgraded from win 2000 to win 2003 but I can run the app on XP and connect to sql server 2000 on the win 2003 fileserver.  Just can&#8217;t with the foxpro app.</p>
<p>So the problem is connecting to sql server from the foxpro app using the Win 7 pc as client.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rick Schummer</title>
		<link>http://rickschummer.com/blog2/2010/11/windows-7-gotcha-with-visual-foxpro-apps/comment-page-1/#comment-1192</link>
		<dc:creator>Rick Schummer</dc:creator>
		<pubDate>Mon, 09 May 2011 19:32:45 +0000</pubDate>
		<guid isPermaLink="false">http://rickschummer.com/blog2/?p=1169#comment-1192</guid>
		<description>&gt;&gt;install the data files anywhere outside the program files directory structure and they will not be copied/ redirected to the virtual folder for use?&lt;&lt;

Yes. And the files you create in the app root folder are also going to be virtualized unless you move out of Program Files.

&gt;&gt;I was dumbfounded the first time that a user told me that one of the controls we wrote off as “incompatible” for Win 7 operated fine on a win 7 64-bit system.&lt;&lt;

All you have to do is install them as Administrator of the machine. Or use a Setup routine that is recognized by Windows to raise the rights to administrator. It is all about security, and naturally compatibility. Putting the controls in the app root folder does work, and you remove the dependency from the System32 folder where other apps load files that are potentially incompatible. Same for the VFP runtimes.

&gt;&gt;I’ll look into Inno.&lt;&lt;

You can have Inno always overwrite the data files so your install will refresh the trial users. I personally find this a bit problematic with users accidentally overwriting their production data. It might be easier to have a special &quot;data refresh&quot; install for the trial users to run once they are ready to move to production.

Rick</description>
		<content:encoded><![CDATA[<p>>>install the data files anywhere outside the program files directory structure and they will not be copied/ redirected to the virtual folder for use?< <</p>
<p>Yes. And the files you create in the app root folder are also going to be virtualized unless you move out of Program Files.</p>
<p>>>I was dumbfounded the first time that a user told me that one of the controls we wrote off as “incompatible” for Win 7 operated fine on a win 7 64-bit system.< <</p>
<p>All you have to do is install them as Administrator of the machine. Or use a Setup routine that is recognized by Windows to raise the rights to administrator. It is all about security, and naturally compatibility. Putting the controls in the app root folder does work, and you remove the dependency from the System32 folder where other apps load files that are potentially incompatible. Same for the VFP runtimes.</p>
<p>>>I’ll look into Inno.<<</p>
<p>You can have Inno always overwrite the data files so your install will refresh the trial users. I personally find this a bit problematic with users accidentally overwriting their production data. It might be easier to have a special &#8220;data refresh&#8221; install for the trial users to run once they are ready to move to production.</p>
<p>Rick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Ritter</title>
		<link>http://rickschummer.com/blog2/2010/11/windows-7-gotcha-with-visual-foxpro-apps/comment-page-1/#comment-1191</link>
		<dc:creator>Scott Ritter</dc:creator>
		<pubDate>Mon, 09 May 2011 17:00:16 +0000</pubDate>
		<guid isPermaLink="false">http://rickschummer.com/blog2/?p=1169#comment-1191</guid>
		<description>Thanks Rick. Yeah - I&#039;ve got ~ 5000 active users of this program, and had few or no problems during the &quot;Vista period,&quot; probably because nobody liked Vista. 90% of the folks who run it on Win 7 have no problems either - unless they uninstall &amp; reinstall, or change from stand-alone to networked shared data.

I tracked down the virtualization thing early enough, just never assigned the right name to it so I could find more information. If you don&#039;t mind my asking - so that I don&#039;t have to re-invent the wheel:

So that am I correct in understanding: You are saying that I can successfully install the data files anywhere outside the program files directory structure and they will not be copied/ redirected to the virtual folder for use? I&#039;d certainly hate to create a solution that works on a test machine but fails on other machines.

Also - mostly as comments for all - my program creates various files for temporary use, mostly .html files to be viewed in a browser, or .csv files for export. It was probably bad judgement that I allowed these files to be created in whatever directory the program was working in at the time, knowing it would be deleted a few seconds later. This is obviously part of the same virtualization problem. Now our registration routine is a crap-shoot as to whether it will work on win 7, sometimes it does, sometimes not. - Just thought I&#039;d warn folks not to practice this.

Also - I was dumbfounded the first time that a user told me that one of the controls we wrote off as &quot;incompatible&quot; for Win 7 operated fine on a win 7 64-bit system. (a control that sends email) We&#039;d attempted to load those controls on a Win 7 machine and installation failed. It appears that sometimes if a control is installed as a member of the application&#039;s directory, (not sent to be self-registered in the system directory) it works. Strange phenomenon???

I&#039;ve got another app that runs a 2-D scanner to collect data. (PDF417 barcodes can contain up to 2000 characters of data, quite useful.) The manufacturer&#039;s new 64-bit installation routine is absurdly &quot;clunky&quot; and we attempted to circumvent it by directing the proper components to their proper Win7 locations. Big failure. It appears Win 7 does not allow self registration of components??

Just thought I mention these things in case others run into them.

Lastly - I&#039;ll look into Inno. Although I will comment that many of our users first install our software as a trial, placing bogus data in the system, then want to clean all the data when they purchase. It&#039;s pretty handy have a re-install create fresh data files. Still - I think I&#039;ll take your advice and create a routine that can perform this without uninstalling.

Thanks again. I gotta lotta programming to do now on many apps. - Scott</description>
		<content:encoded><![CDATA[<p>Thanks Rick. Yeah &#8211; I&#8217;ve got ~ 5000 active users of this program, and had few or no problems during the &#8220;Vista period,&#8221; probably because nobody liked Vista. 90% of the folks who run it on Win 7 have no problems either &#8211; unless they uninstall &amp; reinstall, or change from stand-alone to networked shared data.</p>
<p>I tracked down the virtualization thing early enough, just never assigned the right name to it so I could find more information. If you don&#8217;t mind my asking &#8211; so that I don&#8217;t have to re-invent the wheel:</p>
<p>So that am I correct in understanding: You are saying that I can successfully install the data files anywhere outside the program files directory structure and they will not be copied/ redirected to the virtual folder for use? I&#8217;d certainly hate to create a solution that works on a test machine but fails on other machines.</p>
<p>Also &#8211; mostly as comments for all &#8211; my program creates various files for temporary use, mostly .html files to be viewed in a browser, or .csv files for export. It was probably bad judgement that I allowed these files to be created in whatever directory the program was working in at the time, knowing it would be deleted a few seconds later. This is obviously part of the same virtualization problem. Now our registration routine is a crap-shoot as to whether it will work on win 7, sometimes it does, sometimes not. &#8211; Just thought I&#8217;d warn folks not to practice this.</p>
<p>Also &#8211; I was dumbfounded the first time that a user told me that one of the controls we wrote off as &#8220;incompatible&#8221; for Win 7 operated fine on a win 7 64-bit system. (a control that sends email) We&#8217;d attempted to load those controls on a Win 7 machine and installation failed. It appears that sometimes if a control is installed as a member of the application&#8217;s directory, (not sent to be self-registered in the system directory) it works. Strange phenomenon???</p>
<p>I&#8217;ve got another app that runs a 2-D scanner to collect data. (PDF417 barcodes can contain up to 2000 characters of data, quite useful.) The manufacturer&#8217;s new 64-bit installation routine is absurdly &#8220;clunky&#8221; and we attempted to circumvent it by directing the proper components to their proper Win7 locations. Big failure. It appears Win 7 does not allow self registration of components??</p>
<p>Just thought I mention these things in case others run into them.</p>
<p>Lastly &#8211; I&#8217;ll look into Inno. Although I will comment that many of our users first install our software as a trial, placing bogus data in the system, then want to clean all the data when they purchase. It&#8217;s pretty handy have a re-install create fresh data files. Still &#8211; I think I&#8217;ll take your advice and create a routine that can perform this without uninstalling.</p>
<p>Thanks again. I gotta lotta programming to do now on many apps. &#8211; Scott</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rick Schummer</title>
		<link>http://rickschummer.com/blog2/2010/11/windows-7-gotcha-with-visual-foxpro-apps/comment-page-1/#comment-1190</link>
		<dc:creator>Rick Schummer</dc:creator>
		<pubDate>Thu, 05 May 2011 19:30:46 +0000</pubDate>
		<guid isPermaLink="false">http://rickschummer.com/blog2/?p=1169#comment-1190</guid>
		<description>Hi Scott,

I sounds like you are running into Windows folder virtualization, which has nothing to do with Visual FoxPro. This was something introduced in Windows Vista so you are sort of lucky you are just getting bit by it now. Files that apps write to in the Program Files subfolders get virtualized in a different folder. The really bad part about this for VFP data is that it might only update and virtualize one of the three data files, for example the memo file might get virtualized, but not the DBF or the index file. Painful realization when you go to backup or gather the files to pass back to tech support.

Recommendation is to not load data in the Program Files subfolders. You can either load your app in a different directory structure, or leave the app in Program Files and make it smarter to look for the data elsewhere. Alternatively you can make the data folder so the user does not need the administrative rights.

And for what it is worth, I never let my uninstall process remove the user&#039;s data. To dangerous if the user needs those files for another install or just want to keep their data around. It is easy to not uninstall using Inno Setup, which I highly recommend.</description>
		<content:encoded><![CDATA[<p>Hi Scott,</p>
<p>I sounds like you are running into Windows folder virtualization, which has nothing to do with Visual FoxPro. This was something introduced in Windows Vista so you are sort of lucky you are just getting bit by it now. Files that apps write to in the Program Files subfolders get virtualized in a different folder. The really bad part about this for VFP data is that it might only update and virtualize one of the three data files, for example the memo file might get virtualized, but not the DBF or the index file. Painful realization when you go to backup or gather the files to pass back to tech support.</p>
<p>Recommendation is to not load data in the Program Files subfolders. You can either load your app in a different directory structure, or leave the app in Program Files and make it smarter to look for the data elsewhere. Alternatively you can make the data folder so the user does not need the administrative rights.</p>
<p>And for what it is worth, I never let my uninstall process remove the user&#8217;s data. To dangerous if the user needs those files for another install or just want to keep their data around. It is easy to not uninstall using Inno Setup, which I highly recommend.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Ritter</title>
		<link>http://rickschummer.com/blog2/2010/11/windows-7-gotcha-with-visual-foxpro-apps/comment-page-1/#comment-1189</link>
		<dc:creator>Scott Ritter</dc:creator>
		<pubDate>Thu, 05 May 2011 18:07:03 +0000</pubDate>
		<guid isPermaLink="false">http://rickschummer.com/blog2/?p=1169#comment-1189</guid>
		<description>Rick:

I&#039;ve been programming for 39 years, and I&#039;ve called vfox &quot;home&quot; for the last dozen. Win 7 is making me think about finding a new language. LOTS of problems. My current flagship desktop product uses VFP8, is networkable, and incorporates a number of third-party controls. Win 7 sets up the application normally, but refuses to utilize the tables that get installed. Instead, it makes copies of those files in a hidden directory, and USUALLY uses those. In a network situation, where those files get moved to a server folder during the first run, it does not delete those files during the move. With 2-3 sets of the tables and database containers, data is quickly corrupted. If uninstalled, the tables in use don&#039;t get removed, any corrupt data stays around forever. Any fixes?</description>
		<content:encoded><![CDATA[<p>Rick:</p>
<p>I&#8217;ve been programming for 39 years, and I&#8217;ve called vfox &#8220;home&#8221; for the last dozen. Win 7 is making me think about finding a new language. LOTS of problems. My current flagship desktop product uses VFP8, is networkable, and incorporates a number of third-party controls. Win 7 sets up the application normally, but refuses to utilize the tables that get installed. Instead, it makes copies of those files in a hidden directory, and USUALLY uses those. In a network situation, where those files get moved to a server folder during the first run, it does not delete those files during the move. With 2-3 sets of the tables and database containers, data is quickly corrupted. If uninstalled, the tables in use don&#8217;t get removed, any corrupt data stays around forever. Any fixes?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Selje</title>
		<link>http://rickschummer.com/blog2/2010/11/windows-7-gotcha-with-visual-foxpro-apps/comment-page-1/#comment-1178</link>
		<dc:creator>Eric Selje</dc:creator>
		<pubDate>Thu, 25 Nov 2010 17:42:54 +0000</pubDate>
		<guid isPermaLink="false">http://rickschummer.com/blog2/?p=1169#comment-1178</guid>
		<description>Again, this has come into play for me but in a different way.  You write &quot;I dig around and find the 32-bit ODBC Manager and set up the ODBC driver&quot; but you didn&#039;t really expand on that.  I lay it out in my latest post: http://saltydogllc.com/?p=356.

It&#039;s Thanksgiving, and I am thankful for you and your posts.</description>
		<content:encoded><![CDATA[<p>Again, this has come into play for me but in a different way.  You write &#8220;I dig around and find the 32-bit ODBC Manager and set up the ODBC driver&#8221; but you didn&#8217;t really expand on that.  I lay it out in my latest post: <a href="http://saltydogllc.com/?p=356" rel="nofollow">http://saltydogllc.com/?p=356</a>.</p>
<p>It&#8217;s Thanksgiving, and I am thankful for you and your posts.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Selje</title>
		<link>http://rickschummer.com/blog2/2010/11/windows-7-gotcha-with-visual-foxpro-apps/comment-page-1/#comment-1176</link>
		<dc:creator>Eric Selje</dc:creator>
		<pubDate>Thu, 04 Nov 2010 04:04:17 +0000</pubDate>
		<guid isPermaLink="false">http://rickschummer.com/blog2/?p=1169#comment-1176</guid>
		<description>Thank You Rick!  An offhand comment you make here combined with a blog post by Christoph (http://www.foxpert.com/knowlbits_200909_1.htm) fixed my runtime crashes today.

The problem was the conflicting version of the Resource File in SysWOW64 with the new Hotfix runtime.  Got everything up-to-date in SysWOW64 and made damn sure all other versions were out of the path and everything&#039;s working again. 

My biggest frustration was that Windows7 wouldn&#039;t find files anywhere despite my telling it that I wanted it to look everywhere. I may look back at Copernic or something.</description>
		<content:encoded><![CDATA[<p>Thank You Rick!  An offhand comment you make here combined with a blog post by Christoph (<a href="http://www.foxpert.com/knowlbits_200909_1.htm" rel="nofollow">http://www.foxpert.com/knowlbits_200909_1.htm</a>) fixed my runtime crashes today.</p>
<p>The problem was the conflicting version of the Resource File in SysWOW64 with the new Hotfix runtime.  Got everything up-to-date in SysWOW64 and made damn sure all other versions were out of the path and everything&#8217;s working again. </p>
<p>My biggest frustration was that Windows7 wouldn&#8217;t find files anywhere despite my telling it that I wanted it to look everywhere. I may look back at Copernic or something.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
