Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
Another way to go online (it is not about choosing an ISP)
Drawing Windows predefined bitmaps using the LoadBitmap functions
Get the power status of your laptop computer
Power capabilities of the system: battery, UPS, sleep and hibernation modes, processor throttling
Starting external program from VFP and waiting for its termination
Using GetBinaryType (WinNT only) to determine the type of an executable file
Using Path functions from Shell Lightweight Utility APIs (shlapi.dll)
Drawing a rectangle using Windows regular edges and borders
How to Start a Process as Another User (NT/XP/2K)
Reading the state of mouse buttons within DO WHILE loop
Windows Shell Icons displayed and exported to ICO files (Vista)
Adding an ODBC data source with the SQLConfigDataSource; use automatic or interactive mode
Attaching menu to a top-level form
Enumerating printer drivers installed
Extended MessageBox Class
GDI+: Scrolling through large image using the mouse
How to enable the SE_SHUTDOWN_NAME privilege for the application
How to make a VFP form fading out when released (GDI version)
Shortcut Menu Class
Simple Window Viewer
System Image List Viewer
Testing Clipboard functions: emptying the clipboard
Testing serial ports
Hiding mouse cursor
Another way to go online (it is not about choosing an ISP)

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
 
DECLARE INTEGER InternetGoOnline IN wininet;
    STRING  lpszURL, INTEGER hwndParent,;
    INTEGER dwReserved
 
? InternetGoOnline ("http://www.microsoft.com", 0, 0)
 

User rating: 0/10 (0 votes)
Rate this code sample:
  • ~
162 bytes  
Created: 2001-09-08 12:00:00  
Modified: 2001-09-28 16:45:40  
Visits in 7 days: 93  
Listed functions:
InternetGoOnline
Printer friendly API declarations
My comment:
If you are in offline mode, this code prompts you for a permission to go online.

If you are online, it is not necessarily that this code forwards you to the selected URL.
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 (23.22.252.150)
13.88 min.Example: 'Adding a background image to VFP report (VFP9, ReportListener)'
13.98 min.Articles
14.03 min.Function: 'LookupPrivilegeName'
28.48 min.Example: 'How to make a VFP form fading out when released (GDI+ version)'
28.55 min.Example: 'GDI+: reading and writing metadata in JPEG and TIFF files'
28.62 min.Example: 'Enumerating servers of the specified type (e.g. SQL Server) in the primary domain'
1.62 hrs.Function: 'SetBkColor'
Function group: 'Painting and Drawing'
1.73 hrs.Example: 'Creating the Open dialog box to specify the drive, directory, and name of a file to open'
1.74 hrs.Example: 'Starting a dialog box for connecting to network resources (mapping network drive)'
4.67 hrs.Example: 'URL: splitting into its component parts'
Google
Advertise here!