|
-
Jun 21st, 2007, 07:50 AM
#1
Thread Starter
New Member
.OCX Challenge
Hi there,
I have a BIG question to you guys.
I want to make a programma that will show in a label information that has been get from the internet.
------------------------------------------------------
The thing is called METAR (thats just the name) and it provides a weather info from airports to a pilot.
I searched the net and i found that I need the msinet.ocx file with the relating code :
Let MyMETAR = Inet1.OpenURL("http://weather.noaa.gov/pub/data/observations/metar/stations/" & UCase(station) & ".TXT")
Let lblMETAR.Caption = MyMETAR
This is where the info shall be get from :
http://weather.noaa.gov/pub/data/obs...tions/XXXX.TXT
the XXXX at the end is the option that should be select in a combobox
ex.
Case is EBBR
then
http://weather.noaa.gov/pub/data/obs...tions/EBBR.TXT
where 'station' is the airport code (selected in a combobox ) and Inet1 is the name of the inet object of the form...
------------------------------------------------------
Now I have an experience with OOP but not that much and i'm using VB.net 2005
Does someone please can help me to show that info in a label when it has been selected in a combobox
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
|