CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 1999
    Location
    MI
    Posts
    1

    VB code print in color

    I am attempting to print source code for one of my VB 6.0 programs in color so that I have the code colors that show on the screen on my hard copy and I am only getting black and white. I have tried to export it to Word and Wordpad but they strip the color off as well. Your help would be greatly appreciated.


  2. #2
    Join Date
    May 1999
    Location
    Oxford UK
    Posts
    1,459

    Re: VB code print in color

    I know it sounds long winded, but you may be able to copy the code into a RTF control and apply some of the code from http://codeguru.developer.com/vb/articles/1703.shtml or http://codeguru.developer.com/vb/articles/1799.shtml to get the syntax highlighted and printed from there. I haven't tried though as I don't have a colour printer.

    Chris Eastwood

    CodeGuru - the website for developers
    http://codeguru.developer.com/vb

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured