Jun
17

Just in case you have not seen this yet, Bob Kocher has more surprises for you at Southwest Fox 2006. I just read that he has added Rick Borup, Milind Lele, Rod Paddock, and Christof Wollenhaupt. Wow!

I think this will be Christof’s first speaking engagement in the USA, but he has been a big time speaker at the German DevCon for years and someone I really respect. His knowledge of VFP and software development are tops in our community. I am really looking forward to his session ‘The Security Cookbook.”

Rick Borup is one of my personal favorite speakers at VFP conferences and is the co-author on Deploying Visual FoxPro Solutions. His session on “Automating the Build” is something I plan on attending.

Rod Paddock has hosted the often overlooked FoxForum.com site, which is where I hang out daily. Rod is an accomplished developer in both VFP and .NET so his session on “Understand the .NET Framework” should be a good one.

What a great set of additions to a power packed line up!

I also see Bob has announced each attendee will receive $150 in DBi Dollars. What a fantastic offer from the folks at DBi Tech. DBi Tech has been involved with the Fox Community for years, but have really stepped it up in the last 12 months with the Sedna components they are planning to release as part of the product and now this generous offer. Way to go DBi Tech and Bob!

Looks like Southwest Fox is heating up even more to be the best valued conference of the year here in the USA. I am sure there is not better bang for the buck in conferences around. You still have a couple of weeks to get the lowest price available. And knowing Bob, he probably still has a few tricks up his sleeve.

(updated 06/20/2006 to remove Milind’s speaking as Bob has removed him from the list in latest post)

Jun
14

Lost in Trace

I have a situation here that has me perplexed. I build an APP file, the VFP Builder Manager (Builder.APP) to be specific. I do a Recompile All, and have checked on Debug Info and unchecked Encrypted in the Project Info dialog when I build.

I have added a SET STEP ON in the code to figure out a problem I have with a new builder I am writing. When the Trace Window opens there is no code displayed. None. It is as if the Debug Info was checked off.

I have checked the code for SYS(2030) and there are no instances of this called in the project. There is no SET DEBUG OFF anywhere in the project. The FXPs are not readonly and not getting replaced because the code stops on my SET STEP ON. I have checked this with PROGRAM() and LINENO() in the Watch window and they match my additions to the Builder.PRG. No projecthook to reset the Debug Info setting. I even added a SYS(2030,1) to make sure VFP was not stopping the debugging internally.

I know I am running the correct version of the APP file by checking _BUILDER and doing a ?FDATE(_BUILDER) to see if the file is the correct build date.

As you probably know, I don’t have much more hair to pull out.

Has anyone seen this before? Can anyone point me to the corrective action? There could be prizes!

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.