473,386 Members | 1,873 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Printing Source Code Does Not Work in VB.NET

have not been successful in printing the source code for a vb.net
form. When I print it I get something like this:-

E:\VBdotNet\ADOdotNET\Form1.vb [ this is from the page heading]

,PSRUWV6\VWH 'DWD 2OH'E
3XEOLF &ODVV)RU
,QKHULWV6\VWH :LQGRZV )RUPV )RUP
:LQGRZ)RUP'HVLJQHUJHQHUDWHGFRGH
3ULYDWH 6XE%XWWR B&OLFN %\9DOVHQGH $V6\VWH 2EMHFW %\9DO $V6\VWH
(YHQW$UJV +DQGOHV%XWWR &OLFN
(QG 6XE

The original code was

Imports System.Data.OleDb
Public Class Form1
Inherits System.Windows.Forms.Form
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles Button1.Click
End Sub
====
It seems that the ( maps to E
Q maps to N
G maps to N
6 maps to S
X maps to U
E maps to B

which seems to be consistent throughout.

What setting needs to be changed for the print (from the File/Print)
to work?

regards
Nov 21 '05 #1
3 2018
* us*******@wayaheadeducation.com (Ernie) scripsit:
have not been successful in printing the source code for a vb.net
form. When I print it I get something like this:-

E:\VBdotNet\ADOdotNET\Form1.vb [ this is from the page heading]

,PSRUWV6\VWH 'DWD 2OH'E
3XEOLF &ODVV)RU
,QKHULWV6\VWH :LQGRZV )RUPV )RUP
:LQGRZ)RUP'HVLJQHUJHQHUDWHGFRGH
3ULYDWH 6XE%XWWR B&OLFN %\9DOVHQGH $V6\VWH 2EMHFW %\9DO $V6\VWH
(YHQW$UJV +DQGOHV%XWWR &OLFN
(QG 6XE


What printer are you using?

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 21 '05 #2
The problem occurs on both an HP1100 laser jet & also Acrobat 5.0 PDF
Writer. I've also written the file to disk and the data on the disk is
the same as the HP1100 & PDF Writer

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 21 '05 #3
Ernie,
This is probably due to old version of printer drivers. My Lexmark
printer did the same thing when I first started but upgrading to a version
that understood Unicode made everything work just fine.

Ron Allen
"Ernie" <us*******@wayaheadeducation.com> wrote in message
news:8d**************************@posting.google.c om...
have not been successful in printing the source code for a vb.net
form. When I print it I get something like this:-

E:\VBdotNet\ADOdotNET\Form1.vb [ this is from the page heading]

,PSRUWV6\VWH 'DWD 2OH'E
3XEOLF &ODVV)RU
,QKHULWV6\VWH :LQGRZV )RUPV )RUP
:LQGRZ)RUP'HVLJQHUJHQHUDWHGFRGH
3ULYDWH 6XE%XWWR B&OLFN %\9DOVHQGH $V6\VWH 2EMHFW %\9DO $V6\VWH
(YHQW$UJV +DQGOHV%XWWR &OLFN
(QG 6XE

The original code was

Imports System.Data.OleDb
Public Class Form1
Inherits System.Windows.Forms.Form
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles Button1.Click
End Sub
====
It seems that the ( maps to E
Q maps to N
G maps to N
6 maps to S
X maps to U
E maps to B

which seems to be consistent throughout.

What setting needs to be changed for the print (from the File/Print)
to work?

regards

Nov 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Bernie | last post by:
How does one print an applications' source code. Once I have finished writing my application I like to keep a hard copy. In VB6 one had the capability to print the current module or the project...
13
by: Mike | last post by:
Apparently there is now a way to hide html source code. How it done? For example see: See http://www.eteamz.com/banksblaze/
0
by: chronicle | last post by:
In Visual Studio 6 I could print an entire project's source code at once. I've searched for macros, add-ins, registry settings, everything, and I can't figure out how to get this functionality in...
1
by: Alan Fleet | last post by:
I am new to VS.NET 2003 Pro, and am looking at the sample VB.NET projects. I want to print the source code to my Brother HL-1230 laser printer. However, all I get is a page with the title at the...
4
by: Tom Leylan | last post by:
Are we past the point when we need to print source code? I'm having two problems. The most important one is that opening a .vb file and simply printing it _does_ print the source but code...
0
by: HGJ | last post by:
I am trying to develop a Document Management. I don’t like to reinvent the wheel. Can some guide me to find some source code to work from. Please help me Thanks Harry
5
by: Josh | last post by:
hi frns i m a new member of the group. just wanted to ask a question what tools or methods do we have to secure the source code of php after the application is ready. or else anyone could...
0
by: rachna | last post by:
Hello all, I have just started taking a course on .net. I am doing my first assignment and need help in creating an executable and printing the source code. And also how do I get to change the...
6
by: cyberhacker665 | last post by:
I stumbled upon a c++ source code of a programm and it needs to be compiled by me. I am under win32 and i download the Dev-C++ compiler from sourceforge. Tne source code i want to compile is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.