<?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 over 1,100 Windows API functions.</description>
    <pubDate>Thu, 09 Apr 2009 11:03:01 EST</pubDate>
    <lastBuildDate>Thu, 09 Apr 2009 11:02:55 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 08.00.0000.3117 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>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>Subscription to advanced content</title>
      <pubDate>Wed, 01 Apr 2009 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>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>API function: CM_Request_Device_Eject_Ex</title>
      <pubDate>Tue, 03 Feb 2009 16:07:06 EST</pubDate>
      <description>Prepares a local or a remote device instance for safe removal, if the device is removable.</description>
      <link>http://www.news2news.com/vfp/?function=1190</link>
    </item>
    <item>
      <title>API function: LookupPrivilegeName</title>
      <pubDate>Tue, 03 Feb 2009 14:10:16 EST</pubDate>
      <description>Retrieves the name that corresponds to the privilege represented on a specific system by a specified locally unique identifier (LUID).</description>
      <link>http://www.news2news.com/vfp/?function=1188</link>
    </item>
    <item>
      <title>API function: GetTokenInformation</title>
      <pubDate>Tue, 03 Feb 2009 13:39:53 EST</pubDate>
      <description>Retrieves a specified type of information about an access token.</description>
      <link>http://www.news2news.com/vfp/?function=1187</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>API function: LookupPrivilegeValue</title>
      <pubDate>Mon, 02 Feb 2009 15:17:47 EST</pubDate>
      <description>Retrieves the locally unique identifier (LUID) used on a specified system to locally represent the specified privilege name.</description>
      <link>http://www.news2news.com/vfp/?function=1186</link>
    </item>
    <item>
      <title>API function: AdjustTokenPrivileges</title>
      <pubDate>Mon, 02 Feb 2009 13:41:15 EST</pubDate>
      <description>Enables or disables privileges in the specified access token.</description>
      <link>http://www.news2news.com/vfp/?function=1185</link>
    </item>
    <item>
      <title>API function: OpenProcessToken</title>
      <pubDate>Mon, 02 Feb 2009 13:19:59 EST</pubDate>
      <description>Opens the access token associated with a process.</description>
      <link>http://www.news2news.com/vfp/?function=1184</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>API function: WNetConnectionDialog1</title>
      <pubDate>Fri, 30 Jan 2009 14:18:01 EST</pubDate>
      <description>Brings up a general browsing dialog for connecting to network resources.</description>
      <link>http://www.news2news.com/vfp/?function=1182</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>API function: GdipDrawImageRectRectI</title>
      <pubDate>Fri, 16 Jan 2009 18:40:01 EST</pubDate>
      <description>Draws an image optionally using a ImageAttributes object. This function can be used for drawing images with colors or color ranges made transparent.</description>
      <link>http://www.news2news.com/vfp/?function=1179</link>
    </item>
    <item>
      <title>API function: GdipCreateImageAttributes</title>
      <pubDate>Fri, 16 Jan 2009 18:13:07 EST</pubDate>
      <description>Creates new GDI+ ImageAttributes object.</description>
      <link>http://www.news2news.com/vfp/?function=1176</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>API function: GdipDrawLineI</title>
      <pubDate>Thu, 15 Jan 2009 15:58:44 EST</pubDate>
      <description>Uses a pen to draw a line.</description>
      <link>http://www.news2news.com/vfp/?function=1175</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>API function: GdipSetClipRectI</title>
      <pubDate>Wed, 07 Jan 2009 17:53:20 EST</pubDate>
      <description>Sets the clipping region of this Graphics object by a specified rectangle.</description>
      <link>http://www.news2news.com/vfp/?function=1173</link>
    </item>
    <item>
      <title>API function: timeGetDevCaps</title>
      <pubDate>Wed, 07 Jan 2009 14:38:03 EST</pubDate>
      <description>Queries the timer device to determine its resolution.</description>
      <link>http://www.news2news.com/vfp/?function=1172</link>
    </item>
    <item>
      <title>Madame Tussauds Wax Museum, New York</title>
      <pubDate>Fri, 02 Jan 2009 17:07:56 EST</pubDate>
      <description>Visited recently...&lt;BR&gt;&lt;img src="http://www.news2news.com/vfp/images/IMG_5838.JPG"&gt;</description>
      <link>http://www.madametussauds.com/NewYork/</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>
    <item>
      <title>API function: CM_Get_Sibling_Ex</title>
      <pubDate>Mon, 22 Dec 2008 10:39:41 EST</pubDate>
      <description>Obtains a device instance handle to the next sibling node of a specified device node, in a local or a remote machine"s device tree.</description>
      <link>http://www.news2news.com/vfp/?function=1168</link>
    </item>
    <item>
      <title>API function: CM_Locate_DevNode_Ex</title>
      <pubDate>Fri, 19 Dec 2008 12:29:58 EST</pubDate>
      <description>Obtains a device instance handle to the device node that is associated with a specified device instance identifier, on a local machine or a remote machine.</description>
      <link>http://www.news2news.com/vfp/?function=1166</link>
    </item>
    <item>
      <title>API function: CM_Connect_Machine</title>
      <pubDate>Fri, 19 Dec 2008 12:12:45 EST</pubDate>
      <description>Creates a connection to a remote machine</description>
      <link>http://www.news2news.com/vfp/?function=1164</link>
    </item>
    <item>
      <title>Code sample: How to view system icons for the classes installed on the local machine</title>
      <pubDate>Fri, 19 Dec 2008 10:27:59 EST</pubDate>
      <description>The bitmap images for the classes installed on the machine are stored in some system area. These images are more of a general kind and illustrate functionality groups rather than individual classes. &lt;BR&gt;&lt;BR&gt;&lt;img src="http://www.news2news.com/vfp/images/instclassesimagelist.jpg"&gt;&lt;BR&gt;&lt;BR&gt;With a few API calls VFP application can access these images and display them in TreeView and ListView controls as icons.</description>
      <link>http://www.news2news.com/vfp/?example=544</link>
    </item>
    <item>
      <title>API function: SetupDiGetClassImageIndex</title>
      <pubDate>Thu, 18 Dec 2008 18:04:27 EST</pubDate>
      <description>Retrieves the index within the class image list of a specified class.</description>
      <link>http://www.news2news.com/vfp/?function=1163</link>
    </item>
    <item>
      <title>API function: SetupDiDestroyClassImageList</title>
      <pubDate>Thu, 18 Dec 2008 17:49:43 EST</pubDate>
      <description>Destroys a class image list that was built by a call to SetupDiGetClassImageList or SetupDiGetClassImageListEx.</description>
      <link>http://www.news2news.com/vfp/?function=1162</link>
    </item>
    <item>
      <title>API function: SetupDiGetClassImageListEx</title>
      <pubDate>Thu, 18 Dec 2008 17:45:46 EST</pubDate>
      <description>Builds an image list of bitmaps for every class installed on a local or remote system.</description>
      <link>http://www.news2news.com/vfp/?function=1161</link>
    </item>
    <item>
      <title>Code sample: How to adjust monitor brightness (Vista, monitor with DDC support)</title>
      <pubDate>Wed, 10 Dec 2008 17:12:43 EST</pubDate>
      <description>&lt;img src="http://www.news2news.com/vfp/images/syncmaster_t240.jpg"&gt;&lt;BR&gt;The Monitor Configuration API was first made available in Windows Vista. These functions are applicable only if the monitor supports the Display Data Channel (DDC/CI) connection with the graphics adapter.</description>
      <link>http://www.news2news.com/vfp/?example=543</link>
    </item>
    <item>
      <title>API function: SetMonitorBrightness</title>
      <pubDate>Wed, 10 Dec 2008 16:17:38 EST</pubDate>
      <description>Sets a monitor"s brightness value.</description>
      <link>http://www.news2news.com/vfp/?function=1158</link>
    </item>
    <item>
      <title>API function: GetMonitorBrightness</title>
      <pubDate>Wed, 10 Dec 2008 16:14:05 EST</pubDate>
      <description>Retrieves the minimum, maximum, and current brightness settings for a monitor.</description>
      <link>http://www.news2news.com/vfp/?function=1157</link>
    </item>
    <item>
      <title>API function: GetMonitorCapabilities</title>
      <pubDate>Wed, 10 Dec 2008 16:09:07 EST</pubDate>
      <description>Retrieves the configuration capabilities of a monitor. Call this function to find out which high-level monitor configuration functions are supported by the monitor.</description>
      <link>http://www.news2news.com/vfp/?function=1156</link>
    </item>
    <item>
      <title>Code sample: How to detect if additional monitor is connected and active</title>
      <pubDate>Tue, 09 Dec 2008 16:11:38 EST</pubDate>
      <description>Nowadays having two monitors connected to PC becomes more a rule than exception. This code sample explains how, through enumerating display devices and their properties, to detect all available monitors.&lt;BR&gt;&lt;BR&gt;&lt;img src="http://www.news2news.com/vfp/images/enumdisplaydevices.png"&gt;</description>
      <link>http://www.news2news.com/vfp/?example=542</link>
    </item>
    <item>
      <title>Code sample: How to remove a directory that is not empty</title>
      <pubDate>Mon, 08 Dec 2008 18:13:11 EST</pubDate>
      <description>As you know, the RMDIR generates an error message when an attempt made to remove a directory that is not empty. This example shows how to remove a directory with files based on the SHFileOperation call.</description>
      <link>http://www.news2news.com/vfp/?example=541</link>
    </item>
    <item>
      <title>API function: SetEndOfFile</title>
      <pubDate>Mon, 08 Dec 2008 14:20:54 EST</pubDate>
      <description>Sets the physical file size for the specified file to the current position of the file pointer.</description>
      <link>http://www.news2news.com/vfp/?function=1152</link>
    </item>
    <item>
      <title>API function: ReplaceFile</title>
      <pubDate>Mon, 08 Dec 2008 13:24:38 EST</pubDate>
      <description>Replaces one file with another file, with the option of creating a backup copy of the original file.</description>
      <link>http://www.news2news.com/vfp/?function=1151</link>
    </item>
    <item>
      <title>API function: CopyFileTransacted</title>
      <pubDate>Thu, 04 Dec 2008 16:46:32 EST</pubDate>
      <description>Copies an existing file to a new file as a transacted operation, notifying the application of its progress through a callback function.</description>
      <link>http://www.news2news.com/vfp/?function=1149</link>
    </item>
    <item>
      <title>Code sample: Copying files as a transacted operation (Vista)</title>
      <pubDate>Thu, 04 Dec 2008 16:14:45 EST</pubDate>
      <description>Windows Vista offers transaction protection for various file operations: create, delete, copy, move and more.</description>
      <link>http://www.news2news.com/vfp/?example=540</link>
    </item>
    <item>
      <title>API function: SCardTransmit</title>
      <pubDate>Mon, 27 Oct 2008 22:33:16 EST</pubDate>
      <description>Sends a service request to the smart card and expects to receive data back from the card.</description>
      <link>http://www.news2news.com/vfp/?function=1143</link>
    </item>
    <item>
      <title>API function: SCardConnect</title>
      <pubDate>Thu, 23 Oct 2008 15:45:06 EST</pubDate>
      <description>Establishes a connection (using a specific resource manager context) between the calling application and a smart card contained by a specific reader.</description>
      <link>http://www.news2news.com/vfp/?function=1140</link>
    </item>
    <item>
      <title>Code sample: Smart Card Database Query Functions</title>
      <pubDate>Wed, 22 Oct 2008 21:18:52 EST</pubDate>
      <description>&lt;img src="http://www.news2news.com/vfp/images/smartcardreader.jpg"&gt;&lt;BR&gt;Smart cards often are used in conjunction with security and personal privacy.  The smart card resource manager manages the access to readers and smart cards.</description>
      <link>http://www.news2news.com/vfp/?example=539</link>
    </item>
    <item>
      <title>Code sample: Using Multimedia Command Strings to play MIDI files</title>
      <pubDate>Mon, 14 Apr 2008 18:35:06 EST</pubDate>
      <description>The mciSendString can be used to play various media files including MIDI files.&lt;BR&gt;&lt;BR&gt;&lt;img src="http://www.news2news.com/vfp/images/mediaplayer.png"&gt;</description>
      <link>http://www.news2news.com/vfp/?example=538</link>
    </item>
    <item>
      <title>Code sample: How to play MIDI notes</title>
      <pubDate>Wed, 09 Apr 2008 19:46:30 EST</pubDate>
      <description>Set the note in 0 to 127 range and the velocity (how hard the key is pressed) in 20 to 200+ range and press Enter.&lt;BR&gt;&lt;img src="http://www.news2news.com/vfp/images/playmidinote.png"&gt;</description>
      <link>http://www.news2news.com/vfp/?example=537</link>
    </item>
    <item>
      <title>API function: midiOutShortMsg</title>
      <pubDate>Wed, 09 Apr 2008 19:37:23 EST</pubDate>
      <description>Sends a short MIDI message to the specified MIDI output device.</description>
      <link>http://www.news2news.com/vfp/?function=1131</link>
    </item>
    <item>
      <title>API function: midiOutReset</title>
      <pubDate>Wed, 09 Apr 2008 19:26:27 EST</pubDate>
      <description>Turns off all notes on all MIDI channels for the specified MIDI output device.</description>
      <link>http://www.news2news.com/vfp/?function=1130</link>
    </item>
    <item>
      <title>Code sample: Using WM_COPYDATA for interprocess communication (VFP9)</title>
      <pubDate>Thu, 03 Apr 2008 09:25:33 EST</pubDate>
      <description>An application sends the WM_COPYDATA message to pass data to another application running on the same PC. The C# and VFP versions of this code sample are functionally identical. That allows exchanging data between .NET and VFP forms (applications).&lt;BR&gt;&lt;img src="http://www.news2news.com/vfp/images/wm_copydata.png"&gt;</description>
      <link>http://www.news2news.com/vfp/?example=536</link>
    </item>
    <item>
      <title>Code sample: How to find when the application started</title>
      <pubDate>Wed, 26 Mar 2008 18:15:50 EST</pubDate>
      <description>The GetProcessTimes function among other output parameters returns the creation time of the process.</description>
      <link>http://www.news2news.com/vfp/?example=534</link>
    </item>
    <item>
      <title>Code sample: Obtaining I/O counts for the current process</title>
      <pubDate>Wed, 26 Mar 2008 18:10:36 EST</pubDate>
      <description>The IO_COUNTERS structure contains I/O accounting information for a process or a job object. For a job object, the counters include all operations performed by all processes that have ever been associated with the job, in addition to all processes currently associated with the job.</description>
      <link>http://www.news2news.com/vfp/?example=535</link>
    </item>
    <item>
      <title>API function: GetProcessVersion</title>
      <pubDate>Wed, 26 Mar 2008 17:21:24 EST</pubDate>
      <description>Retrieves the major and minor version numbers of the system on which the specified process expects to run.</description>
      <link>http://www.news2news.com/vfp/?function=260</link>
    </item>
    <item>
      <title>API function: GetProcessTimes</title>
      <pubDate>Wed, 26 Mar 2008 17:21:07 EST</pubDate>
      <description>Retrieves timing information for the specified process.</description>
      <link>http://www.news2news.com/vfp/?function=1128</link>
    </item>
    <item>
      <title>Code sample updated: Round FoxPro form</title>
      <pubDate>Sat, 22 Mar 2008 11:10:54 EST</pubDate>
      <description>C# version has been added to this and two other code samples.</description>
      <link>http://www.news2news.com/vfp/?example=143</link>
    </item>
    <item>
      <title>API function: JetDeleteTable</title>
      <pubDate>Fri, 11 Jan 2008 17:06:47 EST</pubDate>
      <description>Deletes a table in an ESE database.</description>
      <link>http://www.news2news.com/vfp/?function=1115</link>
    </item>
    <item>
      <title>API function: JetOpenTable</title>
      <pubDate>Fri, 11 Jan 2008 17:04:02 EST</pubDate>
      <description>Opens a cursor on an existing table.</description>
      <link>http://www.news2news.com/vfp/?function=1114</link>
    </item>
    <item>
      <title>API function: JetCloseTable</title>
      <pubDate>Fri, 11 Jan 2008 17:01:19 EST</pubDate>
      <description>Closes an open table in a database. The table is a temporary table or a normal table.</description>
      <link>http://www.news2news.com/vfp/?function=1113</link>
    </item>
    <item>
      <title>API function: JetCreateTable</title>
      <pubDate>Fri, 11 Jan 2008 16:58:01 EST</pubDate>
      <description>Creates an empty table in an ESE database.</description>
      <link>http://www.news2news.com/vfp/?function=1112</link>
    </item>
    <item>
      <title>API function: JetDetachDatabase</title>
      <pubDate>Fri, 11 Jan 2008 16:53:42 EST</pubDate>
      <description>Releases a database file that was previously attached to a database session.</description>
      <link>http://www.news2news.com/vfp/?function=1111</link>
    </item>
    <item>
      <title>API function: JetCloseDatabase</title>
      <pubDate>Fri, 11 Jan 2008 16:50:28 EST</pubDate>
      <description>Closes a database file that was previously opened with JetOpenDatabase.</description>
      <link>http://www.news2news.com/vfp/?function=1110</link>
    </item>
    <item>
      <title>API function: JetCreateDatabase</title>
      <pubDate>Fri, 11 Jan 2008 16:47:17 EST</pubDate>
      <description>Creates and attaches a database file to be used with the ESE database engine.</description>
      <link>http://www.news2news.com/vfp/?function=1109</link>
    </item>
    <item>
      <title>API function: JetCreateInstance</title>
      <pubDate>Fri, 11 Jan 2008 13:48:18 EST</pubDate>
      <description>Allocates a new instance of the database engine for use in a single process.</description>
      <link>http://www.news2news.com/vfp/?function=1104</link>
    </item>
    <item>
      <title>API function: JetEndSession</title>
      <pubDate>Tue, 08 Jan 2008 18:01:21 EST</pubDate>
      <description>Ends the session, and cleans up and deallocates any resources associated with the specified session.</description>
      <link>http://www.news2news.com/vfp/?function=1108</link>
    </item>
    <item>
      <title>API function: JetBeginSession</title>
      <pubDate>Tue, 08 Jan 2008 17:56:09 EST</pubDate>
      <description>Starts new ESE session and initializes and returns an ESE session handle</description>
      <link>http://www.news2news.com/vfp/?function=1107</link>
    </item>
    <item>
      <title>API function: JetInit</title>
      <pubDate>Tue, 08 Jan 2008 17:49:56 EST</pubDate>
      <description>Puts the database engine into a state where it can support application use of database files.</description>
      <link>http://www.news2news.com/vfp/?function=1105</link>
    </item>
    <item>
      <title>API function: JetTerm</title>
      <pubDate>Tue, 08 Jan 2008 17:49:45 EST</pubDate>
      <description>Initiates the shutdown of an instance that has been initialized by JetInit.</description>
      <link>http://www.news2news.com/vfp/?function=1106</link>
    </item>
    <item>
      <title>API function: if_nametoindex</title>
      <pubDate>Tue, 08 Jan 2008 10:55:25 EST</pubDate>
      <description>Converts the ANSI interface name for a network interface to the local index for the interface.</description>
      <link>http://www.news2news.com/vfp/?function=1103</link>
    </item>
    <item>
      <title>API function: if_indextoname</title>
      <pubDate>Tue, 08 Jan 2008 10:52:08 EST</pubDate>
      <description>Converts the local index for a network interface to the ANSI interface name.</description>
      <link>http://www.news2news.com/vfp/?function=1102</link>
    </item>
    <item>
      <title>API function: GetTcp6Table</title>
      <pubDate>Tue, 08 Jan 2008 10:31:27 EST</pubDate>
      <description>Retrieves the TCP connection table for IPv6.</description>
      <link>http://www.news2news.com/vfp/?function=1101</link>
    </item>
    <item>
      <title>API function: GetWindowRgnBox</title>
      <pubDate>Fri, 04 Jan 2008 15:19:55 EST</pubDate>
      <description>Retrieves the dimensions of the tightest bounding rectangle for the window region of a window.</description>
      <link>http://www.news2news.com/vfp/?function=1100</link>
    </item>
    <item>
      <title>API function: PaintDesktop</title>
      <pubDate>Fri, 04 Jan 2008 15:09:21 EST</pubDate>
      <description>Fills the clipping region in the specified device context with the desktop pattern or wallpaper.</description>
      <link>http://www.news2news.com/vfp/?function=1099</link>
    </item>
    <item>
      <title>API function: GdiSetBatchLimit</title>
      <pubDate>Fri, 04 Jan 2008 13:56:15 EST</pubDate>
      <description>Sets the maximum number of function calls that can be accumulated in the calling thread`s current batch. The system flushes the current batch whenever this limit is exceeded.</description>
      <link>http://www.news2news.com/vfp/?function=1096</link>
    </item>
    <item>
      <title>API function: GdiGetBatchLimit</title>
      <pubDate>Fri, 04 Jan 2008 13:51:41 EST</pubDate>
      <description>Returns the maximum number of function calls that can be accumulated in the calling thread`s current batch.</description>
      <link>http://www.news2news.com/vfp/?function=1098</link>
    </item>
    <item>
      <title>API function: GdiFlush</title>
      <pubDate>Fri, 04 Jan 2008 13:50:25 EST</pubDate>
      <description>Flushes the calling thread`s current batch.</description>
      <link>http://www.news2news.com/vfp/?function=1097</link>
    </item>
    <item>
      <title>API function: GetProductInfo</title>
      <pubDate>Wed, 26 Dec 2007 14:44:45 EST</pubDate>
      <description>Retrieves the product type for the operating system on the local computer, and maps the type to the product types supported by the specified operating system.</description>
      <link>http://www.news2news.com/vfp/?function=1095</link>
    </item>
    <item>
      <title>API function: GetNativeSystemInfo</title>
      <pubDate>Wed, 26 Dec 2007 14:20:47 EST</pubDate>
      <description>Retrieves information about the current system to an application running under WOW64.</description>
      <link>http://www.news2news.com/vfp/?function=1094</link>
    </item>
    <item>
      <title>Visits from MS crawler using regular agent string</title>
      <pubDate>Tue, 09 Oct 2007 14:07:09 EST</pubDate>
      <description>Last several weeks an MS crawler is hitting my website coming from ip range of 65.55.165.10 to approx. 65.55.165.125.&lt;BR&gt;&lt;BR&gt;An interesting thing that the agent parameter is a regular one:&lt;BR&gt;Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; .NET CLR 1.1.4322)&lt;BR&gt;supposedly pointing at an average web user.&lt;BR&gt;&lt;BR&gt;A typical query string look like this:&lt;BR&gt;http://search.live.com/results.aspx?q=functions&lt;BR&gt;&lt;BR&gt;The robot's searches are mostly too general and repetitive: functions, foxpro, using, process, windows, registry, connections, language, socket and so on.&lt;BR&gt;&lt;BR&gt;http://www.who.is/whois-ip/ip-address/65.55.165.76/</description>
      <link>http://www.who.is/whois-ip/ip-address/65.55.165.76/</link>
    </item>
    <item>
      <title>Code sample: How to display a Print property sheet</title>
      <pubDate>Thu, 04 Oct 2007 15:43:39 EST</pubDate>
      <description>The Print property sheet is a standard user interface that enables the user to specify the properties of a particular print job.</description>
      <link>http://www.news2news.com/vfp/?example=531</link>
    </item>
    <item>
      <title>API function: PrintDlgEx</title>
      <pubDate>Thu, 04 Oct 2007 15:31:51 EST</pubDate>
      <description>The PrintDlgEx function displays a Print property sheet that enables the user to specify the properties of a particular print job.</description>
      <link>http://www.news2news.com/vfp/?function=1093</link>
    </item>
    <item>
      <title>API function: PrintDlgEx</title>
      <pubDate>Thu, 04 Oct 2007 15:31:51 EST</pubDate>
      <description>The PrintDlgEx function displays a Print property sheet that enables the user to specify the properties of a particular print job.</description>
      <link>http://www.news2news.com/vfp/?function=1093</link>
    </item>
    <item>
      <title>Code sample updated: Reading records in Windows Event logs</title>
      <pubDate>Sun, 09 Sep 2007 20:45:33 EST</pubDate>
      <description>With Event Viewer, users can monitor events recorded in the Application, Security, and System logs.&lt;BR&gt;&lt;BR&gt;&lt;img src="http://www.news2news.com/vfp/images/eventviewer.png"&gt;</description>
      <link>http://www.news2news.com/vfp/?example=524</link>
    </item>
    <item>
      <title>API function: DeregisterEventSource</title>
      <pubDate>Sun, 09 Sep 2007 20:42:25 EST</pubDate>
      <description>Closes a write handle to the specified event log.</description>
      <link>http://www.news2news.com/vfp/?function=1092</link>
    </item>
    <item>
      <title>API function: RegisterEventSource</title>
      <pubDate>Sun, 09 Sep 2007 20:40:26 EST</pubDate>
      <description>Retrieves a registered handle to the specified event log.</description>
      <link>http://www.news2news.com/vfp/?function=1091</link>
    </item>
    <item>
      <title>API function: ReportEvent</title>
      <pubDate>Sun, 09 Sep 2007 20:35:27 EST</pubDate>
      <description>Writes an entry at the end of the specified event log.</description>
      <link>http://www.news2news.com/vfp/?function=1090</link>
    </item>
    <item>
      <title>API function: GetEventLogInformation</title>
      <pubDate>Sun, 09 Sep 2007 20:28:34 EST</pubDate>
      <description>Retrieves information about the specified event log.</description>
      <link>http://www.news2news.com/vfp/?function=1089</link>
    </item>
    <item>
      <title>API function: ClearEventLog</title>
      <pubDate>Sun, 09 Sep 2007 20:25:08 EST</pubDate>
      <description>Clears the specified event log, and optionally saves the current copy of the log to a backup file.</description>
      <link>http://www.news2news.com/vfp/?function=1088</link>
    </item>
    <item>
      <title>API function: SetFilePointerEx</title>
      <pubDate>Mon, 20 Aug 2007 17:51:44 EST</pubDate>
      <description>Moves the file pointer of the specified file.</description>
      <link>http://www.news2news.com/vfp/?function=1087</link>
    </item>
    <item>
      <title>Watch video: FTP Class Library for Visual FoxPro -- getting started</title>
      <pubDate>Fri, 22 Jun 2007 00:23:35 EST</pubDate>
      <description>&lt;img src="http://www.news2news.com/vfp/images/adobeflashplayer.png" align=left hspace=5&gt;When a control from the FTP class library is dropped on VFP form, the form immediately turns into convenient FTP browser.</description>
      <link>http://www.news2news.com/vfp/solutions/video/wininet_ftp_library/gettingstarted/ftplib_gettingstarted.html</link>
    </item>
    <item>
      <title>Solution added: FTP Class Library for Visual FoxPro</title>
      <pubDate>Fri, 22 Jun 2007 00:21:11 EST</pubDate>
      <description>The solution presents Visual FoxPro class library that wraps the set of FTP functions in the Microsoft&#174; Win32&#174; Internet (WinInet) API library. &lt;BR&gt;&lt;BR&gt;&lt;img src="http://www.news2news.com/vfp/solutions/images/wininet_ftp_library/ftpclass_ftpbrowser.png"&gt;</description>
      <link>http://www.news2news.com/vfp/?solution=1</link>
    </item>
    <item>
      <title>New format of code samples introduced on the site: solutions</title>
      <pubDate>Fri, 22 Jun 2007 00:11:39 EST</pubDate>
      <description>&lt;img src="http://www.news2news.com/vfp/images/dldefault.gif" align=left hspace=5 vspace=10&gt;What we call a solution is more than an advanced code sample. It is an entity containing more than one file, for example, a class library. Solution is meant to be a building block turn-key ready for inclusion in VFP developer's project.</description>
      <link>http://www.news2news.com/vfp/?generic=Solutions</link>
    </item>
    <item>
      <title>API function: WTSQuerySessionInformation</title>
      <pubDate>Fri, 08 Jun 2007 16:35:26 EST</pubDate>
      <description>Retrieves session information for the specified session on the specified terminal server. It can be used to query session information on local and remote terminal servers.</description>
      <link>http://www.news2news.com/vfp/?function=1086</link>
    </item>
    <item>
      <title>Code sample updated: How to display a user-defined icon in the MessageBox dialog</title>
      <pubDate>Wed, 30 May 2007 16:43:31 EST</pubDate>
      <description>Shell32.dll contains several dozens system icons. Each of them can be easily displayed on MessageBox dialog form via MessageBoxIndirect API call.&lt;BR&gt;&lt;BR&gt;&lt;img src="http://www.news2news.com/vfp/images/messageboxindirect_shell32.png"&gt;</description>
      <link>http://www.news2news.com/vfp/?example=500</link>
    </item>
    <item>
      <title>Code sample: How to view icons stored in executable files (Icon Viewer) - II</title>
      <pubDate>Fri, 25 May 2007 21:54:26 EST</pubDate>
      <description>An API ImageList object (different from ImageList ActiveX control) is created and populated with the icons extracted from specified executable or library file. Then the ImageList is linked to a ListView control on the form. Each item in the ListView represents an icon.&lt;BR&gt;&lt;BR&gt;&lt;img src="images/iconview_list.png"&gt;</description>
      <link>http://www.news2news.com/vfp/?example=19</link>
    </item>
    <item>
      <title>Code sample: System Image List Viewer</title>
      <pubDate>Fri, 25 May 2007 17:01:44 EST</pubDate>
      <description>The OS creates the System Image List for each running process, with the process mainly responsible for populating the list with ListImage items via SHGetFileInfo calls or IExtractIcon Interface and may be by some other means.&lt;BR&gt;&lt;BR&gt;&lt;img src="images/sysimagelistviewer.png"&gt;</description>
      <link>http://www.news2news.com/vfp/?example=21</link>
    </item>
    <item>
      <title>Code sample updated: Enumerating files opened on the network</title>
      <pubDate>Fri, 25 May 2007 10:54:52 EST</pubDate>
      <description>The NetFileEnum function returns information about some or all open files on a server in an array of  FILE_INFO_3 or FILE_INFO_2 structures.&lt;BR&gt;&lt;BR&gt;Rewritten from scratch to become functional.</description>
      <link>http://www.news2news.com/vfp/?example=121</link>
    </item>
    <item>
      <title>User contributed notes, rules changed</title>
      <pubDate>Fri, 25 May 2007 08:43:16 EST</pubDate>
      <description>Due to constant attention from comment spammers the rules of posting user contributed comments to the articles have changed. Starting recently, only subscribers can do that.</description>
      <link>http://www.news2news.com/vfp/?generic=Project#usernotes</link>
    </item>
    <item>
      <title>API function: ImageList_GetImageCount</title>
      <pubDate>Thu, 24 May 2007 18:45:53 EST</pubDate>
      <description>Retrieves the number of images in an image list.</description>
      <link>http://www.news2news.com/vfp/?function=1077</link>
    </item>
    <item>
      <title>API function: ImageList_Remove</title>
      <pubDate>Thu, 24 May 2007 18:44:34 EST</pubDate>
      <description>Removes an image from an image list.</description>
      <link>http://www.news2news.com/vfp/?function=1081</link>
    </item>
    <item>
      <title>API function: ImageList_Add</title>
      <pubDate>Thu, 24 May 2007 18:44:25 EST</pubDate>
      <description>Adds an image or images to an image list.</description>
      <link>http://www.news2news.com/vfp/?function=1083</link>
    </item>
    <item>
      <title>API function: ImageList_GetIconSize</title>
      <pubDate>Thu, 24 May 2007 18:43:42 EST</pubDate>
      <description>Retrieves the dimensions of images in an image list. All images in an image list have the same dimensions.</description>
      <link>http://www.news2news.com/vfp/?function=1078</link>
    </item>
    <item>
      <title>API function: ImageList_Create</title>
      <pubDate>Thu, 24 May 2007 18:40:51 EST</pubDate>
      <description>Creates a new image list.</description>
      <link>http://www.news2news.com/vfp/?function=1080</link>
    </item>
    <item>
      <title>API function: ImageList_Destroy</title>
      <pubDate>Thu, 24 May 2007 18:35:06 EST</pubDate>
      <description>Destroys an image list.</description>
      <link>http://www.news2news.com/vfp/?function=1082</link>
    </item>
    <item>
      <title>Code sample: Displaying the associated icons and descriptions for files and folders</title>
      <pubDate>Thu, 17 May 2007 18:48:21 EST</pubDate>
      <description>When the list of files and folders is to be displayed inside a VFP form, the ListBox VFP control and the ListView ActiveX control are probably the first two candidates for the job. &lt;BR&gt;&lt;BR&gt;The ListBox`s presentation style can only be described as the minimalistic :) , while the ListView shows items in much fancier manner, and can even accompany each file and folder with an icon.&lt;BR&gt;&lt;BR&gt;&lt;img src="http://www.news2news.com/vfp/images/sysimagelist.png"&gt;&lt;BR&gt;And an imminent question arises: where are those icons stored and how to put them to work?</description>
      <link>http://www.news2news.com/vfp/?example=530</link>
    </item>
    <item>
      <title>API function: Shell_GetImageLists</title>
      <pubDate>Mon, 14 May 2007 11:45:49 EST</pubDate>
      <description>Retrieves system image lists for large and small icons -- undocumented.</description>
      <link>http://www.news2news.com/vfp/?function=1075</link>
    </item>
    <item>
      <title>API function: SHGetFileInfo</title>
      <pubDate>Sat, 12 May 2007 20:15:49 EST</pubDate>
      <description>Retrieves information about an object in the file system, such as a file, a folder, a directory, or a drive root. &lt;BR&gt;&lt;BR&gt;The most obvious application for this function is obtaining the default icon (HICON handle) for a given file type.</description>
      <link>http://www.news2news.com/vfp/?function=1074</link>
    </item>
    <item>
      <title>Syntax coloring on web pages with GeSHi - Generic Syntax Highlighter</title>
      <pubDate>Tue, 08 May 2007 08:59:33 EST</pubDate>
      <description>Since yesterday news2news web site displays all code samples in colored syntax, including VFP, VB.Net, C#, C++ and WMI versions.&lt;BR&gt;&lt;BR&gt;The web pages definitely look less dull, which is achieved with a help of GeSHi - Generic Syntax Highlighter plus some minor tweaks on top.</description>
      <link>http://qbnz.com/highlighter/</link>
    </item>
    <item>
      <title>Code sample: Displaying the color pallete stored in an image file</title>
      <pubDate>Tue, 01 May 2007 20:44:14 EST</pubDate>
      <description>Depending on its bit per pixel mode, an image file can store a color palette inside its data. GDI+ functions GdipGetImagePalette and GdipGetImagePaletteSize allow to retrieve the palette in a form of ColorPalette structure.&lt;BR&gt;&lt;BR&gt;&lt;img src="http://www.news2news.com/vfp/images/palette06.png"&gt;</description>
      <link>http://www.news2news.com/vfp/?example=529</link>
    </item>
  </channel>
</rss>