This is a silly place to ask this but I seem to get help with whatever language I choose in these forums so I will give it a try.
I am looking for a quick snippet writtin in Visual Basic 6.0 that returns the string which is in between the <title> tag. For example if my form had something like <title>My Form</title> the program would result with "My Form".
Any help appreciated.
Regards
Joe
*EDIT BY Joe* I think the code would be better using timers as loops seem to be unreliable with large amounts of code.
Yes, ignore the "VB is bad comments," I understand the argument, but it's still great for rapid development in my opinion. You would have to load the source into VB with a Inet Control. Then Instr() it for everything between <Title> and </Title>.
that would only work, if and only if <title>whatever</title> as the only thing in the source, and even then if it was something else it would be wrong. instead try this: