Hello Matt,
Thanks for the detailed response.
Firstly, I want to mention that there is no such encryption function in IDE
to make such behaviors. The problem that you met should be specific to your
machine. Based on my experiece, it may be caused by some corrupted system
files.
Did you meet it just after you installed vs.net? or after using it for some
time, and it suddently happened? If you use other editors such as notepad
to print document, do you meet this problem?
If the printing problem only happens in vs.net IDE, my suggestion for you
now is to reinstall PowerToys first to see if the problem is still there.
If so, please go ahead and repair vs.net in control panel->add/remove
programs.
Hope that helps.
Best regards,
Yanhong Huang
Microsoft Online Partner Support
Get Secure! -
www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
!Content-Class: urn:content-classes:message
!From: "Matt Brook" <
[email protected]>
!Sender: "Matt Brook" <
[email protected]>
!References: <
[email protected]>
<
[email protected]>
!Subject: RE: Help in printing from IDE
!Date: Fri, 19 Sep 2003 08:51:44 -0700
!Lines: 75
!Message-ID: <
[email protected]>
!MIME-Version: 1.0
!Content-Type: text/plain;
! charset="iso-8859-1"
!Content-Transfer-Encoding: 7bit
!X-Newsreader: Microsoft CDO for Windows 2000
!Thread-Index: AcN+xeyftpwcu7skTJqOV1UXRJ80dA==
!X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
!Newsgroups: microsoft.public.dotnet.framework
!Path: cpmsftngxa06.phx.gbl
!Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework:54219
!NNTP-Posting-Host: TK2MSFTNGXA08 10.40.1.160
!X-Tomcat-NG: microsoft.public.dotnet.framework
!
!Yan-Hong,
!
!Here are my answers to the questions:
!>Now when you print some strings from IDE, they appear as
!>corrupted chars in the printed page.
!
!Let me clarify this with some more detail.
!
!I just created a new class and here are the contents:
!
!' This is a test class for demonstration
!
!Public Class Class1
!
! Public Sub SayHello()
! MsgBox("Hello", , "This is a test")
! End Sub
!
!End Class
!
!
!This is how it printed out:
!
!X:\...Class1.vb
! 1
!----------------------------------------------------------
!---------------------------------------------------
!1 ' 7KLV LV D WHVM FODVV IRU GHPRQVWUDWLRQ
!2
!3 3XEOLF &ODVV &ODVV1
!4
!5 3XEOLF 6XE 6D\+HOOR()
!6 OVJ%R[("+HOOR", , "7KLV LV D
!WHVW")
!7 (QG 6XE
!8
!9 (QG &ODVV
!10
!
!This is very strange and it happens with every class file
!that I print, even my app.config file comes out this way.
!
!
!>1) Do you meet this problem when printing to other
!printers?
!
!Yes. Any printer that I print to, this hapens.
!
!
!>2) Do you meet it when printing other codes in IDE?
!
!Yes. Any file that I print this happens.
!
!
!>3) Is there any VS.NET Add-in installed in your system?
!
!Microsoft.ApplicationBlocks.DataAccess
!Microsoft.ApplicationBlocks.ExceptionManagement
!PowerToys for VS.NET 2003:
! CustomHelpBuilder
! VBCommenter
! VSTweak
!
!
!>4) If you print the same file from VS.NET in another
!machine, do you meet
!>the problem?
!
!I am the only programmer at my site. There are
!programmers at a another site using VS.NET and they do
!not have this problem.
!
!
!Thank you for your help,
!Matt Brook
!