Results 1 to 3 of 3

Thread: A good question...

  1. #1

    Thread Starter
    Addicted Member WAcKeD's Avatar
    Join Date
    Aug 2000
    Posts
    211

    Question

    How would you go about downloading/calling up an ini off of a web site or IP? Your answers are greatly appreciated (sounds kinda like a commercial)!
    Thankz,
    WAcKeD

  2. #2
    Hyperactive Member
    Join Date
    Aug 2000
    Posts
    258
    Give some more details .
    Visual Basic 6 SP4 on win98se

    QUIT THE RAT RACE BECAUSE YOUR MESSING THE WORLD UP !!!!!

  3. #3
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    You could use the Inet or winsock controls!

    here is an inet example (not a very good one though)
    Code:
    Dim intMyVersion As Integer
    Dim b() As Byte
    Dim intRemoteVer As Integer
    Dim strRemoteVer As String
    Dim cFile As String
    
    
    'Make cFile the URL of where to check for updates
    cFile = "http://www.fortunecity.com/skyscraper/macro/1125/CurVersion.dat"
    
    Screen.MousePointer = 11
    Inet1.RequestTimeout = 5
    b() = Inet1.OpenURL(cFile, 1)
    
    intMyVersion = CInt(App.Major & App.Minor & App.Revision)
    strRemoteVer = ""
    
    Dim t
    For t = 0 To UBound(b)
        strRemoteVer = strRemoteVer + Chr(b(t))
    Next

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