Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
Disk in drive A:
Enumerating print processors and supporting data types installed on the specified server
GDI+: creating scaled copy of image file
Number of clipboard formats available
Retrieving list of available disk drives
Storing the environment strings in cursor
Using InternetGoOnline function
Comparing dimensions of the VFP main window with _SCREEN properties
Enumerating global and local group accounts on a server (WinNT/XP/2K)
GDI+: Color Transparency
GDI+: printing image file
How to save registry key including its subkeys and values to a file
Retrieving list of all active RAS connections
Testing an ODBC connection for supporting specific functionality
Yet another modal dialog: now HTML-based
Displaying the drive type value
Drawing standard Windows icons
Finding the path to the VFP executable running
Printing text on the client area of the main VFP window
Reading and setting system access privileges for the current process
Reading VFP settings from the Windows Registry
Retrieving information about the main VFP window
Verifying a file using the Authenticode policy provider
Adding printer to the list of supported printers for the specified server
Enumerating connections made to a shared resource for the local computer (WinNT only)

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:
By now I have not tested this example, because "Admin or server, print, or comm operator group membership is required to successfully execute the NetConnectionEnum function" -- MSDN.

Whoever could test it, please send me a message if any corrections are needed.
 
  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:
  • ~
3242 bytes  
Created: 2001-10-22 18:44:18  
Modified: 2008-11-03 15:26:13  
Visits in 7 days: 57  
Listed functions:
NetApiBufferFree
NetConnectionEnum
Printer friendly API declarations
My comment:
See NET SESSION command.
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 (107.22.25.119)
2.69 hrs.Example: 'Displaying animated images on FoxPro form with BitBlt and StretchBlt functions'
2.7 hrs.Example: 'Using GetBinaryType (WinNT only) to determine the type of an executable file'
 Function: 'GradientFill'
Function group: 'Bitmap'
5.14 hrs.Function: 'GetOpenFileName'
Function group: 'Common Dialog Box'
 Function: 'FrameRgn'
Function group: 'Region'
5.83 hrs.Function: 'CeFindFirstDatabaseEx'
Function group: 'Remote Application Programming (RAPI)'
 Example: 'How to print picture stored in enhanced-format metafile (*.emf)'
8.07 hrs.Function: 'RollbackTransaction'
 Function: 'TaskDialogIndirect'
9.8 hrs.Example: 'Converting path to original case'
Google
Advertise here!