|
-
Oct 12th, 2003, 11:05 AM
#1
Thread Starter
New Member
Print all source code at one time
First all of you must excause me, because I am sure this is a simple question that also has a simple answer.
How do I print all source code in a project at one time in Visual basic .Net/Visual Studio .Net?
I just managed to print one class/module/form at the time, but when I have 30 of these to print I would like a much easier way to print them all at the same time.
VB6 could do that, and there was also a function you could choose that allowed you to print specifikations/properties for a form and the controls on it. I am looking for something similiar in VB.Net!
I hope that there is someone out there who can help me with this.
/Anders
-
Oct 12th, 2003, 08:59 PM
#2
Lively Member
As far as i know.... it is not possible in VS.Net. You have do it one by one.
-
Oct 12th, 2003, 10:36 PM
#3
Frenzied Member
http://www.starprint2000.com/vsnetco..._features.html
Maybe it helps.
Ofcourse I think you may be able to print all source code using a macro.
'Heading for the automatic overload'
Marillion, Brave, The Great Escape, 1994
'How will WE stand the FIRE TOMORROW?'
Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979
-
Oct 12th, 2003, 10:48 PM
#4
Frenzied Member
In fact there is a sample macro in VS.NET 2003, called DevStudio6Editor and there is a sub in that called PrintAllOpenDocuments with the following code.
VB Code:
Sub PrintAllOpenDocuments()
'Description: Prints all open, active documents
Dim doc As Document
For Each doc In DTE.Documents()
doc.PrintOut()
Next
End Sub
You may use that.
'Heading for the automatic overload'
Marillion, Brave, The Great Escape, 1994
'How will WE stand the FIRE TOMORROW?'
Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|