Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
Writing entries to custom Event Log
How to put a horizontal text scrolling on the form (a news line, marquee)
Switching between keyboard layouts
Semi-transparent Form
Custom HttpRequest class (WinHTTP)
Displaying icons in the system tray (VFP9)
How to print a bitmap file
Custom FTP Class for Visual FoxPro application
How to print FoxPro form
How to enable the SE_SHUTDOWN_NAME privilege for the application
How to retrieve adapter information for the local computer (including MAC address)
Placing an arbitrary rectangular area of main VFP window on the Clipboard
Printing text with the Escape function
How to find which fonts Windows uses for drawing captions, menus and message boxes
Moving shortcut to a specified position on the Windows Desktop
Reading and setting system access privileges for the current process
Enumerating print jobs and retrieving information for default printer (JOB_INFO_1 structures)
GDI+: Scrolling through large image using the mouse
How to make a VFP form fading out when released (GDI version)
Enumerating Processes -- WinNT
How to display advanced Task Dialog (Vista)
System Image List Viewer
Storing screen shot of a form to bitmap file
Windows Shell Icons displayed and exported to ICO files (Vista)
Writing entries to custom Event Log

User rating: 0/10 (0 votes)
Rate this code sample:
  • ~
More code examples    Listed functions    Add comment     W32 Constants      Translate this page Printer friendly version of this code sample
click to open
Before you begin:
Before testing this code sample, register custom event log MyEventLog. Without MyEventLog properly registered, the code will automatically target the Application log

See also:
  • Reading entries from Event logs
  • Reading from INI files
  • Writing to INI files

      Members area. Log in to view this example.
      User name:
      Forgot your password?
      Sign up for
    the Membership

    User rating: 0/10 (0 votes)
    Rate this code sample:
    • ~
    4997 bytes  
    Created: 2010-06-30 08:24:14  
    Modified: 2010-06-30 09:16:30  
    Visits in 7 days: 125  
    Listed functions:
    Printer friendly API declarations
    My comment:
    Read article Using the Windows Event Log from Visual FoxPro written by Craig Berntson and Cole Gleave.
    Word Index links for this example:
    Translate this page:
      Spanish    Portuguese    German    French    Italian offers instant, free translations of text or web pages.
    User Contributed Notes:
    There are no notes on this subject.

    Copyright 2001-2018 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

    Privacy policy
    Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.39), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
    Last Topics Visited (
    18 sec.Function: 'CeDeleteFile'
    Function group: 'Remote Application Programming (RAPI)'
    37 sec.Function: 'GetCurrentProcess'
    Function group: 'Process and Thread'
    53 sec.Links
    1.5 min.Function: 'GetVersionEx'
    Function group: 'System Information'
    1.78 min.Function: 'LoadLibraryEx'
    2.08 min.Function: 'GetFileAttributes'
    Function group: 'File Management'
    2.32 min.Example: 'Winsock: changing the byte ordering'
    2.62 min.Function: 'GdipGetImagePaletteSize'
    Function group: 'GDI+ Image'
    2.92 min.Links
    Advertise here!