Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Web » Visual FoxPro   (RSS)

Run your application forms on the web

I received a customer question: I have looked all over the web and still searching, and found your blog. I have a very specific issue and I need to ask whether this is doable first of all and how to do it after. First of all, I need to make a foxPro app
Posted by Calvin_Hsia | 1 Comments
Filed under: , ,

Another way to get data into a web page: using OleDB or ODBC

Here’s a way to get data into a web page to be viewed by a web browser. The code first spits out some text into a variable, then writes the variable to a file in the c:\Inetpub\WWWRoot folder. If you have Internet Information Server installed (on WinXP
Posted by Calvin_Hsia | 1 Comments
Filed under: ,

Analyzing Blog hit statistics

It takes a lot of work to create the blog posts and code samples that I put in my blog, and I was curious about getting more detailed statistics about the posts. I already aggregate some statistics for Microsoft Bloggers (see What is a Microsoft MVP?
Posted by Calvin_Hsia | 2 Comments
Filed under: ,

Use a different kind of grid in your applications

My prior post ( Create a .Net UserControl that calls a web service that acts as an ActiveX control to use in Excel, VB6, Foxpro ) shows how to create a .Net control that you can use in VFP or VB6 that takes advantage of the .Net framework. Here’s an example

Create a .Net UserControl that calls a web service that acts as an ActiveX control to use in Excel, VB6, Foxpro

Here’s how you can use Visual Studio to create a .Net User Control that will act as an ActiveX control that can be used in Excel (or other Office application), VB6 or Foxpro. This will bring the power of the entire.Net Framework to your program. This
Posted by Calvin_Hsia | 21 Comments

Handling arbitrary strings in URLs: Escape, InternetCanonicalizeUrl, WinHttpCrackUrl and URI.EscapeUriString

Sometimes a web application might want to put arbitrary strings into a URL, and make it a valid URL. The VBScript and JScript escape and unescape functions do just that. This sample shows how to use VBScript to escape and unescape a string. The escaped
Posted by Calvin_Hsia | 3 Comments

How does EventHandler work? IConnectionPoint!

The EventHandler function allows you to connect some code to an object’s event interface. For example, Word allows you to run code when the user changes the Selected text in a document . An ADODB Recordset will fire events, such as WillMove and MoveComplete
Posted by Calvin_Hsia | 9 Comments
Filed under: ,

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 | 19 Comments
Filed under: ,

Publishing blog statistics horror story

I received an email from someone at Microsoft this morning about the availability of the Excel spreadsheet for internal Microsoft blogger December hit statistics. Last month I had written a program to show MS Bloggers hit statistics. So I ran the program
Posted by Calvin_Hsia | 3 Comments
Filed under: ,

What is a Microsoft MVP? Calvin's List updated for the new century

In this definition of Microsoft MVP on the Wikipedia is a description of a list that I maintained that helped me to earn the Microsoft Most Vocal Person award over a dozen years ago. I plugged in my modem and dialed up CompuServe daily to download foxforum
Posted by Calvin_Hsia | 9 Comments
Filed under: , ,

Use Regular Expressions to get hyperlinks in blogs

At Southwest Fox conference I presented a sample calling a VB.NET server to do regular expression matching . Here’s the sample I used. It gets some HTML from my blog and parses all the hyperlinks (looks for the HREF tags) and puts them into a VFP table:
Posted by Calvin_Hsia | 4 Comments
Filed under: , ,

Why did I get an error while publishing Photos?

I was publishing some photos/movies of my 27 month old son taking ski lessons (see Sharing Digital Pictures of your friend's ) and I received an unexpected error. I narrowed down the code to this fragment: CPATH= "c:\inetpub\wwwroot\" CREATE TABLE (CPATH+"temp")
Posted by Calvin_Hsia | 2 Comments
Filed under: , ,

Generating VBScript to read a blog

Sometimes I need to test something using VBScript . A user sends a code snippet and asks why it behaves a certain way. Examining the behavior in VB can help. Below is a VFP code sample which demonstrates VBScript code which uses several objects to read
Posted by Calvin_Hsia | 7 Comments
Filed under: , ,

Randy's Devcon Demo

Randy is using my blog as part of a Demo at the Devcon keynote. He has some Fox code running from Outlook that allows the user to add RSS feeds that the user wants to subscribe to. Hopefully if his demo works, this message shows up in Randy’s Outlook
Posted by Calvin_Hsia | 4 Comments
Filed under: ,

Wite your own RSS News/Blog aggregator in <100 lines of code

The internet is a great way for people/entities to publish information. An RSS reader is a tool to help funnel only the information that you think is important to you. You can subscribe to RSS sources (Blogs, news sites, businesses, authors) by choosing
Posted by Calvin_Hsia | 7 Comments
More Posts Next page »
 
Page view tracker