How does aol update their Welcome window???
Printable View
How does aol update their Welcome window???
Something that also sounds feasible is that on the "Welcome" form there are just blank images and labels that get updated on the AOL servers when they need to be, and get retrieved via code and inserted into the welcome window when you log on...you'll notice that all the images/text are always in the same place, no matter what they display.
how could i do that on a program that i would make??
Use the winsock control or inet control to d/l the images and text into .txt and .bmp files and put them in a temp dir. (There is an API to get a path for a temp file in windows\temp), then you could point VB to them.
VB Code:
Declare Function GetTempPath Lib "kernel32" Alias "GetTempPathA" (ByVal nBufferLength As Long, ByVal lpBuffer As String) As Long Public Function GetTmpPath() Dim strFolder As String Dim lngResult As Long strFolder = String(260, 0) lngResult = GetTempPath(MAX_PATH, strFolder) If lngResult <> 0 Then GetTmpPath = Left(strFolder, InStr(strFolder, Chr(0)) - 1) Else GetTmpPath = "" End If End Function Msgbox GetTmpPath
The idea is in your code, you'd retrieve "http://your.server.somewhere.com/img22.jpg", and put it a blank image on your form. Then, when you want to change the image รก la AOL, just put the new image on your server and name it "img22.jpg"...your code always retrieves img22, but the image changes
can someone make me a sample of it??? cuase i really don;t understand ??