I'm working on a program that will shut my computer off if there is bad weather. I have it setup to get the updates from NWS NOAA. http://www.weather.gov/alerts/wwarssget.php?zone=TXZ148
I need to make it so that I it runs the shutdown.exe when "Flood Warning - Anderson (Texas)" is in the warning title. I can not figure out how to get the story title out of the list box, which I think is my main issue. Private Sub RefreshChannel( )
I started out with http://www.developer.com/net/vb/article.php/3567141
TIA
I need to make it so that I it runs the shutdown.exe when "Flood Warning - Anderson (Texas)" is in the warning title. I can not figure out how to get the story title out of the list box, which I think is my main issue. Private Sub RefreshChannel( )
Code:
If Options.url.Text <> "" Then Dim channel As New RSSChannel(Options.url.Text) lblTitle.Text = channel.Title lblDescription.Text = channel.Description linkChannel.Text = channel.Link linkChannel.Links(0).Start = 0 linkChannel.Links(0).Length = channel.Link.Length linkChannel.Links(0).LinkData = channel.Link feedItems = channel.GetChannelItems() lbItems.DisplayMember = "Title" lbItems.ValueMember = "Title" lbItems.DataSource = feedItems End If End Sub
TIA