Barbara peisch
This presentation is the property of its rightful owner.
Sponsored Links
1 / 12

Southwest Fox 2007 Overview PowerPoint PPT Presentation


  • 46 Views
  • Uploaded on
  • Presentation posted in: General

Barbara Peisch. Southwest Fox 2007 Overview. eTechnologia .Net Extender available now for $120 VFP compiler for .Net alpha free with .Net Extender (will cost a moderate amount after release) http://www.etecnologia.net/products/CLRExtender/CLRExtender-index.htm Guineu

Download Presentation

Southwest Fox 2007 Overview

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


Barbara peisch

Barbara Peisch

Southwest Fox 2007 Overview


Vfp under net

  • eTechnologia

    • .Net Extender available now for $120

    • VFP compiler for .Net alpha free with .Net Extender (will cost a moderate amount after release)

    • http://www.etecnologia.net/products/CLRExtender/CLRExtender-index.htm

  • Guineu

    • VFP runtime for .Net

    • Very early stages and price is unknown

    • http://guineu.foxpert.com/

VFP under .net


Moving away from vfp

  • Servoy

    • Java solution

    • WYSIWYG tool

    • Everything is stored in tables on the back end

    • http://www.servoy.com/

    • Need license for developer ($649 plus $227/year)

    • Need licenses for clients ($349 plus $88/year)

  • GenXus

    • Demoed for FPDN in Sept (http://foxdevsd.org/index.asp?page=MeetingPast)

    • http://www2.gxtechnical.com/portal/hgxpp001.aspx

    • Expensive!

Moving away from VFP


Running vfp under vista doug hennig 1

  • Security

    • Should not run as Administrator

    • Vista creates a “split token” so even if you are an Administrator, you don’t have Administrator rights all the time and often your requests need to be “elevated” in order to run.

    • A lot of people are turning off the User Access Control (UAC) to avoid problems but that defeats the security in Vista

Running VFP under vista (doughennig)--1


Running vfp under vista doug hennig 2

If you are logged in as

Admin and need to be

elevated:

If you are a standard user

and need Admin rights:

Running VFP under vista (doughennig)--2


Running vfp under vista doug hennig 3

  • Applications

    • The “correct” location for applications is in a subfolder under C:\Program Files

    • Files under C:\Program File, C:\Windows and the registry hive HKEY_LOCAL_MACHINE are not writable—changes will be “virtualized” instead

      • C:\Program Files, changes end up in C:\Users\Username\AppData\Local\VirtualStore\Program Files\SomeFolder

      • C:\Windows changes end up in C:\Users\Username\AppData\Local\VirtualStore\Windows

      • HKEY_LOCAL_MACHINE changes end up in HKEY_CLASSES_ROOT\VirtualStore\Machine

    • Vista gives no warning when virtualizing updates and it causes LOTS of problems!

    • Can put DATA under your app folder if there are no executables—you must set special permissions

Running VFP under vista (doughennig)--3


Running vfp under vista doug hennig 4

Guidelines for which folders to use (1):

  • Store read-only global data in the common application data folder. This folder has an ID of CSIDL_COMMON_APPDATA (0x23), which resolves to C:\Documents and Settings\All Users\Application Data on XP and C:\ProgramData on Vista. For example, the Super Happy Fun Ball application should store its global data in C:\ProgramData\My Company Name\Super Happy Fun Ball on Vista. Note that since this folder is read-only for standard users, it can only be used to store global settings created by an administrative user. (In fact, this folder doesn’t even show up in Windows Explorer unless you have the “show hidden files and folders” setting turned on.) However, you can set permissions for this folder so it is writable by all users.

Running VFP under vista (doughennig)--4


Running vfp under vista doug hennig 5

Guidelines for which folders to use (2):

  • Store read-write global data in the Public folder; this is only Microsoft-recommended location that standard users can write to. There isn’t a CSIDL value for this folder, but the environment variable PUBLIC points to it, so you can use GETENV(‘PUBLIC’) to determine its location. By default, this variable contains C:\Users\Public in Windows Vista. The variable doesn’t exist in Windows XP, so your code must handle the case where GETENV(‘PUBLIC’) returns a blank value. Alternatively, you could use the parent of the folder specified by CSIDL_COMMON_DOCUMENTS, which gives C:\Documents and Settings\All Users\Documents on XP and C:\Users\Public\Documents on Vista. For example, the Super Happy Fun Ball application should store its read-write global data in C:\Users\Public\My Company Name\Super Happy Fun Ball on Vista.

Running VFP under vista (doughennig)--5


Running vfp under vista doug hennig 6

Guidelines for which folders to use (3):

Alternatively, you can create your own folder in the root of the drive (for example, C:\Super Happy Fun Ball) to store application data. The problem with this approach is that users may get annoyed with every application creating a new root folder, making their hard drive messy. A better solution is to store data in a subdirectory (such as Data) of your application’s folder and set the permissions for that subdirectory so it’s writable. I’ll discuss how to do that in the “Installing Application” section of this document.

Running VFP under vista (doughennig)--6


Running vfp under vista doug hennig 7

Guidelines for which folders to use (4):

Store user-specific roaming data (copied to the server and back for every computer the user logs into if roaming profiles are used) in the user’s application data folder. This folder is C:\Documents and Settings\username\Application Data for XP and C:\Users\username\AppData\Roaming for Vista. Its ID is CSIDL_APPDATA (0x1A). For example, the Super Happy Fun Ball application should store its user-specific data in C:\Users\username\AppData\Roaming\My Company Name\Super Happy Fun Ball on Vista.

Running VFP under vista (doughennig)--7


Running vfp under vista doug hennig 8

Guidelines for which folders to use (5):

Store local non-roaming data in the user’s local application data folder. This folder’s ID is CSIDL_LOCAL_APPDATA (0x1C). For XP, the path is C:\Documents and Settings\username\Local Settings\Application Data for XP, while it’s C:\Users\username\AppData\Local for Vista. For example, the Super Happy Fun Ball application should store its user-specific local data in C:\Users\username\AppData\Local\My Company Name\Super Happy Fun Ball on Vista.

Running VFP under vista (doughennig)--8


Running vfp under vista doug hennig 9

Guidelines for which folders to use (6):

Although you shouldn’t automatically store anything here, use the user’s documents folder as the default for saving and opening “documents” (for example, Word documents generated by the application). Use CSIDL_PERSONAL (0x05) as the ID; this maps to C:\Documents and Settings\username\My Documents on XP and C:\Users\username\Documents on Vista.

Running VFP under vista (doughennig)--9


  • Login