Hello Guest it is March 29, 2024, 09:20:31 AM

Author Topic: G49 on Mach3 Mill  (Read 11741 times)

0 Members and 1 Guest are viewing this topic.

Offline rcaffin

*
  •  1,052 1,052
    • View Profile
Re: G49 on Mach3 Mill
« Reply #60 on: February 06, 2018, 03:52:52 PM »
Yes, CommDlg.dll needs to be installed. It is a well-known omission and there should be any number of sources for it on the web.

Cheers
Roger

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
Re: G49 on Mach3 Mill
« Reply #61 on: February 06, 2018, 03:57:17 PM »
Thanks

i'll just copy one from my XP laptop.


:)

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
Re: G49 on Mach3 Mill
« Reply #62 on: February 07, 2018, 06:01:34 AM »
Just my luck - its not playing ball at all. :(

Commdlg.dll was already there, tried a quick regsvr32 commdlg.dll  and it says it not an .exe and has no helper program?????

Not too sure what to try next, can't risk upsetting the XP install on the mill but want to use the new code:(

Its XP SP3 on the mill, same as my laptop.

Any other ideas???

Offline TPS

*
  •  2,501 2,501
    • View Profile
Re: G49 on Mach3 Mill
« Reply #63 on: February 07, 2018, 06:05:56 AM »
have you tryed to run this code (sent this on page 4 of this thread):

Code: [Select]
'Make the MSComDlg.CommonDialog class available for use. Required for filedialog function.
function registerComDlg
    Set objRegistry = GetObject("winmgmts:\\.\root\default:StdRegProv")
    objRegistry.CreateKey &H80000001, "Software\CLASSES\Licenses\4D553650-6ABE-11cf-8ADB-00AA00C00905"
    objRegistry.SetStringValue &H80000001, "Software\CLASSES\Licenses\4D553650-6ABE-11cf-8ADB-00AA00C00905", "", "gfjmrfkfifkmkfffrlmmgmhmnlulkmfmqkqj"
end function

once in vbscripter window to Register MSComDlg ?
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
Re: G49 on Mach3 Mill
« Reply #64 on: February 07, 2018, 07:12:45 AM »
Sadly no, just tried it using the code above and no change, the code above executed ok. :(

Offline TPS

*
  •  2,501 2,501
    • View Profile
Re: G49 on Mach3 Mill
« Reply #65 on: February 07, 2018, 07:22:52 AM »
have to leave my Office now, come back to you later.

btw, is any error message shown, if your run the code in vbscriper window?
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
Re: G49 on Mach3 Mill
« Reply #66 on: February 07, 2018, 07:26:08 AM »
just been googling and it seems the DLL needed is comdlg32.dll not commdlg.dll

I tried this one and got a different message saying the dll was loaded but no registry server entry point was found??

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
Re: G49 on Mach3 Mill
« Reply #67 on: February 07, 2018, 07:43:58 AM »
small progress, i wrote a vb6 app that does nothing but load the common dialog control and installed it.

I now have a working load file screen but it errors on save file dialog ??

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
Re: G49 on Mach3 Mill
« Reply #68 on: February 07, 2018, 08:36:50 AM »
Sorted :) :)

After a heavy session on the net, it seems its a license thing with the comdlg32.dll.

Easy way to fix was to install a tiny Microsoft app called "HTML Help Workshop", you can uninstall afterwards if wanted but its so small i just left it.

Dialog works perfectly now.

Thanks

Offline TPS

*
  •  2,501 2,501
    • View Profile
Re: G49 on Mach3 Mill
« Reply #69 on: February 07, 2018, 09:49:31 AM »
glad to hear, that it's working now.

i never understood all this ddl and ocx confusion in window's,
but i know that is based on my unavalible knowledge about
this stuff.
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.