>To run an EXE, use the ShellExecute Win32API function.
>
>To execute DLL functions, there's no need to use Win32 API functions. Just take a look to the DECLARE - DLL command in the VFP's Help.
>
>Vlad
>
>>Using RUN or ! on command can run the shell command.
>>But of cos, so poor if you want to open WinZip32 but a Dos Prompt
>>comes out first!! ~_~"
>>2nd, if possible to call DLL functions?!
>>In case you know what function the DLL provides...
>>Such as other VB self make DLL!
>>
>>Of cos, if success, then find out how to use systray or some other
>>window provided utilties... ^_^;
I am trying to use the WININET.DLL functions to autodial to the internet using the following code below...
DECLARE INTEGER InternetGetConnectedState IN c:\windows\system\wininet.dll
clear
? InternetGetConnectedState()
But I get a "Unable to find entrypoint" error. Any suggestions?