Welcome to MSDN Blogs Sign in | Join | Help

May 2006 - Posts

Webcrawl a blog to retrieve all entries locally: RSS on steroids

Today’s sample shows how to create a web crawler in the background. This crawler starts with a web page, looks for all links on that page, and follows all those links. The links are filtered to my blog, but generalizing the code to search the entire web
Posted by Calvin_Hsia | 21 Comments
Filed under: ,

More Multithread capabilities: interthread synchronization, error checking

In a prior post: Create multiple threads from within your application , there is a sample Thread Class that can be used to create multiple threads that can execute VFP code. Today’s sample presents code that demonstrates how a thread can send messages
Posted by Calvin_Hsia | 24 Comments

Meeting with some customers, manipulating SQL Server with Stored Procs

I met with some customers today from one company. They took time from their busy schedule to travel to Redmond to spend a couple days to address some SQL Server and Foxpro issues. It’s always a pleasure to meet with customers and learn about their real
Posted by Calvin_Hsia | 1 Comments
Filed under:

Create multiple threads from within your application

When I posted this Sample program to create multiple threads , I knew the inevitable follow-up question was “can I run my VFP code in separate threads?”. Sure enough, several people asked, citing various valid usage scenarios. Below is a class that you
Posted by Calvin_Hsia | 25 Comments

Sample program to create multiple threads

I used the CreateThread call and the Heap functions to create a simple sample program that spawns a separate thread that displays a MessageBox Try running it and you will see a MessageBox. However, unlike a normal MessageBox in your application, this
Posted by Calvin_Hsia | 40 Comments

What API calls reset GetLastError between Declare DLL calls in VFP8?

I received a comment on this post: Will GetLastError ever work properly in VFP8.0? . I was consistently getting GetLastError() values that were correct in both VFP8 and VFP9. The reader comment said that he was getting an unexpected value of 0 in VFP8

Edit and Continue in VFP can save you time

Sometimes it takes many steps to reproduce a problem. Perhaps you have to start an application, log in, navigate some forms, menus, etc. until you finally reach a breakpoint in your code. Then you see the problem, want to modify the code and retest. That
Posted by Calvin_Hsia | 4 Comments
Filed under: ,
 
Page view tracker