Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
Managing Cookies
Reading data from INI files
Retrieving list of files on the FTP directory
Retrieving System Error message strings
Winsock: initializing the service in the VFP application
GDI+: rotating images using matrix transformations
Obtaining the bounding rectangle for the specified device context
Retrieving the rectangle area where the mouse cursor is confined
Accessing the list of Windows Recent Documents
GDI+: Color Transparency
GDI+: Storing DLL icon resources in image files
How to display the Print property sheet
How to generate UUID values
Retrieving the IP-to-physical address mapping table
Simulating DOEVENTS
Testing an ODBC connection for supporting specific functionality
Obtaining OS memory performance information
Retrieving a handle to DLL and address of an exported function in it
Using Custom FTP class (DEFINE CLASS ftp As Custom)
Using IsChild() for testing ThisForm.ShowWindow property
Converting strings between ANSI and OEM
Creating a file, then moving it to another destination
How to hot-track menu item selection in top-level form (requires VFP9)
Obtaining addresses for the adapters on the local computer (Win XP/2003/Vista)
GetFileOwner - Get the owner of an NTFS file

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
Before you begin:
The first version of this code sample was based on VB-to-VFP translation from VB example posted on DevX.com. For a given file the function returns account and domain names in a string.
 
  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:
  • ~
3259 bytes  
Created: 2004-02-25 20:58:36  
Modified: 2009-02-03 15:26:42  
Visits in 7 days: 49  
Listed functions:
GetFileSecurity
GetLastError
GetNamedSecurityInfo
GetSecurityDescriptorOwner
LocalFree
LocalSize
LookupAccountSid
Printer friendly API declarations
My comment:
A local computer is assumed. Otherwise change cSystemName value in the code from Chr(0) to the target computer name (null-terminated). The owner can be a serial port as well.
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.17.109.248)
1.63 hrs.Function: 'mixerGetNumDevs'
Function group: 'Windows Multimedia'
 Example: 'Using GetSysColor'
1.85 hrs.Example: 'Using the RestartDialog function -- restarting Windows'
 Example: 'Using the heap of the calling process to allocate memory blocks'
4.14 hrs.Example: 'Enumerating network resources'
 Function: 'GetDiskFreeSpace'
Function group: 'File System'
12.13 hrs.Example: 'How to create MD-5 and SHA-1 hash values from a string'
Language: 'C#'
12.14 hrs.Function: 'CloseEnhMetaFile'
Function group: 'Metafile'
16.74 hrs.Example: 'How to block the ALT+TAB shortcut (WinXP)'
 Example: 'Using Video Capture: displaying on FoxPro form frames and previewing video obtained from a digital camera'
Google
Advertise here!