| 07/31/08 04:47am | Http File Uploads in Classic and Web Control Framework Web Connection File uploads are an operation that trip up Web developers frequently because the process of uploading files changes the rules of typical form behavior a little. Web Connection makes the process of handling file uploads pretty easy but depending on the approach - classic or using the Web Control framework - the process is handled a little differently. |
| 07/26/08 10:22am | Automating Configuration of Web Connection with Code Every Web Connection application you build will need to be deployed at some point. Among the required tasks are copying files and then configuring the application to create virtuals, scriptmaps, set permissions and register your servers with COM. There are a lot of different approaches that you can take to configure your application, but Web Connection includes the tools to automate this process completely. Here's some boilerplate code you can use. |
| 07/15/08 12:44am | Handling BindingErrors in Tab Pages The wwWebTabControl requires some special handling when dealing with binding errors as it's possible that binding errors are in controls that live in hidden tab pages. When clicking on error links it may be necessary to activate the tab page. Web Connection 5.37 includes a new global OnBindingErrorLink client function that can be used to activate a tab page. Here's how. |
| 07/04/08 01:38am | Dynamically creating TabPages with the wwWebTabControl The wwWebTabControl in the Web Connection Web Control Framework is basically a Tabstrip control, which means it doesn't manage page content, only the display of tabs. A number of questions have come up regarding creating pages and tabs dynamically through code and although not built in this process is very easy to implement with a few lines of code. |
| 06/11/08 08:03am | Weird Performance Differences of PRG vs. EXE vs. COM Object in Large Apps I've run into an application scenario where we are seeing radically different performance between the application running as PRG files, running as a standalone EXE or running as a COM object with perf differences of over 300% between fastest and slowest. |
| 06/08/08 07:05am | Repeater Item Referencing through the Page If you've used the wwWebRepeater a lot in Web Connection you've probably found that it gets tricky to conditionally show content based on some global condition. There's a little trick you can use to easily access template controls directly from the page and set properties as long as the change is global and doesn't need to change based on each databound item. |
| 05/30/08 09:04am | Some new features coming in Web Connection 5.37 A few new features coming in the next Web Connection release to take a look at. These features are based on some recent work I've been doing with a client as well as some common usage scenarios that have popped up in questions on the message board. Let us know if you have thoughts on these features that are not quite final yet. Applies to Web Connection 5.37. |
| 05/11/08 06:13am | VFP String Concatenation Issue in Loops I got bit again by a nasty string concatenation problem in VFP. This isn't the first time I've hit this particular issue and I've known about it for years, but it's one that's easy to miss and so from time to time I hit it again. The problem occurs when you have string concatenation code that involves an expression that returns results from a function and where the function often returns a large amount of text. |
| 04/06/08 11:32pm | IIS 7 Default Request Filtering and Web Connection IIS 7 provides a number of request filtering features by default and at least one of these options - blocking of URL access to the bin directory - potentially affects older Web Connection applications that aren't built using script maps. |
| 03/31/08 02:44pm | Detecting hung Objects in Visual FoxPro Circular references in Visual FoxPro are a bitch! If you've ever been hit by a creeping memory leak you've probably experienced the circular reference problem in VFP. There are ways to deal with the immediate problem but they require a bit of discipline and even then it's still possible to end up with circular references. Here's an overview on the problem, some workarounds and a tip that might help isolating circular references and find the offending objects. |
| 03/16/08 03:34pm | Web Control Framework or Classic Web Connection? There are still a host of questions out there regarding Web Connection 5.0's Web Control Framework. In this post I address a few recurring questions and contrast with classic Web Connection to clarify where the Web Control Framework fits. |
| 03/14/08 07:38pm | Watch out for _VFP/Application Object hangs with VFP 9 SP2 Installations Watch out for VFP 9 SP2 not getting properly registered on your machine if you're running COM servers. Apparently VFP 9 SP2 installations often fail to register the VFP9r and VFPt runtimes properly which causes some problems with VFP's internal COM objects. |