Host Engineering Forum

General Category => Do-more CPUs and Do-more Designer Software => Topic started by: Dean on September 30, 2015, 04:00:35 PM

Title: Opening *.dmd Shortcuts Doesn't Work
Post by: Dean on September 30, 2015, 04:00:35 PM
Maybe this is unique to the machines that I use, but trying to open a shortcut to a ladder program doesn't work. The file extension is correctly associated with the Designer software, but I always get the "unsupported file extension" error. See attached.
Title: Re: Opening *.dmd Shortcuts Doesn't Work
Post by: franji1 on September 30, 2015, 08:15:32 PM
We do not register our file extension with Windows.  Not sure how that association got set in the Properties, but as you saw, the Shell extensions of Windows does not actually recognize .dmd as being associated with Designer.
Title: Re: Opening *.dmd Shortcuts Doesn't Work
Post by: Dean on September 30, 2015, 09:49:16 PM
Thank you.I created the association in an attempt to get the function to work. I just wondered if I had done something incorrectly.
Title: Re: Opening *.dmd Shortcuts Doesn't Work
Post by: Mike Nash on October 01, 2015, 08:35:16 AM
For Windows XP, I put the following into the "open" action

Code: [Select]
"C:\Do-more\Designer1_4\Bin\DmDesigner.exe" %1
Windows has always put the quotes around the whole line which doesn't work.

My problem is with DS5, Bosch Rexroth's DriveTop grabbed the PRJ extension and I have no advanced button anymore for the PRJ extension to change anything.

Title: Re: Opening *.dmd Shortcuts Doesn't Work
Post by: plcnut on November 24, 2015, 01:42:42 PM
I did some experimenting with this today. I am running Win 8.1 Pro, and am not given the option of editing the startup string like Mike Nash posted with Windows XP. I did find finally find the string buried in my registry though. If you open regedit, and then search for the following string:
Code: [Select]
"C:\Do-more\Designer1_4\Bin\DmDesigner.exe" "%1"You can then edit the value to get rid of the Last 2 double quotes just like Mike posted, and DMD will then auto-launch :)

EDIT YOUR REGISTRY AT YOUR OWN RISK!!!!!!!!!!!!!!!!
Title: Re: Opening *.dmd Shortcuts Doesn't Work
Post by: ABunchOfMidgets on November 24, 2015, 02:16:26 PM
This flawlessly worked for me! Thanks guys!  ;D
Title: Re: Opening *.dmd Shortcuts Doesn't Work
Post by: Controls Guy on November 24, 2015, 02:46:39 PM
Sweet!  I've always wanted to be able to open project directly.  I'll definitely do this.
Title: Re: Opening *.dmd Shortcuts Doesn't Work
Post by: Mike Nash on September 26, 2017, 07:37:29 PM
Yes, yes I know this is an old thread.

But Windows 10 Anniversary Update appears to have totally removed the ability to fix the file association. The registry is just random letters now for the OpenWithProgids entries, such as AppX43hnxtbyyps62jhe9sqpdzxn1790zetc for a ".bmp" (seriously - cut and pasted it.)

Solutions posted on the web for prior Win10 releases won't work now and Creators Edition or whatever is just around the corner to break more stuff.

Maybe Host could take a look at this for us and give us an option to associate ".dmd" with DmD. It can be pretty irritating trying to find the project file I just tried to open from a shortcut folder. Obfuscation by Windows is getting pretty debilitating. Even the scroll bars are the wrong colors and no longer 3D.

Did anyone ever play Zork? Where the door you just came through takes you somewhere else entirely if you go back through? Settings menus in W10 is evil in this fashion.
Title: Re: Opening *.dmd Shortcuts Doesn't Work
Post by: plcnut on September 26, 2017, 08:05:27 PM
I know that this is going to vary some from pc to pc, but here is where the value is found in regedit on my Windows 10 Pro machine:
Code: [Select]
Computer\HKEY_USERS\S-1-5-21-2770548806-3738083691-2594133894-1001\Software\Classes\Applications\DmDesigner.exe\shell\open\command
The value that I have set to make the latest DMD release open is this:
Code: [Select]
"C:\Do-more\Designer2_1\Bin\DmDesigner.exe" %1
Maybe this will help you.
Title: Re: Opening *.dmd Shortcuts Doesn't Work
Post by: Mike Nash on September 26, 2017, 08:33:19 PM
I know that this is going to vary some from pc to pc, but here is where the value is found in regedit on my Windows 10 Pro machine:
Code: [Select]
Computer\HKEY_USERS\S-1-5-21-2770548806-3738083691-2594133894-1001\Software\Classes\Applications\DmDesigner.exe\shell\open\command
The value that I have set to make the latest DMD release open is this:
Code: [Select]
"C:\Do-more\Designer2_1\Bin\DmDesigner.exe" %1
Maybe this will help you.

My hero! I found and changed the one closest to your key location with no joy, but after searching and changing it 2 additional places it works! At least until the next Windows update.

I have told myself I WILL allow Windows 10 to update and I won't try to make it look and work too much like W98SE since nothing much web related works in XP anymore, but it is really not very lovable for my old eyes other than the web browsers "work" and videos play.
Title: Re: Opening *.dmd Shortcuts Doesn't Work
Post by: Evilbeard on October 01, 2017, 07:24:54 AM
Yes, yes I know this is an old thread.

But Windows 10 Anniversary Update appears to have totally removed the ability to fix the file association. The registry is just random letters now for the OpenWithProgids entries, such as AppX43hnxtbyyps62jhe9sqpdzxn1790zetc for a ".bmp" (seriously - cut and pasted it.)

Solutions posted on the web for prior Win10 releases won't work now and Creators Edition or whatever is just around the corner to break more stuff.

Maybe Host could take a look at this for us and give us an option to associate ".dmd" with DmD. It can be pretty irritating trying to find the project file I just tried to open from a shortcut folder. Obfuscation by Windows is getting pretty debilitating. Even the scroll bars are the wrong colors and no longer 3D.

Did anyone ever play Zork? Where the door you just came through takes you somewhere else entirely if you go back through? Settings menus in W10 is evil in this fashion.

Be on the on the lookout for Grues!
Title: Re: Opening *.dmd Shortcuts Doesn't Work
Post by: ADC Product Engineer on October 01, 2017, 11:36:54 AM
You open the mailbox.  A Grue eats you.  You are dead.

You awaken at a crossroads.
What would you like to do?
Title: Re: Opening *.dmd Shortcuts Doesn't Work
Post by: Evilbeard on October 01, 2017, 11:49:20 AM
You open the mailbox.  A Grue eats you.  You are dead.

You awaken at a crossroads.
What would you like to do?

Look North.
Title: Re: Opening *.dmd Shortcuts Doesn't Work
Post by: ADC Product Engineer on October 01, 2017, 02:21:11 PM
You open the mailbox.  A Grue eats you.  You are dead.

You awaken at a crossroads.
What would you like to do?

Look North.

Infocom made great games back then.
Title: Re: Opening *.dmd Shortcuts Doesn't Work
Post by: Evilbeard on October 01, 2017, 03:46:02 PM
I played it as a kid on my very first computer. I had it on 5.25 Floppy. My computer was pretty BA back then. DUAL 5.25" floppy disks and 512KB RAM. Monochrome Amber monitor and a daisywheel printer. We even had a 14.4k modem (that you actually had to set the phone on!) *sigh* The good ole days.

On topic, I just searched for DMDesigner.exe in the registry, and took out the quotation marks, and it works great in Windows 10 Enterprise. It had two instances I had to edit.
Title: Re: Opening *.dmd Shortcuts Doesn't Work
Post by: BobO on October 03, 2017, 09:27:37 AM
In the interest of continued security improvements, I think we are currently looking into install upgrades. I don't want to speak for the the folks responsible for such things, but I'm guessing project file associations could also be part of that upgrade.

And I played Zork on a PDP11 in college. They didn't call it Zork though, I think the command was something like "dungeon". As confusing as the "go north" to move and "go east" to move back was, it made perfect sense once you saw a map.
Title: Re: Opening *.dmd Shortcuts Doesn't Work
Post by: Garyhlucas on October 03, 2017, 06:26:10 PM
PDP11 in college, that makes you about 64, like me?
Title: Re: Opening *.dmd Shortcuts Doesn't Work
Post by: Controls Guy on October 03, 2017, 06:30:27 PM
VAX here
Title: Re: Opening *.dmd Shortcuts Doesn't Work
Post by: BobO on October 03, 2017, 06:33:16 PM
PDP11 in college, that makes you about 64, like me?

Nah, only 53.
Title: Re: Opening *.dmd Shortcuts Doesn't Work
Post by: ADC Product Engineer on October 04, 2017, 08:29:19 AM
IBM System 34 and 36.  I was a mainframe programmer before I got into Industrial Controls.
Title: Re: Opening *.dmd Shortcuts Doesn't Work
Post by: Garyhlucas on October 04, 2017, 01:01:49 PM
My dad started me early. We built a relay logic control panel in our garage to unload rail cars of flooring vinyl through a weigh scale. I cut all the holes in the enclosure, mounted all the components, and wired it according to the schematic he drew. I was 11 at the time, and have been doing more or less ever since.