Archive

Archive for the ‘Visual FoxPro’ Category

Jun
27

The countdown clock is ticking! The Super-Saver deadline for Southwest Fox and Southwest Xbase++ 2016 is June 30th, this Thursday! We still need people to register to make the conferences happen.

The conferences take place September 22-25 in Gilbert, Arizona and we really hope you can be there. We would hate to see you miss out on the $125 discount, the FREE pre-conference session, and an opportunity to win a scholarship or a license of Stonefield Query SDK (a $6,000 value).

After checking out our list of amazing speakers (http://www.swfox.net/speakers.aspx) and digging into our session tracks for VFP (http://www.swfox.net/sessionsswfox.aspx) and Xbase++ (http://www.swxbase.net/sessionsswxbase.aspx), head over to the registration Web site today: http://geekgatherings.com/Registration.

87 days until we gather in Glibert (fingers crossed)!

Jun
01

Registration for Southwest Fox and Southwest Xbase++ is now available. See our speaker page for a list of speakers and our session pages for Visual FoxPro and Xbase++ sessions.  Super-Saver Registration, which saves you $125, is available only through June 30th, so don’t wait.

Putting on a conference is a risky endeavor. Conference centers require a guaranteed minimum income to block the dates of a conference; for a conference like Southwest Fox, that minimum is in the tens of thousands of dollars. We have to commit to the conference center by July 2nd and need your support by July 1st to make that commitment. We will not send out a “We need your help” appeal email so please do not wait; register by June 30th! We know most of you like to wait until the last minute to avoid the credit card bill arriving too soon. We will not charge any attendee credit cards or cash any checks until we have committed to going forward (sometime after July 2), so this is not is a reason to wait.

White Light Computing is proud to be a Platinum sponsor for the 10th straight year.

CleverFox Backup is proud to be a Gold sponsor for the 2nd year.

I look forward to seeing you in September! Only 113 days until we gather in Gilbert.

Mar
08

We have customers calling occasionally to share with us their observation that our application we sold them is running slow. In the cases where we know the application is performing fine at other locations, we have to begin the process to determine what is different about their environment and circumstances and how this is different from the average customer who has our application working optimally. We are basically looking for things like slow computers, slow networking, over worked “server” computer, and flooded network traffic. As developers, we understand there are numerous factors in performance of an application and interaction with data. While data size can make an impact, I’ve seen large files perform just fine for our customers.

Note: All the questions assume you have done the standard performance diagnostics with your application using the Visual FoxPro Coverage Profiler to identify and remove all the slow parts. All queries (both SQL Select in-line code and local views) for local data are all optimized and checked using SYS(3054). The same goes for remote views, SQL Passthrough and CursorAdapter code for SQL server data (any SQL Server, PostgreSQL, MySQL, etc.) using the performance tools they provide.

I generally like to focus on the other external factors when it comes to performance.

Here are some of the questions I ask:

  1. What is the network configuration with respect to the workstations and networking speed of each connection? How fast is the network card on each computer: 10 mbit, 100 mbit, or 1000 mbit? 1000 mbit networking technology is inexpensive, yet we run into 10 mbit connections deep into the 21st century. It is simple to math to understand the impact.
    .
  2. What version(s) of Windows are running in your location on each computer? We have seen some performance issue with computers where there is an XP machine accessing the networked computer that runs Windows 7 or Server 2008/2012.
    .
  3. How much memory is on the “server” computer (Windows Server or workstation where software is installed in peer-to-peer)? What operating system is on the “server” computer?
    .
  4. Is the “server” computer 32-bit processor or 64-bit processor? What about the workstations?
    .
  5. How fast is the hard drive where the application is installed? Do you know if the drive is a 7800 rpm drive or better? We do find that slower drives do create performance problems in peer-to-peer networked situations.
    .
  6. Are you running the application on a server computer or a standard/regular workstation computer? Also, is the main computer a part of the normal operations or does it sit in the back and not get used by anyone?
    .
  7. If the main computer where the application is installed is a Windows Server, is it running anything else like Exchange, SQL Server, or anything else? How many processors are on the server?
    .
  8. What ant-virus or security software is installed? Are the data folders excluded from the scans? If I was given $10 each time anti-virus software was being overly aggressive with the data, well, my retirement account would be in excellent shape.
    .
  9. Where are the Windows TEMP files being written for the workstation? They should be pointed to the local computer, not a server if one is in use.
    .
  10. Are any of the other machines connected to the network through a wireless connection, or are each of the other computers wired into a switch/hub using an Ethernet cable? We do not support wireless networks for our applications, the computers must be hard wired. Wireless connections, while reliable for surfing the Internet, are not reliable for database applications.
    .
  11. What is the brand and model of the network switch/hub and how fast is it? We often run into old infrastructure that has worked for years/decades, so why would it stop working today? Hardware breaks eventually, but for some reason people think it only breaks for other people.
    .
  12. What other programs are running on the “server” computer besides our application when our application is running? I am looking for the memory hogs and the other application that have lots of background processing. People are amazed how much memory Web browsers consume when you leave them open for days and have tons of tabs set up to refresh for the news junkies.
    .
  13. Drive mappings or UNC to access main computer from workstation? I am never sure if this impacts performance, but it can help me generally get an idea of when someone sets things up themselves or have a professional IT group set things up.
    .
  14. How many drive mappings on the workstation? Another question to see if a professional set the computers up. Also, it helps me understand if there might be other applications accessing the network.
    .
  15. When was the “server” hard drive with our applications data defragmented? What is the level of defragmentation? Defragmentation is not much of a problem with larger drives now, but can obviously impact the data if it is scattered all over a drive.

Other things that cause slow performance:

  1. How long has the application been in service? How big is your application data? Inefficient and non-optimized queries obviously run slower with bigger data sets. I think all developers have overlooked this once or twice before, and production is going to reveal this fairly quickly once the users start recording information.
    .
  2. How frequently do you run the reindex routine? Indexes do get corrupt from time-to-time in the natural course of using the application. We know people who go months without reindexing. Good for them. On average, our reindexing routine takes a few minutes and we are not in the position where our applications are running 24×7 and cannot be down for this brief time. So we recommend to some of our customers to reindex daily, and others on a less frequent schedule.
    .
  3. Bad Ethernet wires or a bad port on the hub/switch often cause retries sending data over the network. Difficult to track down when more and more computers are used on the network.
    .
  4. Any chance you are streaming music through the network from Pandora, Spotify or another music service? Anything that creates network traffic will slow a networked application down.
    .
  5. Is there anything else that is running over the Internet to a computer other than standard browsing or file sharing? I’ve actually found a couple of customers who had people playing games over the network, watching their latest soap opera and Netflix binge watching at lunch, and even during work hours. Does that hurt application performance, um, sure.

Anything else we could be sharing with the local IT people? What are your experiences?

Dec
04

Help us plan for Southwest Fox and Southwest Xbase++ 2016. Comment on recommended topics and add your own on our conference blog.

Make a difference by participating in the conversation!

Apr
19

Back in March of 2008 I wrote a white paper to help Visual FoxPro developers install Visual FoxPro 9 Release to Manufacturing (RTM), Service Pack 1 (SP1), and Service Pack 2 (SP2) all on the same computer. At the time I hoped the readers found the information presented in the white paper a useful guide in getting the different versions of Visual FoxPro 9 installed and working on their development machine. The main reason I wrote it was to encourage developers who were hesitant to install Visual FoxPro 9 Service Pack 2 to get it installed and begin the testing process with their apps. The reputation of VFP 9 SP2 was not all that positive as there were some bugs that made it challenging when released.

Over the years I have updated the white paper to include the VFP 9 SP2 hotfixes, the Fox Community supported VFP 9 Help file on VFPX, highlight some issues with the Virtual Store when upgrading VFP 9 to the latest Service packs, and corrected some bad Web links along the way. Several people have contributed feedback and suggestions along the way.

In the past few months I have talked with several developers who are still running the original VFP 9 SP2 release, building apps, and deploying them without the VFP 9 SP2 hotfixes. I wanted to refer them to the white paper on the White Light Computing Web site, but I knew recently that the white paper became inaccurate. So I took some time this evening to update it and get it posted.

The reason for the update is that the VFP 9 SP2 hotfix downloads hosted on Microsoft’s Code Gallery Web site disappeared when Microsoft killed the Web site. All the hosted files were removed. The Fox Community jumped into action as soon as this became known and started a new project on VFPX to host this very important VFP 9 SP2 Hotfix download. Additionally, I reviewed the entire white paper, added download information for the VFP 9 Reporting Applications (also a VFPX project) to fix some user interface nits and an important hi-resolution monitor bug fix, fixed a couple bad links, and updated some figures and folder names to make it more current from the original writing in 2008. I also adding some marketing materials for the books I have written over the last 15 years.

This white paper has become more than a guide to set up different folders for the different VFP 9 versions. It also is current documentation on where to find all the core Visual FoxPro 9 download files.

I certainly hope some of you have found this white paper useful over the years (hard to believe it has been 7 years since I originally wrote it). If you have not had a chance to get the latest hotfixes for VFP 9, make sure you follow the links in this blog and go get them installed. I personally have seen the nasty reporting bug fixed in this build. With this bug fixed and all the improvements from VFPX over the years, I find VFP 9 SP2 very reliable and stable.

Jan
04

I see this question pop up on the forums from time-to-time and get personal emails asking: where can I get a license to Visual FoxPro 9??

Most answers point developers to look on Ebay or check CDW, but the fact is Microsoft is not selling them anymore. If you have an MSDN license you also might have a license to Visual FoxPro. Short of that, legal copies are harder to uncover these days.

Good news and bad news. First the good news, the German FoxPro User Group still has a license to sell copies of Visual FoxPro 9 with their Visual Extend framework. The bad news is that license expires on January 12, 2015 (8 days from now!). So, if you still need licenses for Visual FoxPro, it may be a good idea to grab as many as you think you might need in case you need them in the future.

See Rainer’s post for all the details.

May
27

Registration for Southwest Fox and Southwest Xbase++ is now available. See the speaker page for a list of speakers and the session page for a list of fantastic sessions. The Super-Saver Registration, which saves you $125, is available only through June 30th, so don’t wait. You also can select a free pre-conference session at the same time.

White Light Computing is proud to be a Platinum Sponsor for the eighth year. Our whole team will be at the conference. Frank Perez and I are speaking at the conference too.

Putting on a conference is a risky endeavor. Conference centers require a guaranteed minimum income to block the dates of a conference; for a conference like Southwest Fox/Xbase++, that minimum is in the tens of thousands of dollars. We have to commit to the conference center by July 2nd and need your support by July 1st to make that commitment. We will not do “We need your help” appeals this year so please do not wait, get registered by June 30th! We know most of you like to wait until the last minute to avoid the credit card bill arriving too soon. We will not charge any attendee credit cards or cash any checks until sometime in the second half of July or early August (once we’ve committed to going forward), so this no longer is a reason to wait.

I look forward to seeing you in October!

Mar
20

Last minute, just 14 hours to go! Now is the time to get your ideas submitted.

Just a reminder that session proposals for Southwest Fox 2014 and Southwest Xbase++ are due by 8 AM EDT this Friday, March 21. If you’re interested in speaking, please see http://www.swfox.net/callforspeakers.aspx for instructions. We look forward to hearing from you.

We are grateful for all the submissions so far, but we are anxiously awaiting to hear from the rest of you what you would like to share with your peers. Thanks for considering.