Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
Uploading file to the FTP server using InternetWriteFile
Using the CreateFile
Accessing examples contained in this reference through Web Services
Listing INF files in a specified directory
Obtaining a handle to the desktop associated with the calling thread
Retrieving System Error message strings
Using Beep and Sleep functions to make the old tin buzz sing (WinNT only?)
GDI+: Using Scale and Shear transformations
How to empty the Recycle Bin
How to intercept window messages sent to VFP form
Retrieving list of Global Atom names
Converting path to original case
Enumerating files opened on the network
GDI+: cropping images
System Image List Viewer
Validating the heap of the calling process
Accessing examples contained in this reference from a VFP application
CryptoAPI: retrieving list of providers
How to hot-track menu item selection in top-level form (requires VFP9)
Number of clipboard formats available
Retrieving the state of your Internet connection
Using FrameRgn for displaying system colors
Using GetSysColor
Deleting a file stored on the FTP server
Using InternetGoOnline function

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 SHORT InternetGoOnline IN wininet.dll;
        STRING  lpszURL,;
        INTEGER hwndParent,;
        INTEGER dwReserved
 
    DECLARE INTEGER GetActiveWindow IN user32
 
    hwnd = GetActiveWindow()
    lcUrl = "http://fox.wikis.com/wc.dll?Wiki~WinInet~WIN_COM_DNA"
 
    ? InternetGoOnline (lcUrl, hwnd, 0)
 
 

User rating: 0/10 (0 votes)
Rate this code sample:
  • ~
306 bytes  
Created: 2001-07-25 12:00:00  
Modified: 2001-09-28 16:45:21  
Visits in 7 days: 102  
Listed functions:
GetActiveWindow
InternetGoOnline
Printer friendly API declarations
My comment:
On my computer (cable Inet) this function always returns 1 as a response and nothing happens -- no dialog or message boxes appear.

Probably with a dial-up access it would behave something different. Anyone who will try, please let me know.
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 (23.22.212.158)
4.74 hrs.Function: 'PeekMessage'
4.75 hrs.Example: 'How to Start a Process as Another User (NT/XP/2K)'
8.2 hrs.Example: 'Obtaining names and positions for shortcuts located on the Windows Desktop'
9.25 hrs.Example: 'Using Font and Text functions'
 Function: 'PathBuildRoot'
Function group: 'Shell Lightweight Utility APIs -- Path Functions'
10.34 hrs.Function: 'DeleteFileTransacted'
 Function: 'GetDefaultPrinter'
21.45 hrs.Function: 'SetMonitorBrightness'
Function group: 'Monitor Configuration (Vista)'
 Example: 'Using the Semaphore object to allow only one instance of VFP application running'
2 day(s)Example: 'Extensible Storage Engine class library'
Google
Advertise here!