Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27159

Picturebox.Load()

$
0
0
Just a quick question.

When I read an xml file and want to do this...

' Setup the URL
Dim strUrl As String = _
"http://www.weather.gov/xml/current_obs/" & strStationID & ".xml"
' Create our XML interface object and download the weather
Dim doc = XDocument.Load(strUrl)
' Extract each field
With doc.Descendants
picConditions.Load(.Elements("icon_url_base" & "icon_url_name").Value)' This is the concatenate

Do I need to add the fields to a string first, then concatenate the two strings or how do i phrase the line above to work?

Viewing all articles
Browse latest Browse all 27159

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>