Meed Help with: .GetAttribute() & .SetAttribute()

vmars316 621 Reputation points
2020-08-28T16:23:37.723+00:00

Hello & Thanks ;
I have been working on this since Aug 17th , still no avail .

Code1 below (sub) only changes 1 Link .
Below that is the full pgm Code2 .
How can I get program , to Loop thru all 63 links .
Thanks for your Help..

I have been having trouble Posting .
When I click [ SUBMIT ] up pops a page saying ,
"ACCESS DENIED"
so I will Reply to this post With the CODE portion of this Post .

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,821 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. vmars316 621 Reputation points
    2020-08-28T16:40:42.197+00:00

    Still can't Post with code ,
    so I'll try this :

    http://vmars.us/VB-Net-Forums/GetElementsByTagname.txt.html

    0 comments No comments

  2. Daniel Zhang-MSFT 9,611 Reputation points
    2020-08-31T08:42:15.22+00:00

    Hi Vernon Marsden,
    >>How can I get program , to Loop thru all 63 links
    Based on your code, you can use HtmlDocument.GetElementsByTagName() method to retrieve a collection of "link elements" in first.
    Then you can use foreach to traverse all "link elements".
    Here is a simple code example you can refer to.21531-code-example.txt
    Best Regards,
    Daniel Zhang

    0 comments No comments