Posted a little sample at http://pastebin.com/Ju0iMpjJ

It's C#, sorry. Don't have time to create a VB mockup right now. In
any case, I'm a little rusty with the VB syntax for LInQ.

On Mar 27, 1:34 am, MC <[email protected]> wrote:
> Hi,
>
> I'm being a completely hopeless newbie here - can anyone help me.  I
> *have* been trying to google how to do this stuff, but it is mostly
> either ASP.NET (and I don't even know what that is...) or really
> complicated.  I just want to start really really simple - I clearly
> don't understand something basic!
>
> What I have got so far, is below, I have a form with a multiline
> textbox docked in it.
>
> Public Class RSSMonitor
>
>     Dim myFeed As XElement = XElement.Load("https://groups.google.com/
> group/dotnetdevelopment/feed/rss_v2_0_msgs.xml")
>
>     Private Sub RSSMonitor_Load(ByVal sender As System.Object, ByVal e
> As System.EventArgs) Handles MyBase.Load
>         Dim ItemAuthors As String()
>         ItemAuthors = From rssitem In myFeed.<item> Select
> rssitem.<author>.Value
>         TextBox1.Text = String.Join(vbCrLf, ItemAuthors)
>     End Sub
> End Class
>
> This doesn't work - it complains that it can't cast to the string
> array, but if I put the explicit cast in, then it says it can't do
> that either.
>
> All I am trying to do here, is populate the textbox with a list of all
> the authors.  Obviously I'm hopeing to do much more afterwards, but
> I'm falling flat on my face at the first hurdle.
>
> If anyone can point me in the right direction that would be great -
> this is ever so disheartening!

-- 
You received this message because you are subscribed to the Google
Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML
Web Services,.NET Remoting" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en
or visit the group website at http://megasolutions.net

Reply via email to