"Open With" problem

L

Lukan

I wish to add an option to open .html files with Dreamweaver, my HTML
editor. I don't want to set it as default, just have it on the
rightclick menu.

The only issue is that if I rightclick a .html, bring up the properties
/ open with dialog, I can't change or add anything. It's locked onto
Internet Explorer and that's it.

The same thing happens through control panel / default programs. I
can't change or add anything.

Am I missing something here? What's the way to workaround this?

Thanks.
 
L

Lukan

Lukan said:
I wish to add an option to open .html files with Dreamweaver, my HTML
editor. I don't want to set it as default, just have it on the
rightclick menu.

The only issue is that if I rightclick a .html, bring up the properties
/ open with dialog, I can't change or add anything. It's locked onto
Internet Explorer and that's it.

The same thing happens through control panel / default programs. I
can't change or add anything.

Am I missing something here? What's the way to workaround this?

Thanks.


I found a fix for this that was recommended :

http://www.winhelponline.com/articl...-unassociate-file-types-in-Windows-Vista.html

This allows you to easily delete the registry entry for particular file
extensions, which I did.

"Open with Dreamweaver" then appeared on the right click menu for all my
html files, I guess it was there all the time but was being suppressed.

HOWEVER : the new default program to open is notepad, which is
ridiculous for HTML files, I need it to be IE (or even better, FF).

So I changed the default program to FF, and low and behold the
Dreamweaver option got suppressed again, and I'm back to where I started
- not being able to add an "open with dreamweaver" option to the friggin
menu.

..... I've been using Vista for a week and so far haven't had any worries
with it at all, this whole thing hasn't given me too much confidence in
the way it's been programmed though, surely what I want to do here is a
really simple thing, it would have taken about 10 seconds in Windows
95-XP........


Help requested please :)
 
R

Ronnie Vernon MVP

Lukan

Try this first.

Open Internet Explorer and go to Tools/Internet Options/Programs Tab. In the
'HTML Editing' section, click the drop down menu and select Dreamweaver. If
Dreamweaver doesn't appear there, you will need to use the registry to
change the default editor.

Perform the following.

The first thing you need to do is locate and write down the path to the
Dreamweaver executable file in C:\Program Files.

Go to Start and type regedit.exe in the Search Box. In the results, right
click regedit.exe and select the "Run As Administrator" option.

In the registry editor, navigate to the following Key.

HKEY_CLASSES_ROOT\htmlfile

*Important*
*Select the "htmlfile" key. Go to File/Export, name the file html
backup.reg and save it to your Desktop. *This will be your backup file
that you can use to restore the key if something goes wrong.

Expand the htmlfile key, expand the Shell Key, expand the Edit Key.

Under the Edit Key, click the Command Key.

In the right side pane, double click the "Default" value.

In the Edit String dialog box, change the path to the location of the
Dreamweaver executable and add a space and the "%1" syntax. It should
look similar to this.

"C:\Program Files\Adobe\Dreamweaver\Dreamweaver.exe" "%1"

(Make sure that you include all of the "quotes" and spaces)

Press the F5 key to refresh and exit regedit.

You should now be able to right click a .html or .htm file and select Edit
to open the file in Dreamweaver.

If something goes wrong, go to the Desktop, right click the "html
backup.reg" file and select the Merge option to reset the htmlfile key in
the registry.
 
L

Lukan

Thanks for the reply.

- one thing : I no longer have any .html file entry in the registry.
How do I add one?
 
L

Lukan

- one thing : I no longer have any .html file entry in the registry. How
do I add one?

Ok, disregard that, I misread your reply.

Thanks, I can now right-click and "Edit With Dreamweaver".

Only thing is that when I double click .html files they are
automatically being opened with Notepad, not IE (or FF, preferably).

How do I go about fixing that?
 
R

Ronnie Vernon MVP

Lukan

Copy/Paste the text between the two dashed lines into Notepad. (Don't copy
the lines)
-------------------------------

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.html]
"Content Type"="text/html"
"PerceivedType"="text"
@="htmlfile"

[HKEY_CLASSES_ROOT\.html\PersistentHandler]
@="{eec97550-47a9-11cf-b952-00aa0051fe20}"

-------------------------------

Save the file as HTML.reg
Right click the file and select 'Merge'.
This will reset the default file association for HTML files.

After this edit, HTML files should open in IE (or Firefox, if it is the
default browser).
 
R

Ramesh, MS-MVP

Lukan,

Adding to the advice you received from Ron, here is another option for you:

Right-click on a .html file, click "Open With..." - "Choose Default Program..."
Click "Browse.." and select the DreamWeaver executable file
Uncheck the option "Always use the selected program to open this kind of file"
Click OK.

DreamWeaver should now be listed in the Open With menu when you right-click on .html files and choose "Open With..."

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com
Winhelponline.com blog http://www.winhelponline.com/blog


I wish to add an option to open .html files with Dreamweaver, my HTML
editor. I don't want to set it as default, just have it on the
rightclick menu.

The only issue is that if I rightclick a .html, bring up the properties
/ open with dialog, I can't change or add anything. It's locked onto
Internet Explorer and that's it.

The same thing happens through control panel / default programs. I
can't change or add anything.

Am I missing something here? What's the way to workaround this?

Thanks.
 
L

Lukan

Ramesh said:
Lukan,

Adding to the advice you received from Ron, here is another option for you:

Right-click on a .html file, click "Open With..." - "Choose Default Program..."
Click "Browse.." and select the DreamWeaver executable file
Uncheck the option "Always use the selected program to open this kind of file"
Click OK.

It won't accept that. I can find the Dreamweaver executable, click
"ok", but it won't show up in the window as an option, the only ones
that are there are IE, FF and notepad.
 
R

Ramesh, MS-MVP

It appears that DreamWeaver registration is broken somehow. You may re-register it using OpenWithAdd:

Registering programs with the "Open With" dialog:
http://windowsxp.mvps.org/openwithadd.htm

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com
Winhelponline.com blog http://www.winhelponline.com/blog


Lukan said:
Lukan,

Adding to the advice you received from Ron, here is another option for you:

Right-click on a .html file, click "Open With..." - "Choose Default Program..."
Click "Browse.." and select the DreamWeaver executable file
Uncheck the option "Always use the selected program to open this kind of file"
Click OK.

It won't accept that. I can find the Dreamweaver executable, click
"ok", but it won't show up in the window as an option, the only ones
that are there are IE, FF and notepad.
 
L

Lukan

Ramesh said:
It appears that DreamWeaver registration is broken somehow. You may re-register it using OpenWithAdd:

Registering programs with the "Open With" dialog:
http://windowsxp.mvps.org/openwithadd.htm

Thanks for the reply. Before I run this, could you take a look at my
new message posted today in this forum (New Open With Problem) and tell
me if you still think it's worth running this?
 
R

Ramesh, MS-MVP

you take a look at my new message posted today in this forum

Okie, will look into that.

Yes, it certainly helps.. if you ant DreamWeaver to get listed in the dynamic Open With menu.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com
Winhelponline.com blog http://www.winhelponline.com/blog


Lukan said:
It appears that DreamWeaver registration is broken somehow. You may re-register it using OpenWithAdd:

Registering programs with the "Open With" dialog:
http://windowsxp.mvps.org/openwithadd.htm

Thanks for the reply. Before I run this, could you take a look at my
new message posted today in this forum (New Open With Problem) and tell
me if you still think it's worth running this?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top