Put a static control on your window/dialog, and associate a CStatic member variable with it using ClassWizard. Use SetTimer() to create a timer event every 300000ms (five minutes). In the event handler for the timer, call LoadImage() to load the .bmp file from disk. Using the returned handle, then call CStatic::SetBitmap() to associate the new bitmap with the static control. Make sense?
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"There is no death, only a change of worlds." - Native American Proverb
i had made the class in VC++.NET which contain the API's now i want to use
this class in the C#.NET how to do that whether make the cllas library(DLL) of that class and
then use of simple only use the class.
i had not used those api's in the C# bcos it is difficult to get the help of
I don't know the MFC sample TEAR but as my experience shows these examples seldom use ssl connections. If you want to setup a https (ssl) connection take a look at openssl http://www.openssl.org/.
A simple connection through a proxy (non-authenticating) is quite easy. First setup a simple connection to the proxy (you need a ssl connection if the proxy is https protected, too) and send a http request as explained in the codeproject article HTTP Tunneling (HTTP Proxy Socket Client).