When I copy vb code from a post to try locally, pasting the code always results in the removal of blank lines. It doesn't matter if I paste into Visual Studio or TextPad. Blank lines are never maintained. If I paste into VB, indentation is recreated based on the code structure, however, pasting into TextPad results in all code being left aligned and indented by four spaces no matter what the code structure or the indentation on the originally posted code.
Reverend Jim 5,179 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Reverend Jim 5,179 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.