Jun
09

Finally coming up for some air today after a marathon of activity here at White Light World Headquarters. I added about 10 blog entry ideas to my Wiki over the last couple of weeks and have not had time to address any of them.

VFP 9 has many enhancements to the Property Sheet, but one I was using a lot this last week include a shortcut to the Edit Property/Method dialog. I was refactoring some classes for a builder framework I am extending (which will be detailed in a future article in Advisors Guide to Visual FoxPro). I was adding properties and methods, renaming them, changing descriptions, and moving them to different classes. Fun work.

One of the frustrating things to make these changes is to to pull the Edit Property/Methods dialog off the Form or Class menu. Once displayed you have to scroll down the list to find the property/method you want to change. What I rediscovered this week is you can call the dialog from the Property Sheet shortcut menu and it will actually position you on the PEM (property/event/method) in the dialog. What a time saver.

Unfortunately this is only available for custom property and methods you add to the form or class. Right-clicking on intrinsic PEM does not display the menu option. Bummer.

Now the dialog should become a MenuHit project on SednaX (hint, hint, hint {g}). The dialog should be modeless like Doug Hennig’s New Property/Method dialog. It should be resizable, remember its last size and position, and be dockable. It should be MemberData smart (making a change to the PEM in this dialog wipes out the MemberData details), the New Property and New Method buttons should call Doug’s dialog. I am sure there are other ideas. What are your’s?

There was a brief thread on this topic a long time ago on FoxForum.com (“Semi-hacking .SCX/.VCX PEMs for speed” thread in June of 2005). I offered to help, but unfortunately the thread and the discussion went no where. Hopefully someone will take the charge and come up with a replacement dialog.

Jun
05

SednaX Name Poll

Just in case you have not heard: the SednaX Admins are requesting your opinion on changing the name. Here is a snippet from Craig Boyd’s news post on SednaX:

In the interests of providing SednaX members and project managers with more features and a powerful online environment for collaborative projects a move to Microsoft’s CodePlex (http://www.codeplex.com) is being looked into. The CodePlex site is still in beta, but offers a number of features that SednaX members and projects could benefit from. The timeline in which SednaX would be moved to CodePlex is still a little difficult to estimate, but we hope to be able to make the move in a timely manner.

One of the other changes that is being considered as part of the move is renaming SednaX to better reflect the fact that it is related to Visual FoxPro. We have set up a thread, ‘SednaX Name Change’, in the discussion area for ideas about what SednaX should be officially named/branded for the long term.

Andrew MacNeill is taking this a step further with a poll. Cool.

So take part in this community effort and join in on the discussion in the SednaX forum, and vote on the poll. Both aspects will impact the final decision.
May
26

VirtualPC Resources

Back in March I blogged looking for instructions to set up a Virtual Machine. I even asked this question to the attendees of GLGDW 2006. I flat out have not had a single pointer to some decent resources. This surprises me.

Since this time I have run across two good resources I want to share with you. The first is a book called The Rational Guide To: Microsoft Virtual PC 2004 (Amazon link here). It is a short book and has some decent pointers on configuration and setup of VirtualPC. While this book has some simple topics and states some obvious points, you will definitely get your US$10 worth from the read.

The second resource is a new whitepaper from Ronald Beekelaar and John Paul Cook titled Developing and Debugging Software Inside of Virtual Machines. You can get this whitepaper free of charge of on Microsoft’s VirtualPC site. Besides the testing and debugging topic, this whitepaper helps you with copying a virtual machine (VM) to save you time setting up different configurations of the same OS, making new VM, and configuring advanced networking scenarios.

Neither of these resources resolved all the things I was looking for initially, but between the two I have been able to answer most of the questions. Hopefully if you are in the market for some answers to similar questions you will find these resources helpful.

May
23
SednaX membership is exploding. We have been approving close to 10 memberships a day for the last week and we just hit 700 memberships overall. This is phenomenal!

We recently added two exciting projects:
1) ctl32_statusbar headed by Carlos Alloatti
2) Code Analyst headed by Andrew MacNeill
The other projects all have recent updates to the source code as well:
1) GDI+ X Foundation Classes headed by Bo Durban
2) JustBehave headed by Glenn Domeracki
3) OOP menus headed by Doug Hennig
A few people recently emailed me asking how they can get involved. It really is easy, join SednaX, then offer one of the project managers your assistance. It is up to each project manager to handle their projects as they see fit, but I know several of them are looking for testers and feedback at the moment.
There is another project on deck which we will be announcing soon too. I think it is safe to say SednaX has momentum.
May
19
Over the last few days there has been some discussion over on Ed Leafe’s ProFox list about the cost of Sedna. I jumped in and added my two cents, and introduced a couple of developers to the VFP Roadmap. This spawned off some discussion about the fact there is no VFP 10, which is surprising since Microsoft released the VFP Roadmap almost a year ago. Naturally, this degraded into a negative spiral and the Fox is dead conspiracy theories. I made the comment:
 

“The community has been throwing out conspiracy theories for years about the future of FoxPro and always questioning Microsoft’s intentions. Now they layout the future in writing and developers still complain. How can they win?”

 
Michael Babcock responded to my question with this
 

“By marketing it to those other than the faithful choir so that new blood comes in and it gets seriously adopted in IT again.  (haha, yeah right)”

 
I understand Michael’s frustration, but I am of the philosophy of not worrying about things I cannot control. The whole thing about Microsoft not marketing VFP is something a lot of people have complained about for years. I have thought a lot about this and finally decided to put my thoughts into words on a public forum. I posted the following on ProFox yesterday (after fixing one typo):
 

“I am long past this marketing problem. For the most part, VFP is not a product for large enterprises and will not be accepted by a large percentage of large enterprises. It will not matter if Microsoft starts marketing it. Large enterprises are using SAP, Navision, and Web tools. VFP is not on their radar scope (yes some exceptions do exist). I know this because I developed VFP applications for Fortune 1 (General Motors was number one while I wrote apps for them). I watched as pointy-haired bosses read the latest industry rags and made decisions on a moment by moment basis strictly on the latest article they reviewed.
There is no accountability in large companies, so the this “fluid” environment of switching from tool X to Y to Z is going to happen and is really out of control. This is where the statistics are altered in a big way with the percentage of failed IT projects getting so high.
 
Similar to the fact that Fortune 500 employs a surprisingly low percentage of the overall workforce, large corporations only have a fraction of the overall software development work and budget. For the most part small to medium size businesses don’t care about the technology under the hood and this is the market where VFP flourishes (again, there are exceptions). They just want something that works, is reasonably priced, and is fast to market. They need to be dynamic to remain competitive. VFP, in conjunction with good VFP developers, is the perfect fit for this market. So if VFP developers want to flourish, serve the niche market it serves so well and forget about being the popular child in Microsoft.
 
This is my competitive advantage and this is the reason my company is so successful. Now back to work.”

I wanted to share this with you because ProFox is not read by everyone. This blog is not read by everyone either, but by posting it here maybe a few more people might read it and link to it. I have received a lot of positive feedback on this. I did not expect it because there was a lot of negativity in the thread up to this point. It might be a different perspective on the subject.
 
In addition, after listening to Craig Boyd talk about the future of FoxPro and how we as individuals and as a community can make a difference, I felt compelled to post this to see if I can make a difference today. Thanks for taking the time to read my blog.
May
19

So we headed out to the pizza place to continue the meeting for some beverages. It is not unusual for our group to do this and quite often the meeting after the meeting is as good or better than the original presentation.

There certainly was some fun discussion, several problems solved, and much Fox education being shared. We did not solve world hunger, but we figured out how vendors can reduce SPAM, discussed numerous gotchas with SQL Selects in VFP 9 (and how Craig needed to use SET ENGINEBEHAVIOR 70 to work around a UNION problem with character fields and memo fields), and probably a dozen or more detailed discussions.

I got home just about an hour ago and several people joined SednaX and specifically noted how Craig’s session inspired the decision to join.

I have not had a chance to review the video recording. We decided to try a digital video camera because of the last minute decision to record the event. I am going to send it to Craig for review and possible editing and then decide if we should make it available to the rest of the VFP Community. We are not video professionals, but it has a lot of value if it worked.

Indeed, the VFP World Domination Tour stop in Detroit was a big hit.

May
18
Reboot of the computer and restarted in Windows Vista. Not many of the DAFUG members have seen VFP running in Windows Vista. Some saw it at Southwest Fox 2005 last October.
Craig’s machine is dual boot because he struggled to get Vista to run in a VirtualPC session. Overall, Craig likes Vista. He likes the Areo Glass and the desktop search. There are some changes he dislikes like hiding the Run… functionality and some of the changes in Internet Explorer.
The next step was to show VFP running on Vista and how the new look and feel is already absorbed by VFP because it already supports XP Themes. So your application will automatically look “Vista Enabled”. The menus even look improved. The Windows API calls assume the new API for Vista. For example, the Open File dialog looks different and shows file attributes not found on XP or earlier. There are glitches still, but the Fox Team is working on VFP 9 SP2 to address theses issues. This to me is the most important part of the Sedna release.
One of the neat things demoed included the new Task Dialogs. It is like MessageBox, but better. Craig wanted to show us the speech recognition, but apparently it is broken on his machine in the CTP he is running. Craig had some fun with the fact that I set him up to find a problem with the demos he had. Looks like he is out for some sweet revenge during my sessions at Advisor DevCon or during the keynote at Southwest Fox.
What a session! Two and a half hours of VFP on steriods. Great job Craig.
May
18
Pizza was good. Special thanks to Dale Zimmer for buying the pizza and sneaking it into the hotel.
 
Craig’s next demo is the SednaX GDI+ classes currently under construction by Bo Durban of Moxie Data (project manager), Craig Boyd, and a team of developers. The project is just about 80% complete. The team needs some testers and some developers to work on example code for the libary. He showed some interesting examples created by the team. One of the examples is images, which look like a command button, but has two icons on the button (something not possible with native VFP). The list of examples has grown significantly in the last couple of weeks. I am very impressed by the quality of work done by this team in a very short time. Hats off to Bo and his team!
 
Have I mentioned the price of the GDI+ classes? Free!
 
Craig took this opportunity to introduce the group to SednaX. If you don’t know what SednaX is, head over here. Craig is one of the administrators of SednaX (along with Doug Hennig and myself). This is an organization with over 650 members who potentially can collaborate to extend Visual FoxPro. Check out several of the existing projects or propose another project not yet submitted. Ideas were discussed on the types of projects that could be submitted. Craig covered some of the Mission Statement and the process of getting a project submitted for consideration.
 
More to come…