Click to See Complete Forum and Search --> : how does aol?
z5x5
Jul 6th, 2001, 12:34 PM
How does aol update their Welcome window???
csammis
Jul 7th, 2001, 03:15 PM
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.
z5x5
Jul 7th, 2001, 07:06 PM
how could i do that on a program that i would make??
Sastraxi
Jul 7th, 2001, 08:04 PM
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.
chenko
Jul 8th, 2001, 07:55 AM
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
csammis
Jul 8th, 2001, 03:14 PM
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
z5x5
Jul 8th, 2001, 08:03 PM
can someone make me a sample of it??? cuase i really don;t understand ??
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.