<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
  <channel>
    <title>Using Win32 (WinAPI) Functions in Microsoft Visual FoxPro</title>
    <link>http://www.news2news.com/vfp/</link>
    <description>Add Microsoft Win32 functionality to your Visual FoxPro applications! This web site presents declarations and FoxPro code samples for more than 1,200 Windows API functions.</description>
    <pubDate>Sun, 19 Feb 2012 13:47:45 EST</pubDate>
    <lastBuildDate>Sun, 19 Feb 2012 13:37:43 EST</lastBuildDate>
    <language>en-ca</language>
    <copyright>1361529 Ontario, Inc.</copyright>
    <managingEditor>&#100;&#101;&#118;&#105;&#99;&#101;&#99;&#111;&#110;&#116;&#101;&#120;&#116;&#64;&#109;&#115;&#110;&#46;&#99;&#111;&#109; (Anatoliy Mogylevets)</managingEditor>
    <category>Computers</category>
    <category>Software</category>
    <category>Reference</category>
    <category>Databases</category>
    <category>Microsoft Visual FoxPro</category>
    <category>Microsoft Windows API</category>
    <generator>Visual FoxPro 09.00.0000.5815 for Windows</generator>
    <image>
      <title>Using Win32 (WinAPI) Functions in Microsoft Visual FoxPro</title>
      <url>http://www.news2news.com/vfp/images/w32logo.gif</url>
      <width>99</width>
      <height>93</height>
      <link>http://www.news2news.com/vfp/</link>
    </image>
    <item>
      <title>Code sample: How to display Windows On-Screen Keyboard</title>
      <pubDate>Sun, 19 Feb 2012 13:37:43 EST</pubDate>
      <description>Instead of relying on the physical keyboard to type and enter data, user can type on Windows On-Screen Keyboard. On-Screen Keyboard displays a visual keyboard with all the standard keys.&lt;BR&gt;&lt;img src="http://www.news2news.com/vfp/images/onscreenkbd.png"&gt;</description>
      <link>http://www.news2news.com/vfp/?example=582</link>
    </item>
    <item>
      <title>API function: PathCombine</title>
      <pubDate>Sun, 19 Feb 2012 13:34:40 EST</pubDate>
      <description>Concatenates two strings that represent properly formed paths into one path; also concatenates any relative path elements.</description>
      <link>http://www.news2news.com/vfp/?function=1262</link>
    </item>
    <item>
      <title>Code sample: Moving shortcut to a specified position on the Windows Desktop</title>
      <pubDate>Sat, 11 Feb 2012 18:22:34 EST</pubDate>
      <description>Before testing this code sample, uncheck "Auto arrange icons" and "Align icons to grid" options in the context menu on the Windows desktop.&lt;BR&gt;&lt;BR&gt;&lt;img src="http://www.news2news.com/vfp/images/DesktopShortcutPosition.png"&gt;&lt;BR&gt;&lt;BR&gt;On the VFP form, each round &lt;Em&gt;Shape&lt;/Em&gt; control corresponds to a shortcut  located on the Windows Desktop. &lt;BR&gt;&lt;BR&gt;On initialization, the form reads the desktop shortuct locations and then arranges the shapes accordingly. Moving a shape on the form also moves the corresponding desktop shortcut (not otherwise, though it is also achievable). &lt;BR&gt;&lt;BR&gt;See also:&lt;BR&gt;&lt;li&gt;&lt;a href="?example=579"&gt;Obtaining names and positions for shortcuts located on the Windows Desktop&lt;/a&gt;</description>
      <link>http://www.news2news.com/vfp/?example=581</link>
    </item>
    <item>
      <title>Obtaining positions for Windows Desktop shortcuts -- now supports 32- and 64-bit systems!</title>
      <pubDate>Wed, 08 Feb 2012 20:11:43 EST</pubDate>
      <description>This is an addition to the previous post. The VFP code sample "How to obtain positions for Windows Desktop shortcuts" now works equally  good on either 32-bit or 64-bit machines.</description>
      <link>http://www.news2news.com/vfp/?example=579</link>
    </item>
    <item>
      <title>Code sample: How to obtain positions for Windows Desktop shortcuts</title>
      <pubDate>Tue, 07 Feb 2012 22:21:10 EST</pubDate>
      <description>This code sample shows how to retrieve names and positions of the shortcuts located on the Windows Desktop.</description>
      <link>http://www.news2news.com/vfp/?example=579</link>
    </item>
    <item>
      <title>Code sample: How to check whether the system is 32-bit or 64-bit</title>
      <pubDate>Tue, 07 Feb 2012 10:47:27 EST</pubDate>
      <description>The IsWow64Process function determines whether the specified process is running under WOW64.</description>
      <link>http://www.news2news.com/vfp/?example=580</link>
    </item>
    <item>
      <title>Subscription to advanced content</title>
      <pubDate>Wed, 01 Feb 2012 00:00:00 EST</pubDate>
      <description>Get 3, 6, or 12 months subscription to access advanced code samples and features.</description>
      <link>http://www.news2news.com/vfp/?generic=Login</link>
    </item>
    <item>
      <title>Progress Dialog Library (FLL) for Visual FoxPro -- demo and full versions available for download</title>
      <pubDate>Thu, 17 Nov 2011 15:34:22 EST</pubDate>
      <description>Full version includes complete C++ source code.</description>
      <link>http://news2news.com/vfp/?solution=11</link>
    </item>
    <item>
      <title>Progress Dialog Library (FLL) for Visual FoxPro coming soon</title>
      <pubDate>Tue, 08 Nov 2011 21:58:20 EST</pubDate>
      <description>Progress Dialog FLL is a wrapper around IProgressDialog interface implemented in Shell32.dll. It exposes methods that provide options for Visual FoxPro application to display a progress dialog box.&lt;BR&gt;&lt;BR&gt;&lt;img src="http://www.news2news.com/vfp/solutions/images/progress_dialog/vfpProgressDialogWin7.jpg"&gt;</description>
      <link>http://www.news2news.com/vfp/?solution=11</link>
    </item>
    <item>
      <title>Code sample: Displaying dimmed window behind VFP top-level form</title>
      <pubDate>Sun, 18 Sep 2011 10:17:55 EST</pubDate>
      <description>This code sample explains how to create a dimmed window, and position it beneath a VFP top level form -- creating so called "Lightbox effect".&lt;BR&gt;&lt;BR&gt;&lt;img src="http://www.news2news.com/vfp/images/lightbox.png"&gt;</description>
      <link>http://www.news2news.com/vfp/?example=578</link>
    </item>
    <item>
      <title>API function: UnregisterClass</title>
      <pubDate>Fri, 16 Sep 2011 18:55:02 EST</pubDate>
      <description>Unregisters a window class, freeing the memory required for the class.</description>
      <link>http://www.news2news.com/vfp/?function=1256</link>
    </item>
    <item>
      <title>API function: RegisterClassEx</title>
      <pubDate>Fri, 16 Sep 2011 18:51:32 EST</pubDate>
      <description>Registers a window class for subsequent use in calls to the CreateWindow or CreateWindowEx function.</description>
      <link>http://www.news2news.com/vfp/?function=1255</link>
    </item>
    <item>
      <title>ScreenCapture library (FLL) for Visual FoxPro</title>
      <pubDate>Sat, 26 Mar 2011 20:40:46 EST</pubDate>
      <description>Captures images of VFP forms, other windows, and parts of a screen. Saves a captured image to a file (BMP, JPEG, PNG, TIFF, GIF), sends to the clipboard, prints, or opens a preview. Supports image scaling and clipping. Optionally prints a multiline description above a captured image. Allows storing metadata in captured files. Find usage examples, list of functions, trial and full version downloads.</description>
      <link>http://www.news2news.com/vfp/?solution=9</link>
    </item>
    <item>
      <title>Youtube video: Visual FoxPro ContextMenu control (ActiveX)</title>
      <pubDate>Thu, 17 Mar 2011 11:47:56 EST</pubDate>
      <description>Fast and easy creation of object-oriented context menus in Visual FoxPro. The control is placed on VFP form and populated</description>
      <link>http://www.youtube.com/watch?v=hc4rB5-rza0</link>
    </item>
    <item>
      <title>Youtube video: MenuDesigner for Visual FoxPro ContextMenu control</title>
      <pubDate>Thu, 17 Mar 2011 11:46:49 EST</pubDate>
      <description>Fast and easy creation of object-oriented context menus in Visual FoxPro.</description>
      <link>http://www.youtube.com/watch?v=F_9aiddGXto</link>
    </item>
    <item>
      <title>ContextMenu ActiveX Control. Trial version available.</title>
      <pubDate>Mon, 07 Mar 2011 22:17:47 EST</pubDate>
      <description>Feedback appreciated!&lt;BR&gt;&lt;BR&gt;&lt;a href="http://www.news2news.com/vfp/?solution=4"&gt;&lt;img src="http://www.news2news.com/vfp/solutions/images/context_menu/contextmenu_sample_green.png"&gt;&lt;/a&gt;</description>
      <link>http://www.news2news.com/vfp/?solution=4</link>
    </item>
    <item>
      <title>ContextMenu ActiveX Control. Coming soon.</title>
      <pubDate>Sun, 27 Feb 2011 21:06:31 EST</pubDate>
      <description>The ContextMenu ActiveX Control (ATL COM) is designed for generating and displaying shortcut menus. A generated menu is object-oriented: menu items are accessible during runtime, can be modified, added and deleted. A menu can be exported to XML string, as well as loaded from a XML string. Not compatible with MNX format.&lt;BR&gt;&lt;BR&gt;&lt;img src="http://www.news2news.com/vfp/solutions/images/context_menu/contextmenu_prg.png"&gt;</description>
      <link>http://www.news2news.com/vfp/?solution=4</link>
    </item>
    <item>
      <title>API function: DrawMenuBar</title>
      <pubDate>Sat, 26 Feb 2011 14:58:43 EST</pubDate>
      <description>Redraws the menu bar of the specified window. If the menu bar changes after the system has created the window, this function must be called to draw the changed menu bar.</description>
      <link>http://www.news2news.com/vfp/?function=1254</link>
    </item>
    <item>
      <title>API function: DeleteMenu</title>
      <pubDate>Sat, 26 Feb 2011 14:39:22 EST</pubDate>
      <description>Deletes an item from the specified menu. If the menu item opens a menu or submenu, this function destroys the handle to the menu or submenu and frees the memory used by the menu or submenu.</description>
      <link>http://www.news2news.com/vfp/?function=1253</link>
    </item>
    <item>
      <title>LanguageBar and FileSystemWatcher, new ActiveX controls</title>
      <pubDate>Mon, 21 Feb 2011 19:45:46 EST</pubDate>
      <description>Download demo and full versions of &lt;a href="http://www.news2news.com/vfp/?solution=7"&gt;LanguageBar&lt;/a&gt; and &lt;a href="http://www.news2news.com/vfp/?solution=8"&gt;FileSystemWatcher&lt;/a&gt; ActiveX controls.</description>
      <link>http://www.news2news.com/vfp/?generic=Solutions</link>
    </item>
    <item>
      <title>LanguageBar ActiveX Control. Coming Soon.</title>
      <pubDate>Sat, 19 Feb 2011 11:54:51 EST</pubDate>
      <description>This ActiveX control displays active input language for the current process, and allows switching between registered input languages. &lt;BR&gt;&lt;BR&gt;&lt;img src="http://www.news2news.com/vfp/solutions/images/langbar_control/langbar_contextmenu.png"&gt;&lt;BR&gt;&lt;BR&gt;It can also freeze selected input language preventing it from being accidentally changed. Through this control, other input controls on a form can be locked to using specific input languages.&lt;BR&gt;&lt;BR&gt;&lt;img src="http://www.news2news.com/vfp/solutions/images/langbar_control/langbar_multilang.png"&gt;</description>
      <link>http://www.news2news.com/vfp/?solution=7</link>
    </item>
    <item>
      <title>FileSystemWatcher ActiveX Control. Download demo.</title>
      <pubDate>Tue, 15 Feb 2011 23:18:39 EST</pubDate>
      <description>Fully functional demo version of the control is available for download.&lt;BR&gt;&lt;BR&gt;&lt;img src="http://www.news2news.com/vfp/images/fsw_demo_design.png"&gt;</description>
      <link>http://www.news2news.com/vfp/?solution=8</link>
    </item>
    <item>
      <title>FileSystemWatcher ActiveX Control. Coming soon.</title>
      <pubDate>Sat, 12 Feb 2011 17:00:11 EST</pubDate>
      <description>This ActiveX control listens to the file system change notifications (files and directories on a specified path created, deleted, renamed or changed) and raises events, notifying the host about the changes. The control is optimized for single threaded environments, like Visual FoxPro application.&lt;BR&gt;&lt;BR&gt;&lt;img src="http://www.news2news.com/vfp/solutions/images/fsw_control/FSW_drawing1.png"&gt;</description>
      <link>http://www.news2news.com/vfp/?solution=8</link>
    </item>
    <item>
      <title>Code sample: Displaying Windows shell folders in TreeView control with Visual FoxPro FLL</title>
      <pubDate>Mon, 31 Jan 2011 22:53:11 EST</pubDate>
      <description>TreeViewExtender.FLL (download from the web page) is a dynamic-link library compiled in Visual FoxPro FLL format. Combined with this library, a regular TreeView ActiveX control displays shell folders in attractive and convenient way. It can also automatically reflect folder changes happening on a host computer (VFP9).&lt;BR&gt;&lt;BR&gt;&lt;img src="http://www.news2news.com/vfp/images/treeviewextender.png"&gt;&lt;BR&gt;&lt;BR&gt;Features:&lt;BR&gt;- a regular TreeView control is used (MSComctlLib.TreeCtrl)&lt;BR&gt;- FLL can monitor folder changes in multiple roots&lt;BR&gt;- VFP9 forms can receive folder change notifications via window messages (VFP9)&lt;BR&gt;- older VFP versions can poll recent folder changes using Timer control&lt;BR&gt;- folders are depicted using appropriate system images (no extra graphics required)&lt;BR&gt;- the tree displays compressed (zipped) folders (Vista)&lt;BR&gt;- no API declarations in VFP code, the complexity moved inside the FLL&lt;BR&gt;- the FLL has small footprint -- about 40 KB&lt;BR&gt;- minimal client: Windows XP, VFP8 (7?)&lt;BR&gt;- compiled in VS2005 (VC++ 8.0 runtime)</description>
      <link>http://www.news2news.com/vfp/?example=577</link>
    </item>
    <item>
      <title>Code sample: Browsing Windows Known Folders (Special Folders)</title>
      <pubDate>Thu, 20 Jan 2011 10:11:34 EST</pubDate>
      <description>Special Folders are folders which are presented to the user through an interface as an abstract concept, instead of an absolute folder path. &lt;BR&gt;&lt;BR&gt;&lt;img src="http://www.news2news.com/vfp/images/windowsknownfolders.png"&gt;&lt;BR&gt;&lt;BR&gt;As of Windows Vista, those folders are referenced by a new set of GUID values called Known Folder IDs, replacing  the older system of referring to standard folders by a CSIDL value.</description>
      <link>http://www.news2news.com/vfp/?example=576</link>
    </item>
    <item>
      <title>API function: SHGetSpecialFolderLocation</title>
      <pubDate>Thu, 20 Jan 2011 08:36:41 EST</pubDate>
      <description>Retrieves a pointer to the ITEMIDLIST structure of a special folder.</description>
      <link>http://www.news2news.com/vfp/?function=1251</link>
    </item>
    <item>
      <title>Code sample: Displaying Windows Shell Icons (Vista)</title>
      <pubDate>Tue, 18 Jan 2011 11:44:14 EST</pubDate>
      <description>This code sample employs SHGetStockIconInfo Shell API function for retrieving information about system-defined Shell icons.&lt;BR&gt;&lt;BR&gt;&lt;img src="http://www.news2news.com/vfp/images/windowsstockicons.png"&gt;&lt;BR&gt;ICO files are neither created or required to run this code sample. For icons, the ListView connects directly to the system image list using icon index obtained through SHGetStockIconInfo call.&lt;BR&gt;&lt;BR&gt;A Shell icon (actually any ICO resource from EXE or DLL file) can be stored to ICO file perfectly usable in VFP.</description>
      <link>http://www.news2news.com/vfp/?example=575</link>
    </item>
    <item>
      <title>API function: SHGetStockIconInfo</title>
      <pubDate>Mon, 17 Jan 2011 16:44:29 EST</pubDate>
      <description>Retrieves information about system-defined Shell icons.</description>
      <link>http://www.news2news.com/vfp/?function=1250</link>
    </item>
    <item>
      <title>Code sample: Reading and setting explicit Application User Model ID for the current process (Win7)</title>
      <pubDate>Mon, 17 Jan 2011 09:18:05 EST</pubDate>
      <description>Application User Model IDs (AppUserModelIDs) are used extensively by the taskbar in Windows 7 and later systems to associate processes, files, and windows with a particular application.&lt;BR&gt;&lt;BR&gt;&lt;img src="http://www.news2news.com/vfp/images/jumplistvfp.png"&gt;</description>
      <link>http://www.news2news.com/vfp/?example=38</link>
    </item>
    <item>
      <title>API function: DwmExtendFrameIntoClientArea</title>
      <pubDate>Sun, 16 Jan 2011 09:40:28 EST</pubDate>
      <description>Extends the window frame behind the client area.</description>
      <link>http://www.news2news.com/vfp/?function=1246</link>
    </item>
    <item>
      <title>API function: SHSimpleIDListFromPath</title>
      <pubDate>Sat, 15 Jan 2011 14:21:29 EST</pubDate>
      <description>Returns a pointer to an ITEMIDLIST structure when passed a path.</description>
      <link>http://www.news2news.com/vfp/?function=1248</link>
    </item>
    <item>
      <title>Code sample: Customizing the frame of top-level form: removing the standard frame (VFP9, Vista)</title>
      <pubDate>Thu, 13 Jan 2011 09:44:48 EST</pubDate>
      <description>This minimalistic looking About form is created by calling the DwmExtendFrameIntoClientArea, and subsequent processing of the WM_NCCALCSIZE and WM_NCHITTEST windows messages.&lt;BR&gt;&lt;img src="http://www.news2news.com/vfp/images/appaboutsample.png"&gt;</description>
      <link>http://www.news2news.com/vfp/?example=574</link>
    </item>
    <item>
      <title>API function: DwmExtendFrameIntoClientArea</title>
      <pubDate>Wed, 12 Jan 2011 20:49:49 EST</pubDate>
      <description>This function is used to extend the application frame into the client area. Supposedly some controls can be integrated into the extra space on the frame.&lt;BR&gt;&lt;img src="http://www.news2news.com/vfp/images/dwm_extendedframe.png"&gt;</description>
      <link>http://www.news2news.com/vfp/?function=1246</link>
    </item>
    <item>
      <title>Code sample: How to detect when a removable drive gets connected or disconnected (VFP9)</title>
      <pubDate>Sat, 08 Jan 2011 15:31:02 EST</pubDate>
      <description>In this code sample, VFP form hosts the ListView control. The control is populated with a list of the currently available disk drives. The form gets notified by the system through a Windows message upon a disk drive becoming available or getting ejected. The notification of the event includes a drive letter assigned to the device. &lt;BR&gt;&lt;BR&gt;Disk drive devices (examples: flash memory card, external hard drive, a network drive) get depicted in the ListView using icons and descriptions provided by the system.&lt;BR&gt;&lt;img src="http://www.news2news.com/vfp/images/listofdrives.png"&gt;</description>
      <link>http://www.news2news.com/vfp/?example=573</link>
    </item>
    <item>
      <title>Code sample: Capturing keyboard activity of another application using the Raw Input API (VFP9)</title>
      <pubDate>Thu, 06 Jan 2011 13:59:08 EST</pubDate>
      <description>In this code sample, VFP form registers for receiving the raw input from each and any keyboard type device connected to the computer. That includes keyboards, numeric keypads, keyboard wedge scanners and so on.&lt;BR&gt;&lt;BR&gt;The testing is simple. Any text typed in another Windows application (like text editor, spreadsheet, browser) will be duplicated in the EditBox on the VFP form.&lt;BR&gt;&lt;img src="http://www.news2news.com/vfp/images/rawinputdemo.png"&gt;&lt;BR&gt;Includes parallel VFP and C# versions.&lt;BR&gt;&lt;BR&gt;Similar results can be achieved with global keyboard and mouse hooks. &lt;BR&gt;&lt;BR&gt;In case of multiple input devices, the Raw Input API can separate input (i.g. keystrokes, mouse events) coming from different devices.</description>
      <link>http://www.news2news.com/vfp/?example=572</link>
    </item>
    <item>
      <title>API function: GetRawInputData</title>
      <pubDate>Wed, 05 Jan 2011 20:25:40 EST</pubDate>
      <description>Retrieves the raw input from the specified device.</description>
      <link>http://www.news2news.com/vfp/?function=1245</link>
    </item>
    <item>
      <title>API function: RegisterRawInputDevices</title>
      <pubDate>Wed, 05 Jan 2011 20:21:50 EST</pubDate>
      <description>Registers the devices that supply the raw input data.</description>
      <link>http://www.news2news.com/vfp/?function=1244</link>
    </item>
    <item>
      <title>API function: ToAscii</title>
      <pubDate>Wed, 05 Jan 2011 12:41:43 EST</pubDate>
      <description>Translates the specified virtual-key code and keyboard state to the corresponding character or characters.</description>
      <link>http://www.news2news.com/vfp/?function=1243</link>
    </item>
    <item>
      <title>API function: MapVirtualKey</title>
      <pubDate>Wed, 05 Jan 2011 12:35:58 EST</pubDate>
      <description>Translates (maps) a virtual-key code into a scan code or character value, or translates a scan code into a virtual-key code.</description>
      <link>http://www.news2news.com/vfp/?function=1242</link>
    </item>
    <item>
      <title>Code sample: Enumerating raw input devices attached to the system</title>
      <pubDate>Tue, 04 Jan 2011 20:40:12 EST</pubDate>
      <description>There are many user-input devices beside the traditional keyboard and mouse. For example, user input can come from a joystick, a touch screen, a microphone, or other devices that allow great flexibility in user input. &lt;BR&gt;&lt;BR&gt;&lt;img src="http://www.news2news.com/vfp/images/rawinputdevices.png"&gt;&lt;BR&gt;&lt;BR&gt;These devices are collectively known as Human Interface Devices (HIDs). The raw input API provides a stable and robust way for applications accepting raw input from any HID, including the keyboard and mouse.</description>
      <link>http://www.news2news.com/vfp/?example=571</link>
    </item>
    <item>
      <title>API function: GetRawInputDeviceList</title>
      <pubDate>Tue, 04 Jan 2011 20:13:14 EST</pubDate>
      <description>Enumerates the raw input devices attached to the system.</description>
      <link>http://www.news2news.com/vfp/?function=1240</link>
    </item>
    <item>
      <title>API function: GetRawInputDeviceInfo</title>
      <pubDate>Tue, 04 Jan 2011 20:12:59 EST</pubDate>
      <description>Retrieves information about the raw input device.</description>
      <link>http://www.news2news.com/vfp/?function=1241</link>
    </item>
    <item>
      <title>Magnetic stripe card scanning application (.NET and Visual FoxPro versions included)</title>
      <pubDate>Wed, 29 Dec 2010 15:25:49 EST</pubDate>
      <description>This sample application is designed for scanning magnetic stripe cards (ISO/IEC 7813 standard for financial transaction cards) using USB card reader. Each scan's data gets split into tracks 1 and 2, and further into the standard fields. &lt;BR&gt;&lt;BR&gt;&lt;img src="http://www.news2news.com/vfp/solutions/images/magcards/magcardreader2.jpg"&gt;&lt;BR&gt;&lt;BR&gt;The application consists of a simple GUI and magnetic stripe data parser. VFP and .NET versions of the application are functionally and visually identical. Each version includes complete source code.</description>
      <link>http://www.news2news.com/vfp/?solution=6</link>
    </item>
    <item>
      <title>API function: CreateVirtualDisk</title>
      <pubDate>Tue, 02 Nov 2010 08:52:16 EST</pubDate>
      <description>Creates a virtual hard disk (VHD) image file, either using default parameters or using an existing virtual disk or physical disk.</description>
      <link>http://www.news2news.com/vfp/?function=1239</link>
    </item>
    <item>
      <title>API function: DetachVirtualDisk</title>
      <pubDate>Mon, 01 Nov 2010 20:20:28 EST</pubDate>
      <description>Detaches a virtual hard disk (VHD) by locating an appropriate VHD provider to accomplish the operation.</description>
      <link>http://www.news2news.com/vfp/?function=1238</link>
    </item>
    <item>
      <title>API function: AttachVirtualDisk</title>
      <pubDate>Mon, 01 Nov 2010 20:17:35 EST</pubDate>
      <description>Attaches a virtual hard disk (VHD) by locating an appropriate VHD provider to accomplish the attachment.</description>
      <link>http://www.news2news.com/vfp/?function=1237</link>
    </item>
    <item>
      <title>API function: OpenVirtualDisk</title>
      <pubDate>Mon, 01 Nov 2010 20:13:52 EST</pubDate>
      <description>Opens a virtual hard disk (VHD) for use.</description>
      <link>http://www.news2news.com/vfp/?function=1236</link>
    </item>
    <item>
      <title>Code sample: Winsock: resolving an address to a host name</title>
      <pubDate>Thu, 14 Oct 2010 11:55:37 EST</pubDate>
      <description>The getnameinfo function provides protocol-independent name resolution from an address to an ANSI host name and from a port number to the ANSI service name.</description>
      <link>http://www.news2news.com/vfp/?example=570</link>
    </item>
    <item>
      <title>API function: getnameinfo</title>
      <pubDate>Thu, 14 Oct 2010 11:49:42 EST</pubDate>
      <description>Provides protocol-independent name resolution from an address to an ANSI host name and from a port number to the ANSI service name.</description>
      <link>http://www.news2news.com/vfp/?function=1235</link>
    </item>
    <item>
      <title>Code sample: Verifying a file using the Authenticode policy provider</title>
      <pubDate>Thu, 07 Oct 2010 08:24:58 EST</pubDate>
      <description>The WinVerifyTrust performs a trust verification action on a specified object. The function passes the inquiry to a trust provider that supports the action identifier, if one exists.</description>
      <link>http://www.news2news.com/vfp/?example=569</link>
    </item>
    <item>
      <title>API function: WinVerifyTrust</title>
      <pubDate>Thu, 07 Oct 2010 08:13:01 EST</pubDate>
      <description>Performs a trust verification action on a specified object. The function passes the inquiry to a trust provider that supports the action identifier, if one exists.</description>
      <link>http://www.news2news.com/vfp/?function=1234</link>
    </item>
    <item>
      <title>Extended MessageBox library (FLL) for Visual FoxPro with complete C++ source code</title>
      <pubDate>Mon, 04 Oct 2010 09:10:04 EST</pubDate>
      <description>The purchased download for the solution now includes Visual Studio FLL project with complete C++ source code.&lt;BR&gt;&lt;BR&gt;&lt;img src="http://www.news2news.com/vfp/solutions/images/xmsgbox/xmsgbox_dlg_001.png"&gt;</description>
      <link>http://www.news2news.com/vfp/?solution=3</link>
    </item>
    <item>
      <title>API function: CryptProtectData</title>
      <pubDate>Mon, 23 Aug 2010 11:16:01 EST</pubDate>
      <description>Performs encryption on the data in a DATA_BLOB structure. Scoped to local computer, or to user credentials.</description>
      <link>http://www.news2news.com/vfp/?function=1232</link>
    </item>
    <item>
      <title>API function: CryptUnprotectData</title>
      <pubDate>Mon, 23 Aug 2010 11:14:19 EST</pubDate>
      <description>Decrypts and does an integrity check of the data in a DATA_BLOB structure. Scoped to local computer, or to user credentials.</description>
      <link>http://www.news2news.com/vfp/?function=1233</link>
    </item>
    <item>
      <title>Code sample: Compressing and decompressing files with Windows API Runtime Library routines</title>
      <pubDate>Fri, 13 Aug 2010 09:30:30 EST</pubDate>
      <description>Presented LZNT1Compression class implements compression and decompression of strings and files. It provides a moderate level of compression.&lt;BR&gt;&lt;BR&gt;The class is built on several functions from Windows API Runtime library. Tested and found operational under VFP9 SP2 on Windows XP and on Windows 7.</description>
      <link>http://www.news2news.com/vfp/?example=568</link>
    </item>
    <item>
      <title>API function: RtlGetCompressionWorkSpaceSize</title>
      <pubDate>Thu, 12 Aug 2010 18:36:35 EST</pubDate>
      <description>This function is used to determine the correct size of the WorkSpace buffer for the RtlCompressBuffer and RtlDecompressFragment functions.</description>
      <link>http://www.news2news.com/vfp/?function=1231</link>
    </item>
    <item>
      <title>API function: RtlDecompressBuffer</title>
      <pubDate>Thu, 12 Aug 2010 18:29:12 EST</pubDate>
      <description>Decompresses an entire compressed buffer.</description>
      <link>http://www.news2news.com/vfp/?function=1230</link>
    </item>
    <item>
      <title>API function: RtlCompressBuffer</title>
      <pubDate>Thu, 12 Aug 2010 18:25:58 EST</pubDate>
      <description>Compresses a buffer and can be used by a file system driver to facilitate the implementation of file compression.</description>
      <link>http://www.news2news.com/vfp/?function=1229</link>
    </item>
    <item>
      <title>Code sample: Obtaining memory performance information for the system</title>
      <pubDate>Mon, 12 Jul 2010 02:54:29 EST</pubDate>
      <description>Memory performance information is available from the memory manager through the system performance counters and through functions such as GetPerformanceInfo, GetProcessMemoryInfo, and GlobalMemoryStatusEx.</description>
      <link>http://www.news2news.com/vfp/?example=567</link>
    </item>
    <item>
      <title>API function: GetPerformanceInfo</title>
      <pubDate>Sun, 11 Jul 2010 02:20:13 EST</pubDate>
      <description>Retrieves the performance values contained in the PERFORMANCE_INFORMATION structure.</description>
      <link>http://www.news2news.com/vfp/?function=1228</link>
    </item>
    <item>
      <title>Code sample: Finding out if the current user is the Guest account</title>
      <pubDate>Tue, 06 Jul 2010 09:18:00 EST</pubDate>
      <description>In this code sample, the CurrentUser class wraps call to the NetUserGetInfo that populates USER_INFO_1 structure. The usri1_priv member of this struture indicates if the user account is Guest or Admin.</description>
      <link>http://www.news2news.com/vfp/?example=566</link>
    </item>
    <item>
      <title>Code sample: Enumerating Performance Counters</title>
      <pubDate>Thu, 01 Jul 2010 09:28:41 EST</pubDate>
      <description>The counter is the mechanism by which performance data is collected. The registry stores the names of all the counters, each of which is related to a specific area of system functionality. &lt;BR&gt;&lt;BR&gt;&lt;a href="http://www.news2news.com/vfp/?example=565"&gt;&lt;img src="http://www.news2news.com/vfp/images/enumperformancecounters.png" border=0&gt;&lt;/a&gt;</description>
      <link>http://www.news2news.com/vfp/?example=565</link>
    </item>
    <item>
      <title>Code sample: Writing entries to custom Event Log</title>
      <pubDate>Wed, 30 Jun 2010 08:40:12 EST</pubDate>
      <description>This code sample explains how to add entries to event logs using Event Logging API.</description>
      <link>http://www.news2news.com/vfp/?example=564</link>
    </item>
    <item>
      <title>Code sample: How to register custom Event Log source</title>
      <pubDate>Wed, 30 Jun 2010 05:21:23 EST</pubDate>
      <description>A custom event log is placed in Application and Services Logs.&lt;BR&gt;&lt;BR&gt;&lt;a href="http://www.news2news.com/vfp/?example=563"&gt;&lt;img src="http://news2news.com/vfp/images/customeventlog.png"&gt;&lt;/a&gt;</description>
      <link>http://www.news2news.com/vfp/?example=563</link>
    </item>
    <item>
      <title>API function: GetErrorMode</title>
      <pubDate>Thu, 27 May 2010 13:58:27 EST</pubDate>
      <description>Retrieves the error mode for the current process.</description>
      <link>http://www.news2news.com/vfp/?function=1227</link>
    </item>
    <item>
      <title>API function: SetHandleInformation</title>
      <pubDate>Thu, 27 May 2010 13:46:22 EST</pubDate>
      <description>Sets certain properties of an object handle.</description>
      <link>http://www.news2news.com/vfp/?function=1226</link>
    </item>
    <item>
      <title>API function: SetSearchPathMode</title>
      <pubDate>Wed, 26 May 2010 12:21:21 EST</pubDate>
      <description>Sets the per-process mode that the SearchPath function uses when locating files.</description>
      <link>http://www.news2news.com/vfp/?function=1225</link>
    </item>
    <item>
      <title>API function: MoveFileTransacted</title>
      <pubDate>Tue, 25 May 2010 10:57:00 EST</pubDate>
      <description>Moves an existing file or a directory, including its children, as a transacted operation.</description>
      <link>http://www.news2news.com/vfp/?function=1224</link>
    </item>
    <item>
      <title>API function: CreateFileTransacted</title>
      <pubDate>Mon, 24 May 2010 12:26:24 EST</pubDate>
      <description>Creates or opens a file, file stream, or directory as a transacted operation. The function returns a handle that can be used to access the object.</description>
      <link>http://www.news2news.com/vfp/?function=1223</link>
    </item>
    <item>
      <title>API function: RemoveDirectoryTransacted</title>
      <pubDate>Mon, 24 May 2010 12:14:00 EST</pubDate>
      <description>Deletes an existing empty directory as a transacted operation.</description>
      <link>http://www.news2news.com/vfp/?function=1222</link>
    </item>
    <item>
      <title>API function: DeleteFileTransacted</title>
      <pubDate>Mon, 24 May 2010 12:07:31 EST</pubDate>
      <description>Deletes an existing file as a transacted operation.</description>
      <link>http://www.news2news.com/vfp/?function=1221</link>
    </item>
    <item>
      <title>Extended MessageBox .NET Assembly full version is available</title>
      <pubDate>Sat, 08 May 2010 21:49:40 EST</pubDate>
      <description>Extended MessageBox .NET Assembly is avaialble for purchase and download on the web site. The download includes VS2005 C# Class Library project with complete source code of the assembly.</description>
      <link>http://news2news.com/vfp/?solution=5</link>
    </item>
    <item>
      <title>Extended MessageBox .NET Assembly trial version is available</title>
      <pubDate>Tue, 04 May 2010 17:37:48 EST</pubDate>
      <description>Fully functional trial version of Extended MessageBox .NET Assembly is avaialble for download on the web site. &lt;BR&gt;&lt;a href="http://news2news.com/vfp/?solution=5"&gt;&lt;img src="http://news2news.com/vfp/solutions/images/xmsgbox_net/xmsg_sample_code_advanced.png" border=0&gt;&lt;/a&gt;&lt;BR&gt;Regular version is coming soon.</description>
      <link>http://news2news.com/vfp/?solution=5</link>
    </item>
    <item>
      <title>API function: mciGetDeviceID</title>
      <pubDate>Thu, 25 Mar 2010 11:50:36 EST</pubDate>
      <description>Retrieves the device identifier corresponding to the name of an open device.</description>
      <link>http://www.news2news.com/vfp/?function=1219</link>
    </item>
    <item>
      <title>API function: mciSendCommand</title>
      <pubDate>Wed, 24 Mar 2010 10:40:40 EST</pubDate>
      <description>Sends a command message to the specified MCI device.</description>
      <link>http://www.news2news.com/vfp/?function=1218</link>
    </item>
    <item>
      <title>Extended MessageBox Library: Text Input control available</title>
      <pubDate>Mon, 08 Feb 2010 16:18:20 EST</pubDate>
      <description>The library now allows displaying Text Input control: single-line, password, multiline.&lt;BR&gt;&lt;BR&gt;&lt;img src="http://www.news2news.com/vfp/solutions/images/xmsgbox/xmsg_auxctrl_textinput_pwd.png"&gt;&lt;BR&gt;&lt;BR&gt;&lt;img src="http://www.news2news.com/vfp/solutions/images/xmsgbox/xmsg_auxctrl_textinput_multi.png"&gt;</description>
      <link>http://www.news2news.com/vfp/?solution=3</link>
    </item>
    <item>
      <title>Windows 7 support added to the Extended MessageBox library (FLL) for Visual FoxPro</title>
      <pubDate>Fri, 01 Jan 2010 16:36:00 EST</pubDate>
      <description>Due to some changes in the MessageBox dialog window internal structure brought with Window 7, until recently the library could not be used with this OS version. A patch has been added resolving this issue.</description>
      <link>http://www.news2news.com/vfp/?solution=3</link>
    </item>
    <item>
      <title>Code sample: Adding a background image to VFP report (VFP9, ReportListener)</title>
      <pubDate>Wed, 16 Dec 2009 22:31:39 EST</pubDate>
      <description>&lt;a href="http://www.news2news.com/vfp/?example=562"&gt;&lt;img src="http://news2news.com/vfp/images/reporttexture.png" border=0&gt;&lt;/a&gt;</description>
      <link>http://www.news2news.com/vfp/?example=562</link>
    </item>
    <item>
      <title>API function: GdipScaleTextureTransform</title>
      <pubDate>Wed, 16 Dec 2009 22:30:29 EST</pubDate>
      <description>Updates this texture brush"s current transformation matrix with the product of itself and a scaling matrix.</description>
      <link>http://www.news2news.com/vfp/?function=1217</link>
    </item>
    <item>
      <title>API function: GdipCreateTexture</title>
      <pubDate>Wed, 16 Dec 2009 22:25:09 EST</pubDate>
      <description>Creates a brush that contains an Image object that is used for the fill.</description>
      <link>http://www.news2news.com/vfp/?function=1216</link>
    </item>
    <item>
      <title>Code sample: Yet another modal dialog: now HTML-based</title>
      <pubDate>Thu, 10 Dec 2009 13:26:39 EST</pubDate>
      <description>The ShowHTMLDialog displays modal dialog that is functionally similar to the dialogs created by MessageBox and TaskDialog functions.&lt;BR&gt;&lt;BR&gt;&lt;a href="http://www.news2news.com/vfp/?example=561"&gt;&lt;img src="http://news2news.com/vfp/images/htmlmodaldlg.png" border=0&gt;&lt;/a&gt;&lt;BR&gt;&lt;BR&gt;A very attractive feature of this dialog is its HTML-based content. The window title, and whole client part of the dialog are defined strictly in HTML terms. This is like a limited IE window.</description>
      <link>http://www.news2news.com/vfp/?example=561</link>
    </item>
    <item>
      <title>API function: ShowHTMLDialog</title>
      <pubDate>Wed, 09 Dec 2009 16:20:39 EST</pubDate>
      <description>Creates a modal dialog box that displays HTML.</description>
      <link>http://www.news2news.com/vfp/?function=1215</link>
    </item>
    <item>
      <title>API function: CreateURLMonikerEx</title>
      <pubDate>Wed, 09 Dec 2009 15:54:00 EST</pubDate>
      <description>Creates a URL moniker from a full URL, or from a base context URL moniker and a partial URL.</description>
      <link>http://www.news2news.com/vfp/?function=1214</link>
    </item>
    <item>
      <title>Code sample: Using Month Calendar Control (VFP9, Comctl32.dll)</title>
      <pubDate>Mon, 07 Dec 2009 14:20:53 EST</pubDate>
      <description>A month calendar control implements a calendar-like user interface. This provides the user with a very intuitive and recognizable method of entering or selecting a date. &lt;BR&gt;&lt;a href="http://www.news2news.com/vfp/?example=560"&gt;&lt;img src="http://www.news2news.com/vfp/images/monthcalendarctrl.png" border=0&gt;&lt;/s&gt;</description>
      <link>http://www.news2news.com/vfp/?example=560</link>
    </item>
    <item>
      <title>Code sample: Displaying hypertext links with the SysLink control (VFP9)</title>
      <pubDate>Sat, 05 Dec 2009 16:53:37 EST</pubDate>
      <description>The SysLink control provides a convenient way to embed hypertext links in a window. &lt;BR&gt;&lt;a href="http://www.news2news.com/vfp/?example=559"&gt;&lt;img src="http://news2news.com/vfp/images/syslink_ctrl_001.png" border=0&gt;&lt;/a&gt;&lt;BR&gt;A SysLink control is a window that renders marked-up text and notifies the application when the user clicks an embedded link.</description>
      <link>http://www.news2news.com/vfp/?example=559</link>
    </item>
    <item>
      <title>Code sample: How to display advanced Task Dialog (Vista)</title>
      <pubDate>Thu, 03 Dec 2009 11:59:53 EST</pubDate>
      <description>The TaskDialogIndirect displays highly adjustable task dialog.&lt;BR&gt;&lt;a href="http://www.news2news.com/vfp/?example=558"&gt;&lt;img src="http://www.news2news.com/vfp/images/taskdlgindirect_sample.png" border=0&gt;&lt;/a&gt;&lt;BR&gt;The task dialog contains application-defined icons, messages, title, verification check box, command links, push buttons, and radio buttons.</description>
      <link>http://www.news2news.com/vfp/?example=558</link>
    </item>
    <item>
      <title>API function: TaskDialogIndirect</title>
      <pubDate>Wed, 02 Dec 2009 23:29:39 EST</pubDate>
      <description>Supported on Vista and WIndows 7. Creates, displays, and operates a task dialog. The task dialog contains application-defined icons, messages, title, verification check box, command links, push buttons, and radio buttons.</description>
      <link>http://www.news2news.com/vfp/?function=1213</link>
    </item>
    <item>
      <title>API function: TaskDialog</title>
      <pubDate>Wed, 02 Dec 2009 22:31:31 EST</pubDate>
      <description>Supported on Vista and WIndows 7. Creates, displays, and operates a task dialog. The task dialog contains application-defined message text and title, icons, and any combination of predefined push buttons.</description>
      <link>http://www.news2news.com/vfp/?function=1212</link>
    </item>
    <item>
      <title>.NET version of the Extended MessageBox is coming soon</title>
      <pubDate>Tue, 01 Dec 2009 13:13:19 EST</pubDate>
      <description>&lt;a  href="http://www.news2news.com/vfp/?solution=3"&gt;&lt;img src="images/XMsgNet_001.png" border=0&gt;&lt;/a&gt;</description>
      <link>http://www.news2news.com/vfp/?solution=3</link>
    </item>
    <item>
      <title>Extended MessageBox FLL released.</title>
      <pubDate>Sun, 22 Nov 2009 21:35:28 EST</pubDate>
      <description>&lt;a href="http://www.news2news.com/vfp/?solution=3"&gt;&lt;img src="http://news2news.com/vfp/images/xmsg_release_001.png" border=0&gt;&lt;/a&gt;&lt;BR&gt;The release version of the FLL is available for purchase.</description>
      <link>http://www.news2news.com/vfp/?solution=3</link>
    </item>
    <item>
      <title>Code sample: How to find which fonts Windows uses for drawing captions, menus and message boxes</title>
      <pubDate>Sat, 21 Nov 2009 22:37:45 EST</pubDate>
      <description>The answer is Segoe UI, 9, N for Vista and Tahoma, 9, N for Windows XP.</description>
      <link>http://www.news2news.com/vfp/?example=556</link>
    </item>
    <item>
      <title>Code sample updated: Adding icon to the systray (requires VFP9)</title>
      <pubDate>Thu, 19 Nov 2009 15:40:14 EST</pubDate>
      <description>&lt;a href="http://www.news2news.com/vfp/?example=235"&gt;&lt;img src="http://www.news2news.com/vfp/images/systrayicon_balloon.png" border=0&gt;&lt;/a&gt;</description>
      <link>http://www.news2news.com/vfp/?example=235</link>
    </item>
    <item>
      <title>API function: UuidToString</title>
      <pubDate>Thu, 19 Nov 2009 12:31:03 EST</pubDate>
      <description>Converts a UUID to a string.</description>
      <link>http://www.news2news.com/vfp/?function=1208</link>
    </item>
    <item>
      <title>API function: UuidCreate</title>
      <pubDate>Thu, 19 Nov 2009 12:25:00 EST</pubDate>
      <description>Creates a new UUID.</description>
      <link>http://www.news2news.com/vfp/?function=1205</link>
    </item>
    <item>
      <title>Download demo version of the Extended MessageBox library (FLL) for Visual FoxPro</title>
      <pubDate>Wed, 11 Nov 2009 09:32:59 EST</pubDate>
      <description>&lt;a href="http://www.news2news.com/vfp/?solution=3"&gt;&lt;img src="http://news2news.com/vfp/images/xmsg_feature_001.png" border=0&gt;&lt;/a&gt;</description>
      <link>http://www.news2news.com/vfp/?solution=3</link>
    </item>
    <item>
      <title>API function: CreateDIBSection</title>
      <pubDate>Fri, 06 Nov 2009 17:41:17 EST</pubDate>
      <description>Creates a DIB that applications can write to directly.</description>
      <link>http://www.news2news.com/vfp/?function=1204</link>
    </item>
    <item>
      <title>Extended MessageBox library (FLL) for Visual FoxPro is coming soon...</title>
      <pubDate>Wed, 04 Nov 2009 11:40:29 EST</pubDate>
      <description>Visual FoxPro applications now can control a variety of MessageBox dialog settings, including dialog initial position and size, message font and font color, dialog background, button captions and fonts, dialog icon and more.&lt;BR&gt;&lt;a href="http://www.news2news.com/vfp/?solution=3"&gt;&lt;img src="http://news2news.com/vfp/solutions/images/xmsgbox/xmsgbox_dlg_001.png" border=0&gt;&lt;/a&gt;</description>
      <link>http://news2news.com/vfp/?solution=3</link>
    </item>
    <item>
      <title>API function: GetDlgCtrlID</title>
      <pubDate>Tue, 13 Oct 2009 11:00:48 EST</pubDate>
      <description>Retrieves the identifier of the specified control.</description>
      <link>http://www.news2news.com/vfp/?function=1201</link>
    </item>
    <item>
      <title>API function: GetDlgItem</title>
      <pubDate>Tue, 13 Oct 2009 10:57:11 EST</pubDate>
      <description>Retrieves a handle to a control in the specified dialog box.</description>
      <link>http://www.news2news.com/vfp/?function=1200</link>
    </item>
    <item>
      <title>Code sample: Printing Image File, programmatically set print page orientation to landscape</title>
      <pubDate>Wed, 23 Sep 2009 12:01:57 EST</pubDate>
      <description>DEVMODE data for a printer can be obtained by calling either the DocumentProperties or the PrintDlg API function. If required, the latter can display the Print dialog box allowing to adjust the printer job settings manually.</description>
      <link>http://www.news2news.com/vfp/?example=555</link>
    </item>
    <item>
      <title>ACOS3 Smart Card Class Library for Visual FoxPro</title>
      <pubDate>Thu, 09 Apr 2009 11:02:55 EST</pubDate>
      <description>&lt;a href="http://www.news2news.com/vfp/?solution=2"&gt;&lt;img src="http://www.news2news.com/vfp/solutions/images/acos3_vfp_library/reader_connected.jpg" border=0&gt;&lt;/a&gt;&lt;BR&gt;ACOS3 VFP Class Library adds secure data echange with ACOS3 smart cards to Visual FoxPro applications. &lt;BR&gt;&lt;img src="http://www.news2news.com/vfp/solutions/images/acos3_vfp_library/card_batch.jpg"&gt;</description>
      <link>http://www.news2news.com/vfp/?solution=2</link>
    </item>
    <item>
      <title>Code sample updated: Switching between keyboard layouts</title>
      <pubDate>Fri, 13 Feb 2009 11:24:47 EST</pubDate>
      <description>The form displays keyboard layouts available for the current process and allows switching between layouts.&lt;BR&gt;&lt;BR&gt;&lt;img src="http://news2news.com/vfp/images/kbdlayoutswitch.png"&gt;&lt;BR&gt;&lt;BR&gt;If run in VFP9, this form also tracks switches between layouts initiated by hot keys (the form must be in focus at the moment of switch).</description>
      <link>http://www.news2news.com/vfp/?example=275</link>
    </item>
    <item>
      <title>Code sample: Disconnecting USB Mass Storage Device programmatically</title>
      <pubDate>Wed, 11 Feb 2009 16:17:19 EST</pubDate>
      <description>USB Storage Devices can be disconnected (removed safely) in VFP code. This is the same safe procedure as the system utility uses.&lt;BR&gt;&lt;BR&gt;&lt;img src="http://www.news2news.com/vfp/images/usbstoragedevices.png"&gt;</description>
      <link>http://www.news2news.com/vfp/?example=553</link>
    </item>
    <item>
      <title>Code sample: Reading and setting system access privileges for the current process</title>
      <pubDate>Thu, 05 Feb 2009 13:40:34 EST</pubDate>
      <description>A privilege is the right of an account, such as a user or group account, to perform various system-related operations on the local computer, such as shutting down the system, loading device drivers, or changing the system time.&lt;BR&gt;&lt;BR&gt;&lt;img src="http://news2news.com/vfp/images/processaccessprivileges.png"&gt;</description>
      <link>http://www.news2news.com/vfp/?example=554</link>
    </item>
    <item>
      <title>Code sample: How to enable the SE_SHUTDOWN_NAME privilege for the application</title>
      <pubDate>Tue, 03 Feb 2009 11:15:14 EST</pubDate>
      <description>To shut down or to reboot the system (API calls ExitWindowsEx, InitiateShutdown and others) the process must have the SE_SHUTDOWN_NAME privilege (default behaviour on Vista).&lt;BR&gt;&lt;BR&gt;&lt;img src="http://www.news2news.com/vfp/images/windowsrestartdialog.png"&gt;</description>
      <link>http://www.news2news.com/vfp/?example=552</link>
    </item>
    <item>
      <title>Code sample: Starting a dialog box for connecting to network resources and passing input parameters</title>
      <pubDate>Mon, 02 Feb 2009 09:33:25 EST</pubDate>
      <description>This code sample is an extension of  "#309. Starting a dialog box for connecting to network resources". &lt;BR&gt;&lt;BR&gt;&lt;img src="http://www.news2news.com/vfp/images/mapnetworkdrive_dlg.jpg"&gt;&lt;BR&gt;&lt;BR&gt;The code is written around the WNetConnectionDialog1 function and provides a better control of the network connection dialog through input parameters.</description>
      <link>http://www.news2news.com/vfp/?example=551</link>
    </item>
    <item>
      <title>Code sample: How to control Adobe Reader 9.0 (SDI mode) from VFP application</title>
      <pubDate>Mon, 26 Jan 2009 13:58:28 EST</pubDate>
      <description>Each Adobe Reader 9 window is created from window class AcrobatSDIWindow and parented by the Windows Desktop.  Enumeration of child windows of this class within the Desktop window returns the exact number of open Adobe Acrobat 9 documents.&lt;BR&gt;&lt;BR&gt;&lt;img src="http://news2news.com/vfp/images/AdobeReader9.png"&gt;&lt;BR&gt;&lt;BR&gt;The AdobeReaderSDIWindow class is able to virtually "click on" an item in the main menu of Adobe Reader 9 window and in this way to control some of the functionality.</description>
      <link>http://www.news2news.com/vfp/?example=550</link>
    </item>
    <item>
      <title>Code sample: GDI+: Color Transparency</title>
      <pubDate>Mon, 19 Jan 2009 12:32:05 EST</pubDate>
      <description>With the GDI+, an image can be drawn on a Graphics object having a selected single color or a range of colors made transparent.&lt;BR&gt;&lt;BR&gt;&lt;img src="http://news2news.com/vfp/images/colortransparency.png"&gt;</description>
      <link>http://www.news2news.com/vfp/?example=549</link>
    </item>
    <item>
      <title>Code sample: GDI+ fun: roach-infested desktop</title>
      <pubDate>Thu, 15 Jan 2009 16:35:48 EST</pubDate>
      <description>Bugs are frantically running for shelter in all directions all over the main VFP window. This hardly can scare a seasoned VFP developer. But unsuspecting user ought to beware.&lt;BR&gt;&lt;BR&gt;&lt;img src="http://news2news.com/vfp/images/bugs.jpg"&gt;</description>
      <link>http://www.news2news.com/vfp/?example=548</link>
    </item>
    <item>
      <title>Code sample: GDI+: Creating thumbnails to preview images in a directory</title>
      <pubDate>Mon, 12 Jan 2009 12:22:48 EST</pubDate>
      <description>This code sample displays thumbnails for JPEG images found in a specified directory. The thumbnails on the form are dynamically highlighted following the movements of the cursor.&lt;BR&gt;&lt;BR&gt;&lt;img src="http://news2news.com/vfp/images/thumbnails.jpg"&gt;</description>
      <link>http://www.news2news.com/vfp/?example=547</link>
    </item>
    <item>
      <title>Code sample: GDI+: Scrolling through large image with the mouse</title>
      <pubDate>Fri, 09 Jan 2009 09:33:01 EST</pubDate>
      <description>The pictures taken with modern digital cameras are usually wider and higher than above average display resolution. &lt;BR&gt;&lt;BR&gt;&lt;img src="http://www.news2news.com/vfp/images/picturescroll.jpg"&gt;&lt;BR&gt;1920 by 1200 pixels, which requires fairly decent video card and monitor these days, is only 2.3 megapixel size. Uncropped 10.1 megapixel shot taken with Canon EOS 400D is 3888 by 2592 pixels -- roughly two times higher and wider.</description>
      <link>http://www.news2news.com/vfp/?example=546</link>
    </item>
    <item>
      <title>Code sample: Enumerating devices installed on the local machine</title>
      <pubDate>Mon, 22 Dec 2008 10:42:30 EST</pubDate>
      <description>The PnP manager maintains a device tree that keeps track of the devices in the system.&lt;BR&gt;&lt;BR&gt;&lt;img src="http://www.news2news.com/vfp/images/deviceviewer.jpg"&gt;&lt;BR&gt;&lt;BR&gt;The device tree contains information about the devices present on the system. The PnP manager builds this tree when the machine boots, using information from drivers and other components, and updates the tree as devices are added or removed.</description>
      <link>http://www.news2news.com/vfp/?example=545</link>
    </item>
  </channel>
</rss>
