navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

Line number of code - finding it..

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> Line number of code - finding it..
Page: [1]
 
wattle

 

Posts: 254
Joined: 3/31/2003
From: Australia
Status: offline

 
Line number of code - finding it.. - 5/28/2003 21:32:10   
Over the last couple of weeks I' ve been playing with ASP. Because I' m still clueless I get some error messages on pages I have hand coded. The errors do give the line number which is very helpful. My question is how can I find that line number quickly to fix the code? At the moment I am looking at the page with errors in Dreamweaver > HTML source and selecting ' Line Numbers' to find the line the error is on. I then go to Notepad to fix up my mistakes.

Apologies again for the very silly questions I ask - am not a web developer - just got the job because I happen to do most of software training :)

Wattle
Richard Dudley

 

Posts: 668
Joined: 8/22/2002
From: Butler, PA
Status: offline

 
RE: Line number of code - finding it.. - 5/28/2003 22:25:19   
FrontPage has the lines numbered, but it is the raw source code, and may not correspond to the line number returned in IE when you generate an error (usually dpeends on whether error is server side or client side).

I don' t know how DreamWeaver works, but a nice light little tool that numbers lines is VBSEditor. You' ll find it at http://www.koansoftware.com/Eng/script.htm.

_____________________________

I need to change my avatar--the puppy is full grown now!

(in reply to wattle)
Mojo

 

Posts: 2441
From: Chicago
Status: offline

 
RE: Line number of code - finding it.. - 5/29/2003 0:05:52   
In DW --> view > Code View Options > check LINE NUMBERS

_____________________________

Split Testing
Order Fulfillment
Emergency Kits

(in reply to wattle)
wattle

 

Posts: 254
Joined: 3/31/2003
From: Australia
Status: offline

 
RE: Line number of code - finding it.. - 5/29/2003 0:19:51   
quote:

I don' t know how DreamWeaver works, but a nice light little tool that numbers lines is VBSEditor. You' ll find it at http://www.koansoftware.com/Eng/script.htm.


Richard, thank you! This is just the type of thing I was looking for - wonderful!

Is it possible to open an asp page somewhere in Visual Studio and see the line numbers? I do not want to do that now as VBSEditor will do the trick but was trying to find a way yesterday and am just curious.

Oh - and I can not find how to see the line numbers in FrontPage :) Any tips?

Thank you once again.

Wattle

(in reply to wattle)
wattle

 

Posts: 254
Joined: 3/31/2003
From: Australia
Status: offline

 
RE: Line number of code - finding it.. - 5/29/2003 0:21:50   
quote:

In DW


Mojojo, what does DW stand for?

Hanging my head in shame for asking something that is probably totally obvious .......

(in reply to wattle)
abbeyvet

 

Posts: 5095
From: Kilkenny Ireland
Status: offline

 
RE: Line number of code - finding it.. - 5/29/2003 6:11:32   
DW= DreamWeaver

To go to line numbers in FP, go to HTML view, right click, click Go to.."

Enter the line number you want to go to.



_____________________________

Katherine

:: InKK Design :: InKK Domains

(in reply to wattle)
Doug G

 

Posts: 1189
Joined: 12/29/2001
From: SoCal
Status: offline

 
RE: Line number of code - finding it.. - 5/29/2003 15:17:11   
Win2000 and XP notepad has a go to menu (or use ctrl-G). Just make sure word wrap is off.

Open asp file in notepad, ctrl-G, enter failing line number and you are there.

Another good, free editor is Araneae

http://www.araneae.com/


_____________________________

======
Doug G
======

(in reply to wattle)
Ziggyzaz

 

Posts: 250
Joined: 5/29/2003
Status: offline

 
RE: Line number of code - finding it.. - 5/29/2003 18:49:53   
if you want a line of code just hilight what it is exposed to bring up and then click the HTML button and FP will bring you there.

(in reply to wattle)
wattle

 

Posts: 254
Joined: 3/31/2003
From: Australia
Status: offline

 
RE: Line number of code - finding it.. - 5/29/2003 20:13:22   
Thanks everyone, what a great resource this forum is :)

Katherine, DW - I can' t beleive I did not get this, am acronym challenged :) I found the line number in Frontpage - ta!

Doug, am using Windows 98 / Office 2000. Araneae looks great, looking forward to playing around with it.

Wattle

(in reply to wattle)
Richard Dudley

 

Posts: 668
Joined: 8/22/2002
From: Butler, PA
Status: offline

 
RE: Line number of code - finding it.. - 5/29/2003 22:01:30   
It takes a bit to find line numbers in InterDev, but they' re tucked away in the lower right corner of my environment (InterDev 6.0 right now). I think that' s standard, since I use INterDev so little and I have not modified the environment.

_____________________________

I need to change my avatar--the puppy is full grown now!

(in reply to wattle)
Doug G

 

Posts: 1189
Joined: 12/29/2001
From: SoCal
Status: offline

 
RE: Line number of code - finding it.. - 5/30/2003 1:18:27   
quote:

It takes a bit to find line numbers in InterDev, but they' re tucked away in the lower right corner of my environment (InterDev 6.0 right now). I think that' s standard, since I use INterDev so little and I have not modified the environment.

Yes this is the default for VID6. You can ctrl-G to go to lines in InterDev also.


_____________________________

======
Doug G
======

(in reply to wattle)
wattle

 

Posts: 254
Joined: 3/31/2003
From: Australia
Status: offline

 
RE: Line number of code - finding it.. - 5/30/2003 2:14:04   
Goodness, it is fairly obvious in InterDev, didn' t notice it when I was in there. Did not think to look down the bottom right, had tunnel vision about seeing the numbering on the page down the left [:j]

Thanks again

Wattle

< Message edited by wattle -- 5/30/2003 2:14 AM >

(in reply to wattle)
Doug G

 

Posts: 1189
Joined: 12/29/2001
From: SoCal
Status: offline

 
RE: Line number of code - finding it.. - 5/31/2003 0:06:05   
quote:

Goodness, it is fairly obvious in InterDev, didn' t notice it when I was in there. Did not think to look down the bottom right, had tunnel vision about seeing the numbering on the page down the left

Don' t feel bad. I used interDev 6 for maybe a year before I realized where line numbers were displayed. I never seemed to need line numbers very often :)


_____________________________

======
Doug G
======

(in reply to wattle)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> Line number of code - finding it..
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts