Groups | Blog | Home
all groups > dotnet academic > october 2005 >

dotnet academic : Printing the properties for forms in .Net


teacher Jackie
10/12/2005 9:03:03 AM
I'm teaching a hs programming class with .net. It would help tremendously if
the students could print the properties for the forms. This way, I could
check their work without having to load each project/form and scroll through
the properties list. VB 6.0 used to print the properties. Can I do it in
Richard T. Edwards
10/12/2005 5:02:48 PM
I would think the easiest way to do this is to create your own small vb
program that enumerates through the objects and provides you with the
information you're looking for.

For example, instead of looking for this:

Begin VB.CommandButton Command1
Caption = "Button1"
Height = 495
Left = 6360
TabIndex = 0
Top = 120
Width = 1455
End

Your new program would be looking for this:

'Button1
'
Me.Button1.Location = New System.Drawing.Point(100, 166)
Me.Button1.Name = "Button1"
Me.Button1.Size = New System.Drawing.Size(95, 25)
Me.Button1.TabIndex = 0
Me.Button1.Text = "Button1"



[quoted text, click to view]

Peter van der Goes
10/13/2005 8:44:44 AM

[quoted text, click to view]

I'm going to recommend that you get used to using the IDE to evaluate your
students' work. If they're not yet writing code at this point, they soon
will be, correct? Are you going to evaluate their code from a printout, or
are you going to compile and run the projects?
Consider evaluating the design time property settings based on what you see
when the interface appears in run mode. That could at least reduce the time
you spend in the Properties window.

--
All opinions are mine alone!
*****************************************
* Peter van der Goes, Prof. CIT
* Rose State College
* pvan@rose.edu
* www.rose.edu/faculty/pvan/index.htm
*****************************************

AddThis Social Bookmark Button