Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
How to ping a remote site using IP Helper API calls
Testing serial ports
Reading the structure of VFP main menu
System Image List Viewer
Vertical Label control
Custom HttpRequest class (WinINet)
Loading a string resource from an executable file
Drawing icons associated with the VFP main window
How to load a user profile
Accessing Adobe Reader 7.0 main menu from VFP application
Detecting changes in connections to removable drives (VFP9)
Disconnecting USB Mass Storage Device programmatically
Custom HttpRequest class (WinHTTP)
Custom FTP Class for Visual FoxPro application
Using File Mapping for enumerating files opened by Visual FoxPro
Using shared memory to exchange data between applications (processes)
A class that encrypts and decrypts files using Cryptography API Functions
Enumerating raw input devices attached to the system (keyboard, mouse, human interface device)
Extended MessageBox Class
Displaying hypertext links with the SysLink control (VFP9, Comctl32.dll)
How to make a VFP form fading out when released (GDI version)
Copying picture of the active form to the Clipboard using Enhanced Metafile API functions
Creating a clipping region from the path selected into the device context of a form
Round FoxPro form
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
Versions:
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:
      Password:
     
     
      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: 136  
    Listed functions:
    DeregisterEventSource
    GetLastError
    GetNumberOfEventLogRecords
    GlobalAlloc
    GlobalFree
    GlobalSize
    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  
    FreeTranslation.com offers instant, free translations of text or web pages.
    User Contributed Notes:
    There are no notes on this subject.


    Copyright 2001-2017 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.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
    Last Topics Visited (54.156.92.243)
    16 sec.Function: 'GetMenuItemCount'
    Function group: 'Menu'
    25 sec.Function: 'FtpPutFile'
    34 sec.Function: 'GetLongPathName'
    Function group: 'File Management'
    43 sec.Function: 'CryptBinaryToString'
    Function group: 'Cryptography Reference'
    51 sec.Function: 'SQLGetFunctions'
    Function group: 'ODBC API'
    59 sec.Articles
    1.1 min.Example: 'Custom HttpRequest class (WinINet)'
    1.23 min.Function: 'QueryDosDevice'
    Function group: 'File Management'
    1.38 min.Function: 'NetWkstaTransportEnum'
    Function group: 'Network Management'
    1.52 min.Example: 'Opening access to the Microsoft Internet functions for the application'
    Google
    Advertise here!