Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6372585
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T01:15:28+00:00 2026-05-25T01:15:28+00:00

There is an option in Visual Studio (since as far back as I can

  • 0

There is an option in Visual Studio (since as far back as I can remember) that allows you to see “Whitespace” in your code. This is often seen in file differential viewers as well.

I’m wondering if anyone knows how this can be accomplished in VB.net (or any other way) so that i could use a similar type of display option in my software.

I have not yet tried to do this but my only first thoughts would be to override the “paint” of the textbox to actually add the little tab “arrows” and space “dots” manually via GDI, or create a texbox control from scratch. Seems to me there could be an easier way to do this.

Any suggestions or solutions are welcome.

  • 1 1 Answer
  • 3 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T01:15:29+00:00Added an answer on May 25, 2026 at 1:15 am

    Search for the vbTab constant in the entirety of the document and replace them with a small arrow (→)(drawn with grey or whatev. you want)

    Do the same for the space char but replace it with a grey dot (·)
    if you want to change it back, replace · with spaces and replace the arrows (→) with tabs

    after this is done set a boolean (useSymbol) to true and use this boolean in the keydown event of the textbox to check whether you should print regular spaces/tabs or ·/→

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In Visual Studio 2008 there is an option Optimize Code that probably corresponds to
I there any option to restart in the visual studio when my product install?
There is this option available in Visual Studio 2008. Is there a similar option
There is a well-known problem when unit testing managed C++ code in Visual Studio:
When debugging an application in Visual Studio, there are 2 options for breaking on
Is there any way to change Visual Studio Auto formatting options? Like VS by
is there an option how to disable that #if, #endif and other directives are
Is there an option to enable the drop down menu that appears when coding
My question is: since Visual Studio 2010 was only just released, why does it
I have a Visual Studio C++ based program that uses pre-compiled headers ( stdafx.h

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.