PDA

View Full Version : view source



hdrawoh
12-04-2001, 03:46 AM
Hello everyone. Well I hate to always only use this place when I need help. Don't want to seem ungrateful and all you know...But well...

I'm not sure when it happened (I recently installed Note Tab Lite), but my 'view source' tab on the IE drop down menu fails to 'view source' of web pages. Explorer opens and at first I thought I should just search for the editor in which to view the source. So I clicked on Note Tab. This only opened the program. I can 'edit with' but would like to have it right. It can't very well be a file association since IE still has to open html files. If this is a registry question I can ask in there.

Thanx in advance and for past help


novice

Mosaic1
12-04-2001, 04:25 AM
The first thing to try is emptying your Temporary Internet Files if view source is not available.

TonyKlein
12-04-2001, 12:10 PM
And if that doesn't solve it (and it most often does), here a two MS articles:

<a target="_blank" href=http://support.microsoft.com/support/kb/articles/q154/1/68.asp>Cannot View Source in Internet Explorer</a>

<a target="_blank" href=http://support.microsoft.com/directory/article.asp?ID=KB;EN-US;q203592>Cannot View Source Code for Web Pages</a>

Good luck, Tony

hdrawoh
12-04-2001, 02:32 PM
Sorry I forgot to mention I use windows Me and IE6. Unfortuanately deleting (deleting folder contents manually) temporary internet files did not help. Notepad is installed. I have no trouble using it. Curious though, why would deleting those files restore notepad as source editor?

Thanx

novice

TonyKlein
12-04-2001, 02:47 PM
It often is the cause. Don't ask me why exactly.
We had the same thing happening at another board a couple of days ago, incidentally: <a target="_blank" href=http://forums.techguy.org/showthread.php?s=&threadid=60351&highlight=view+source>http://forums.techguy.org/showthread.php?s=&threadid=60351&highlight=view+source</a>

There's something else that can cause this, though:

Go to Start/Run/Regedit/View/Find, and search your registry for the DWORD noviewsource. If that exists, delete it or set it to 0.

Good luck, Tony

Mosaic1
12-04-2001, 05:17 PM
I helped someone out a few months ago. He was a web designer and view source was unavailable. Emptying TIF did it.
If you find that restriction, that would explain things.
There is a reg hack to change the source editor. Notepad it the default. But if you want to change it manually to another program, here's how it's done:

Open the registry and navigate to HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer
Create a new Key. Name it View Source Editor
Under that, create another new key. Name that Editor name

Highlight Editor Name and click on its Default in the right pane. Choose Modify. Set that to the path of the program you want to use an the source editor.
For Example mine reads
D:\JGsoft\EditPadLite\EditPad.exe

The registry hack will override the Folder Options choice for the editor when you view in IE. However, on a htm document context menu, the edit choice will bring up the Folder Options program. And there will be another menu entry with the name of the program you entered in the registry using the hack.

(in folder Options>file types>html Document actions box>edit it will say C:\windows\notepad.exe)
Actually, you can change the source editor in Folder Options too. Replace Notepad with whichever program you like.

hdrawoh
12-05-2001, 02:03 PM
Easy when you know how huh. :o) The reg hack did the trick. Thank you Mosaic1 and Tony.

novice