A couple of takeaways:
1. The fact that the OP's daughter signed up for programming class because she wanted to impress her parent is truly a parenting win. Not just for programming, but anything, at that age.
2. I consider myself pretty open minded about gender diversity...but as I was reading the OP's post, I completely assumed it was written by a programmer-father, until I got to the part where the OP describes being harassed. Still, the mental stereotype was so strong that when writing this comment, I kept having to not refer to the OP as the father of the daughter. The trolling that the OP describes is troubling. But it's easy to be angry at the trolling, and raise awareness about it. Unfortunately, I think women in tech still have the much more difficult task of fighting pervasive, subconscious stereotyping and assumptions in the industry.
edit: 3. The OP treats the use of Visual Basic as an ancillary problem...and it is, compared to what her daughter had to put up. But yeah, VB, seriously? I respect people who do VB -- and do it well, because they have to maintain legacy software at a big company...but if you're a programming teacher, you should have a passion to make your subject as relevant to your students and their contemporary lives when possible...nevermind that using VB, in this day and age, has some considerable barriers to just "dive into" compared to, say, Javascript. It'd be like a physics teacher who didn't make a single reference to CERN, Elon Musk, or physics as it applies to modern athletic competitions.