Last 100 Posts
Nov. 15, 2018 11:08:38 am
Web Connection 7.0 is and here is a detailed post that goes into some detail of many of the new and enhanced features in this new release
Oct. 9, 2018 09:09:15 pm
Live reloading is common in client side applications, but server side applications generally don't have the ability to automatically reload when a server side change is made. But there are tools that allow you to monitor your local development Web server - even non-NodeJs based ones - and can automatically reload the active page when a change is detected. In this post I look at how to use Browser Sync to be more productive
Sep. 22, 2018 10:21:34 pm
I'm happy to say that I've found a workaround for the nasty problem with wwDotnetBridge and not being able to load `wwdotnetbridge.dll` due to Windows file blocking for files or archives downloaded from the Internet. In this post i describe why files are blocked and how you can unblock them including a new solution that is fast and can be done from within a running application.
Aug. 15, 2018 08:04:44 pm
If you run into problems with a Web Connection COM Server one of the first things you need to do is ensure that the server is properly registered and working on the Windows installation. In this post I look at using both Visual FoxPro and PowerShell to load and test to see whether a Web Connection server is installed and able to return a result.
Jun. 14, 2018 11:57:37 pm
Web Connection 6.21 has been released. This is a small maintenance release that fixes a few small bugs and makes a few small performance tweaks. There are also a couple of new features: wwDotnetBridge Event handling for .NET Objects, new .NET Runtime Loader with better error reporting and a new Console Configuration task to fix the annoying Loopback Check that can prevent server local Windows account authentication.
Jun. 14, 2018 07:26:51 pm
If you've ever run into a problem on a Windows Server and weren't able to run a local browser and try to log in using your local network Windows credentials you might have found out the long way that your credentials are not working by default. Recently Windows 10 also seems to have enabled this policy and I noticed local Windows account log ins not working. This comes from a local Loopback access policy. In this post I describe what fails and how you can work around it both for Web Connection applications and manually.
Jun. 8, 2018 11:02:36 am
One of the most common questions with Web Connection that come up are related to startup errors that cause File or COM Servers to fail during startup. These errors have been difficult to debug in the past but with Web Connection 6+ a number of improvements make it easier to avoid errors in the first place, and track them down if you do have them. In this post I go into detail on the Startup sequence of Web Connection.
Mar. 1, 2018 03:01:05 pm
This week Authorize.NET switched of support for TLS 1.0 and 1.1, requiring all clients to use TLS 1.2. No surprise this was announced two years ago, but as is often the case two years is a long time away and so many were still caught off guard if you're running an oldish version of Windows. In this post I look at what versions of Windows don't support TLS 1.2 and how you can enable TLS 1.2 in those versions that didn't originally have support but can enable it. Unfortunately there are also several versions of Windows that don't support TLS 1.2 and we'll cover that too.
Feb. 5, 2018 03:49:36 am
The West Wind Web Connection Admin page is the starting point for Web Connection Server Instance administration. But this page allows a number of administrative operations that should only be accessible by a properly authenticated user. I've been notified on many occasions that people have found wide open Admin pages and this post describes how to make sure your Admin pages are properly locked down
Jan. 10, 2018 12:41:00 am
West Wind Web Connection 6.18 has been released. It's a small release with only one major feature update in the way of bringing back Apache support for Apache 2.4. Here's more info what's new.
Jan. 5, 2018 10:50:10 am
There are a number of issues related to shutting down specific instances of Web Connection servers remotely. Because of the way instances are managed there are difference between file and COM mode operation because file mode instances are not managed by a centralized manager. However with a few tricks you can trigger shutdown operations in a Web Connection server by hooking into Windows Events with BINDEVENT(). Here's how.
Oct. 15, 2017 12:53:22 am
West Wind Web Connection 6.17 has been released. This post goes over the changes in more detail. This is a maintenance release with a few bug fixes and some minor feature updates.
Oct. 10, 2017 11:12:25 pm
More and more .NET APIs expose Async only interfaces and it might seem that calling `async` `await` code from FoxPro seems like it would be difficult. I had my doubts it would but as it turns out it does. In this post I describe how `async` `await` works in .NET and how the lower Task API is used to implement it, and more importantly how we can call async methods using the .NET Task API.
Jul. 15, 2017 11:56:58 am
Web Connection 6.15 has been released and this post gives a lot more details on the new features of this update. This release is primarily focused on server loading and debugging improvements with a few relatively small but significant enhancements that improve load performance and make it easier to debug startup errors.
Jul. 1, 2017 08:35:13 pm
Debugging startup issues has always been notoriously difficult in Web Connection. Starting with the forthcoming v6.15 Web Connection adds better error reporting that brings up an error page on failures and provides an easier way to log trace commands to a log file.
May. 22, 2017 12:54:55 pm
wwDotnetBridge makes it easy to load up .NET assemblies and reference to access contained classes and other types. Standalone assemblies can be loaded easily enough by filename, but assemblies that live in the GAC should be referenced by their fully qualified assembly name. Here's how.
Apr. 4, 2017 02:29:05 pm
One of the cool things about Web Connection is that Web Connection servers are persistant instances that can cache static data for subsequent requests. Besides the internal data caching FoxPro can do on an already running instance, you can also attach custom state to the server instance. In this post I'll show a number of approaches of how to access persistant object state on the server instance
Mar. 20, 2017 11:50:25 am
JSON.NET is the most popular .NET component used in more components than any other and because of that you can end up finding other components that also use JSON.NET and perhaps with a different version. Trying to load a different version of JSON.NET in an application can cause runtime failures for loading the assembly. The workaround is to use .NET Assembly Redirects in the application's .config file. Here's how to do this.
Feb. 13, 2017 03:54:07 pm
Generating ids is a common thing for any Database applications. Whether it's for unique identifiers to records in a database, whether you need to send a unique, non-guessable email link to a customer or create a temporary file, unique IDs are common in software development of all kinds. In this post, Rick talks about how to generate unique ids in FoxPro.
Feb. 1, 2017 03:25:41 pm
West Wind Web Connection 6.10 has been released and here's a detailed run down on all the improvements and new features in this new maintenance release version.
Jan. 25, 2017 10:46:20 am
The FoxPro editor is prone to allow extended cahracters into the editor - some of which may be invisible and can cause some really nasty compiler bugs that are 'invisible'. Here's an example how that happened to me and how it caused me to think I'm going nuts.
Jan. 15, 2017 02:51:44 pm
Web Connection supports automatic extension mapping to a single route handler by default. This typically means you can route a single extension to a single type of processing mechanism like the Script or Template engines or the Web Control Framework. However, the default behavior is easily overridable by explicitly overriding the script mode in OnProcessInit(). Here's how.
Nov. 16, 2016 02:26:15 pm
A new Visual Studio extension allows you to open FoxPro files right in Visual Studio with syntax color highlighting which makes working with Web Connection code a lot cleaner as you can keep code windows open right alongside your HTML markup pages.
Jun. 30, 2016 01:13:33 am
DataGrids are popular for displaying lists of data and while I discourage people from excessively using DataGrids for storing data, many people do build complex and visual grids. The HtmlDataGrid() Html Helper in Web Connection provides a lot of flexibility for rendering custom column content as well as allowing for easy customization of each row and column's styling and formatting.
May. 26, 2016 11:54:21 pm
Calling JSON REST services is becoming more and more common and although various West Wind tools have provided support for calling services using wwHttp and wwJsonSerializer, the newly released wwJsonService class provides an even easier service call wrapper for calling JSON REST service endpoints. In this post I demonstrate basic functionality using the CallServiceMethod() method as well as properly abstracting all service calls into a dedicated class.
Apr. 4, 2016 12:00:00 am
Web Connection 6.0 RTM is finally here and there's a lot of new stuff to check out. While a lot of new features have been added backwards compatibility has been maintained, with only very minor changes if any required for some applications. This post is an inaugrial that goes through a number of the the major features and describes them in some detail.
Nov. 29, 2015 10:38:36 pm
Today I ran into a problem with Outlook COM Automation which didn't allow me to access an existing running Outlook instance via GETOBJECT(). Turns out running as Administrator was causing the problem.
Nov. 19, 2015 06:18:43 pm
I've been doing a bunch of string parsing in the last few weeks as part of new Html Help Builder and Web Connection features and one thing I've repeatedly run into is the need to parse strings and tokenize subsections of strings for temporary exclusion for other processing. In this post I describe a couple of useful helpers that save a lot of time extracting string values and tokenizing a string for post processing.
Oct. 20, 2015 06:33:07 pm
I've posted my session notes for Southwest Fox. This post contains links to samples, slides and white papers on SOAP Web Services, Mobile and Angular Web applications.
Oct. 9, 2015 11:50:25 am
Web Connection 6.0 introduces a new MyApp_ServerConfig.prg file that is generated with new projects that can automatically configure your Web site with IIS. The Fox code can be modified but by default works to configure a Web site. You can compile the PRG into its own EXE file or embed it as part of your server via command line switch.
Aug. 4, 2015 08:31:13 pm
Visual Studio 2015 has changed a number of internal APIs that make using the old Web Connection Add-in no longer work. To support VS2015 I've created a new VSIX based add-in that does and provides a few new features and enhancements in the process.
Jul. 19, 2015 10:00:45 pm
Starting with IE 10 and later, COM Automation from FoxPro causes certain events to no longer be triggered from FoxPro code. Due to the DOM compliance mode in IE 10 and later it appears that DOM access is case sensitive and FoxPro unfortunately doesn't support case sensitive COM calls. In this post I show why this is a problem and provide a couple of work arounds.
Jun. 28, 2015 06:31:30 pm
Errors with drive mapping can cause major headaches in Web applciations hosted in IIS because the IIS envrionemnt often obliterates existing drive maps that you might expect to be there. In this post I explain how mapped drives work inside of a system context and show a few ways that you can ensure that your drives map properly before your application starts and runs into a problem.
Jun. 18, 2015 03:57:22 pm
Using multi-threaded Visual FoxPro components often comes up for discussion and there's lots of confusion on how FoxPro's multi-threading features actually work and how they can and cannot be used effectively. In this post Rick describes how MTDLL components work and where they work well as well as what they can't do.
Jun. 7, 2015 02:21:07 pm
I've started putting together some new features and updates for Web Connection 6.0 that are coming together nicely. Here's a preview of some of the features as well as a discussion of some other things to come.
Apr. 20, 2015 10:31:00 am
Web Connection has included plUpload support for a while, but it uses the hefty plUpload Queue component which provides a rich UI. If your needs are simpler, you can also use the raw programmatic plUpload API directly to handle uploads. In this post I show how the new image uploader on the West Wind Message Board is implemented using the raw plUpload base client API and Web Connection's plUploadHandler.
Apr. 2, 2015 01:44:00 am
When trying to access Web Connection served JSON data from mobile device applications or from Web applications hosted on other domains you might have found that you run into Cross-site access restrictions of the XHR calls that don't allow the cross site calls. Luckily there's an easy work around using the CORS protocol that allows your server to specify which domains it allows to access your content.
Dec. 18, 2014 08:43:55 pm
When creating Sample code it's often tedious to create sample data structures in code. In some situations using a JSON string and then encoding the string to JSON can save some time and make it much easier to visualize the data structure that's being built.
Dec. 16, 2014 03:04:06 am
Microsoft recently released a community edition of Visual Studio that is essentially a full, non-restricted version of Visual Studio Professional. The community edition is available to most developers in small to medium sized business and public organizations for free. If you're doing Web development, or specifically using Web Connection and the Web Control Framework, be sure to check out Visual Studio's Community Edition.
Oct. 15, 2014 06:32:36 pm
In light of today's SSL POODLE vulnerability announcements I've been inundated with questions regarding security in Web Connection and wwHttp. In this post I go over a few of the things to check and whether they affect any of your West Wind products indirectly.
Sep. 26, 2014 07:40:23 pm
In recent months I've been getting a number of questions regarding web connection versions. What version should I be using, do I need to install this small update and more often than not, how can I check for the Web Connection version easily especially in a running applicaiton. In this post I describe the various places where Web Connection exposes version information and then suggest how to keep up to date.
Jul. 20, 2014 12:49:01 am
Many old applications are being migrated to newer versions of IIS and for these newer versions we recommend using the managed module. However, many old applications are still stuck referencing the wc.dll ISAPI extension directly instead of using script maps. It turns out you can use .DLL as a script map extension with the .NET module. This post shows you how and why this is a good idea to go on IIS 7 and later if you absolutely must stick to explicit wc.dll usage.
Jun. 9, 2014 11:07:46 pm
Date processing especially in Web applications can become problematic if people from different timezones access the application. UTC dates solve this problem but FoxPro doesn't have native support. In this post I look at how UTC dates solve many date issues and how you can use UTC dates easily from FoxPro with a couple simple helper functions.
Feb. 11, 2014 01:49:33 pm
Nov. 25, 2013 04:49:20 pm
Looks like IE 11 has introduced a WinInet bug for the FTP client that causes random failures due to Ftp message parsing. The end result is that in some situations wwFTP send operations can break. Here's what the problem is and a few workarounds you can try to get around them.
Oct. 24, 2013 05:32:42 am
When you get "Unable to load Clr Instance" Errors while trying to load wwDotnetBridge, look for an unfortunate but simple to fix security issue with Windows. Here's how to get around this error.
Oct. 13, 2013 10:19:00 pm
Visual Studio includes a Web Deploy feature that makes it easy to publish content from your projects to a live Web site. Until recently you couldn't do this with Web Connection content, but since VS 2012 Update 2 you can now publish from Web Site Projects. Here's all you need to know on how to publish and organize your project for publishing.
Mar. 31, 2013 04:54:28 pm
Making sure that all links and css and script references are linked relatively in your application is crucial. Page relative paths work great, but sometimes you need to use virtual relative paths from within code or components that don't have generic access to the current page path. Web Connection supports automatic fixup for ~/ based paths to replace the virtual path - take advantage of it. Here's how.
Feb. 25, 2013 01:09:05 am
wwDotnetBridge supports explicitly specifying which version of the .NET Runtime is loaded. But only one version of the runtime can be loaded into the FoxPro application process, and so the first wwdotnetbridge load wins. Here's how loading works and how you can ensure you're loading the right version for your application.
Dec. 10, 2012 11:42:00 pm
Web Connection 5.65 adds support for running Web Connection sites on IIS Express, which is a self contained, installable and very small version of IIS that can be run on most Windows machines with minimal to no configuration. It's a great way to develop locally without a full copy of IIS. Here's more on what you need to know.
Nov. 16, 2012 01:32:00 am
I've posted my session white papers, slides and examples from the Southwest Fox conference last month. My two sessions where FoxPro and .NET Interop related and covered a few new recent developments that have improved the ease with which Interop can be done.
Sep. 27, 2012 10:33:00 pm
wwDotnetBridge is a FoxPro library to help with accessing .NET functionality from Visual FoxPro is now free and open source.
Aug. 25, 2012 02:46:00 am
Unbeknowst to me FoxPro allows easy creation of custom Windows Manifests when building EXE applications. Simply creating a manifest file and putting it in the same folder as the project file allows easy embedding of custom manifests into FoxPro EXE files. Here's how.
Aug. 13, 2012 04:45:57 pm
UTF-8 Encoding is ubiquous on the Web and with good reason: It simplifies display of extended characters in a consistent manner that's easily handled by browsers and non-visual HTTP clients. Although not the default encoding format, UTF-8 encoding is easily configured in Web Connection with a couple of commands. Here's how.
Aug. 2, 2012 12:02:12 am
The question of how to implement extensionless URLs with Web Connection has come up frequently in recent months. This post describes what extensionless URLs are and describes one implementation using the IIS UrlRewrite Module that you can plug into your Web Connection applications today.
Jul. 23, 2012 11:09:43 pm
FoxPro 32 bit EXE COM Servers don't show up in the default DCOMCNFG Component Manager. Here's how you can view your DCOM settings for a VFP COM server anyway by viewing the 32 bit DCOM manager.
May. 12, 2012 03:44:55 pm
Web Connection includes a small but unobvious feature that can properly fix up virtual paths. Here's how it works and why you should take advantage of it.
Feb. 23, 2012 11:04:00 pm
A question that frequently comes up is how to store 'global' data in Web Connection. While global data generally is a bad idea, there are a number of ways that you can store global data in Web Connection without resorting to the undesirable use of PUBLIC variables. Here's how.
Feb. 2, 2012 03:52:27 pm
Gravatar is a great Web Service based way to associate an images with user accounts that are based on email addresses. It's easy to use and can provide a nice touch of personalization with very little effort. This post shows how you can use Gravatar from within your FoxPro based applications.
Jan. 26, 2012 03:19:19 pm
By default Visual FoxPro doesn't do a good job of using transparent image resources on controls. With a little bit of effort however you can make your UI work properly with transparent images. Here's how.
Jan. 19, 2012 03:56:39 am
FoxPro has a 16meg string limit, but with a little bit of trickery it's possible to work past these issues and create strings larger than 16 meg strings. Here's how.
Jan. 4, 2012 05:20:14 am
Ran into a small issue today that deals with @K not working when using SetFocus() in the Init() of a form. Apparently SetFocus() causes selections to not be made during form startup. Here's the issue and a couple of simple workarounds.
Nov. 26, 2011 02:47:25 pm
Creating Visual FoxPro COM objects is pretty easy and painless. But on occasion there can be problems with COM registration due to the way FoxPro projects manage COM ClassIDs. Here are some of the issues and some easy tips on how to avoid problems.
Nov. 21, 2011 11:53:00 am
For a while I've been slacking on my FoxPro blogging. Part of the reason has been that I'm spoiled - spoiled by using Windows Live Writer on my main Weblog (where I post most of my .NET and general...
Nov. 17, 2011 08:02:11 pm
If you're doing any sort of Interop with .NET, it's extremely useful to have a .NET disassembly like Reflector, JustDecompile or ILSSpy at hand to let you discover the functionality available in the assemblies you are interacting with in .NET. You can find out full type names required for instantiation, the exact method signatures for methods to call, and easy navigation to follow parameter names to actual type implementations. .NET disassemblers make Interop discovery much easier to work with.
Nov. 7, 2011 01:21:11 am
It's not the first time this has come up for me: I need to have a FoxPro application that writes out to the Windows console when running in 'command line mode'. Unfortunately there's no real clean way to do this as Windows applications don't support console output. In this post I demonstrate how you can actually create console output from FoxPro, although it's not all that useful since the console output is terminated before any FoxPro code runs. I show what works and what doesn't along with a workaround solution by using an external application to handle console output.
Oct. 25, 2011 01:31:13 am
A question that frequently comes up is how to handle page transitions in the Web Control Framework. By default WCF pages use Postback style submissions that always post back to the same page, it's sometimes not obvious how to move to the next page when a form submissions and operation is complete. Here are a few scenarios and how you can effectively move to other pages using the Web Control Framework
Oct. 15, 2011 12:00:00 am
With Windows 7 and Vista User Access Control places a number of restrictions on desktop applications. In some scenarios it's simply necessary to override the default behavior and require to run as an administrator. Here's how you can use FoxPro code to quickly check for Admin rights.
Sep. 6, 2011 10:25:00 pm
Ran into a small problem today with the wwGhostscript class on a 64 bit machine. It just wouldn't work due to a simple problem: Installed the wrong version of Ghostscript which doesn't work with 32 bit FoxPro applications. Here's a detailed look at what the problem is and the easy fix to work around it.
Aug. 22, 2011 06:17:00 pm
There's another West Wind Web Connection training seminar coming up at Southwest Fox this year on October 25th and 26th. Need a little extra motivation to come to an a training event like this? Here are a few more insights that explain why this training is a fun experience that's a worthwhile expense.
May. 15, 2011 02:32:00 am
Storing Window locations for applications is a common desktop application feature and it's easy enough to implement. If you have multiple monitors however and one of those monitors gets removed things can get tricky. Here's how you can detect changes to monitors in Visual FoxPro and properly size up your forms in the face of monitor removal
Dec. 31, 2010 12:00:00 am
Ran into a weird issue today with a string that contained an & in a URL in a string class property. The property would macro expand the ampersand from within the string constant assigned to the class header. This appeads to be a bug in the VFP code parser resulting in some interesting behavior.
Aug. 17, 2010 12:00:00 am
Web Connection 5.0's AJAX features were originally designed for the new Web Control Framework with controls that make using the AJAX features very simple. However you can also use these features from class wwProcess method and classic script/template pages with only a little extra effort using Web Connection's jQuery functionality and extensions. Here's how.
Apr. 20, 2010 12:29:00 pm
This short entry shows a couple of ways how you can play media content from your FoxPro applications using ShellExecute and Windows Media Automation.
Dec. 29, 2009 12:00:00 am
wwServer::lUnattendedMode in Web Connection provides automated SYS(2335) support for Web Connection requests. This entry describes what SYS(2335) does and why it is quite useful in Web Connection applications.
Dec. 10, 2009 01:00:00 am
Root relative paths allow you to create location independent urls that work regardless from where within the application they are called. This means you can use a url with root-relative path syntax and get consistent results in any directory of the application which makes the url portable – easy to copy and/or use in other pages without changes. Web Connection supports root-relative paths in various ways. Here’s how.
Sep. 27, 2009 05:51:00 pm
I have recently update the Web Connection video tutorials on the site to the latest version of the latest version of Web Connection. The new videos are completely up to date to the current version of Web Connection, somewhat more detailed than the original videos and provided in higher resolution and audio quality. you can also view these videos onlin.
Apr. 29, 2009 05:12:00 pm
Security is an important topic that's unfortunately addressed way too late in the development process many times. I can attest to that personally. Recently there have been a few questions regarding a security bulletin that points out a couple of vulnerabilities in Web Connection, that have been fixed since, but are worth going over again especially in light of older versions that might not have been updated to the latest shipping releases of Web Connection.
Apr. 9, 2009 05:31:00 pm
Guid values in .NET are unfortunately not directly accessible in VFP via COM interop because the type is not marshalled in a meaningful way over COM for VFP to consume. You get an error when trying to access a Guid value. This is a common problem for Value types marshalled over COM. In this post I'll describe a way around this by way of an intermediary function to intercept method calls and convert parameters and return values into something that can be consumed in FoxPro.
Feb. 20, 2009 12:38:00 am
Several people have run afoul a recent Web Connection version update. All of the issues come back to proper recompilation of the PRG files distributed with Web Connection and in this post I review the steps for proper recompilation of the Web Connection files after a version update and why it is necessary.
Jan. 4, 2009 02:08:00 am
After December 28th, 2008 a number of people have been seeing problems in their Web Connection applications due to permanent Cookies not saving properly. This typically manifests in Session objects not keeping Session state properly or any code that uses custom, permanent cookies. This post outlines the problem and how to fix it.
Oct. 12, 2008 11:54:00 pm
Visual Studio provides fairly decent Intellisense and with a little bit of tweaking of your pages you can get Intellisense for jQuery and the Web Connection client script library.
Oct. 4, 2008 04:29:00 am
SYS(2335) can have some unexpected side effects if it is activated in non-COM applications even though the documentation states that in non-COM applications it is ignored.
Sep. 21, 2008 06:06:00 pm
Header access via is currently not supported in the Web Connection Web Control Framework, but that doesn't mean that you can't manipulate the header fairly easily. Using Expressions is one way that works today. In the next update there will also be an explicit Header object that allows dynamically adding content to the header that the top or bottom more easily.
Sep. 17, 2008 05:15:00 am
Partial Rendering in AJAX callbacks allows you to create AJAX requests very quickly by reusing the HTML server side controls already produce. Web Connection makes partial rendering very easy simply by calling the .Render() method on any control on the page and returning HTML. In this example I demonstrate how to update a grid and an error display dialog in a single AJAX callback.
Aug. 16, 2008 04:26:00 pm
I've just got done upgrading my server to Windows 2008 64 bit and the process of getting Web Cinnection to run on it was pretty painless. A few improvements in IIS 7 make it easy to dial the 32 bit functionality of IIS to the Web Connection application. Here's how it works.
Jul. 31, 2008 04:47:00 am
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.
Jul. 26, 2008 10:22:00 am
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.
Jul. 15, 2008 12:44:00 am
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.
Jul. 4, 2008 01:38:00 am
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.
Jun. 11, 2008 08:03:00 am
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.
Jun. 8, 2008 07:05:00 am
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.
May. 30, 2008 09:04:00 am
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.
May. 11, 2008 06:13:00 am
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.
Apr. 6, 2008 11:32:00 pm
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.
Mar. 31, 2008 02:44:00 pm
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.
Mar. 16, 2008 03:34:00 pm
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.
Mar. 14, 2008 07:38:00 pm
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.
Mar. 2, 2008 01:30:00 pm
Microsoft recently released a hotfix for Visual Studio 2008 that's a worthwhile install for Web Connection developers using Visual Studio 2008. The hotfix addresses many slow performance and inconsistent editor behaviors.
Feb. 20, 2008 12:37:00 pm
I work a lot in Visual Studio and when I return to FoxPro one thing I really miss is the instant ability...
© Rick Strahl, West Wind Technologies, 2003 - 2018