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

  • Home
  • SEARCH
  • 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
  • 0 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

As we all know, in Visual Studio there are two predefined configurations - Debug
I am trying to compile and build a project(s) in visual studio and I
I'm looking for a PHP IDE with an integrated visual designer (*). These are
I have a C++ program I am trying to optimize. Since I want it
I have this situation that is really irritating me now. At random times with
I have an TFS server installation that through time has gone through upgrades from
Question I want to programmatically open a RTF file in Microsoft Word using C#.
I have a licensing database set up for storing my cutomers' records. However, when
I started on a new project a few months ago and am forced to
Along the same lines as to what was described in conversion to ‘size_t’ from

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.