Traditional Culture Encyclopedia - Weather inquiry - How does vb intercept weather forecast messages?
How does vb intercept weather forecast messages?
I have been debugging for a long time! Ha ha! All the information you gave is saved in the C:\tm.txt file!
Private subcommand 2_Click ()
Mark tmp as a string
Open "C:\tm.txt" as # 1 input.
Do While Not EOF( 1)
Line input # 1, tmp
Tmp = fine tuning (tmp)
tmp 1 = " "
Borrow while doing (tmp)
tmp 1 = tmp 1Left(tmp,InStr(tmp," & lt) - 1)
tmp = Right(tmp,Len(tmp) - InStr(tmp," >))
ring
if Trim(tmp 1)& lt; & gt ""and then print tmp 1
ring
Close 1
End joint
- Previous article:Apple mobile phone weather, the sun shows white.
- Next article:Funny homophonic joke
- Related articles
- The weather temperature in Nanjing in March
- The cumulative grain import is 322.66 billion yuan, and the center of gravity of international grain and oil prices is expected to move down.
- April Fool’s Day jokes
- What's the weather forecast in Lijin?
- My hometown Yancheng writes a composition.
- How to describe winter
- Go to Urumqi next week, weather forecast-17. What should I wear? Do I have to have a long down jacket? How about shorts, fleece jeans and motorcycle knee pads?
- What lights are there in foggy weather?
- When are the red leaves of Changshou Mountain in Gongyi bamboo forest red?
- Where is the altitude of Xiaomi mobile phone?