Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
Testing an ODBC connection for supporting specific functionality
Disk in drive A:
Displaying the drive type value
GDI+: enumerating fonts installed on the system
GetFocus returns a HWND value
Retrieving information about the main VFP window
Retrieving list of all active RAS connections
Using the DrawText function
Verifying a file using the Authenticode policy provider
Form Magnifier
Obtaining Shell32.dll version
Using GetNearestColor
Using the MessageBox Win32 function
Enumerating print processors and supporting data types installed on the specified server
High-powered ALLTRIM
Pocket PC: base class
Quering Audio Mixer Device
Reading the state of mouse buttons within DO WHILE loop
Using FtpCommand
Using the SystemParametersInfo function
DiskFreeSpace class
Enumerating ports that are available for printing on a specified server
How to start the screen saver and how to find whether the screen saver is active
How to view system icons for the classes installed on the local machine
Storing the environment strings in cursor

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:


See also:
  • One more way to retrieve environment strings
  • Creating INI file and adding strings to it
  • Reading and setting Environment variables

  •  
      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:
    • ~
    1380 bytes  
    Created: 2001-08-04 12:00:00  
    Modified: 2011-12-10 09:20:22  
    Visits in 7 days: 80  
    Listed functions:
    FreeEnvironmentStrings
    GetEnvironmentStrings
    GlobalSize
    Printer friendly API declarations
    My comment:
    This way you get all environment variables, so you dont need to provide their names as with the GetEnv() function.
    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-2013 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.1.55-log), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
    Last Topics Visited (50.16.36.153)
    4 sec.Function: 'NetShareSetInfo'
    1.34 hrs.Example: 'How to perform Base64 encoding/decoding using Cryptography API Functions'
    Google
    Advertise here!