S
Stanislav Vlasic
Hi.
I'm developing application for compact framework (windows mobile 2003) in
C# and have one problem.
From application, I'm connecting to FTP server and downloading some files.
The problem is that I can connect to ftp only when internet connection is
already established on device. If there is no connection to the internet
(GPRS connection in my case), application raises exception.
I managed to find out if there is active internet connection or not with
InternetCheckConnection function from wininet.dll, but now having trouble
trying to programmicaly establish default internet connection.
Any suggestions?
Thanx.
I'm developing application for compact framework (windows mobile 2003) in
C# and have one problem.
From application, I'm connecting to FTP server and downloading some files.
The problem is that I can connect to ftp only when internet connection is
already established on device. If there is no connection to the internet
(GPRS connection in my case), application raises exception.
I managed to find out if there is active internet connection or not with
InternetCheckConnection function from wininet.dll, but now having trouble
trying to programmicaly establish default internet connection.
Any suggestions?
Thanx.