Results 1 to 7 of 7

Thread: how does aol?

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2001
    Posts
    8

    Question how does aol?

    How does aol update their Welcome window???

  2. #2
    Addicted Member csammis's Avatar
    Join Date
    Mar 2001
    Location
    /dev/null
    Posts
    226
    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.
    Things I've Said:
    "Life's funny like that...elephants can wear frilly lace panties, and Dubya still looks like a monkey in a big chair"
    "Take four goats and strap one to each foot of a llama. Presto, goat-powered llama!"
    "You want to get me to work more, get me a Coke. No? Then deal with inferior garbage, I'm not coding another line and your clients can go to......thanks, I'd love a Coke right about now!"

  3. #3

    Thread Starter
    New Member
    Join Date
    Jul 2001
    Posts
    8
    how could i do that on a program that i would make??

  4. #4
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    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.
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  5. #5
    chenko
    Guest
    VB Code:
    1. Declare Function GetTempPath Lib "kernel32" Alias "GetTempPathA" (ByVal nBufferLength As Long, ByVal lpBuffer As String) As Long
    2.  
    3. Public Function GetTmpPath()
    4.  
    5. Dim strFolder As String
    6. Dim lngResult As Long
    7.  
    8. strFolder = String(260, 0)
    9. lngResult = GetTempPath(MAX_PATH, strFolder)
    10. If lngResult <> 0 Then
    11.     GetTmpPath = Left(strFolder, InStr(strFolder, Chr(0)) - 1)
    12. Else
    13.     GetTmpPath = ""
    14. End If
    15.  
    16. End Function
    17.  
    18. Msgbox GetTmpPath

  6. #6
    Addicted Member csammis's Avatar
    Join Date
    Mar 2001
    Location
    /dev/null
    Posts
    226
    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
    Things I've Said:
    "Life's funny like that...elephants can wear frilly lace panties, and Dubya still looks like a monkey in a big chair"
    "Take four goats and strap one to each foot of a llama. Presto, goat-powered llama!"
    "You want to get me to work more, get me a Coke. No? Then deal with inferior garbage, I'm not coding another line and your clients can go to......thanks, I'd love a Coke right about now!"

  7. #7

    Thread Starter
    New Member
    Join Date
    Jul 2001
    Posts
    8
    can someone make me a sample of it??? cuase i really don;t understand ??

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width