|
-
Jun 21st, 2007, 08:01 AM
#1
Thread Starter
New Member
Re: .OCX Challenge
Oke it works but I have a lot of ICAO codes that can be selected in the combox. Thats why I tried this :
Dim strICAOcode As String
strICAOcode = cboMETAR.SelectedItem
Using wc As New Net.WebClient
lblMETAR.Text = wc.DownloadString("http://weather.noaa.gov/pub/data/observations/metar/stations/" & strICAOcode & ".TXT")
End Using
Now that doesn't work,the URL is wrong, is there another way to do something like this or do i need to put al the diffirent cbo options in a case ?
greets
Last edited by Commadore4eva; Jun 21st, 2007 at 08:43 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|