Peter Reid wrote/ schreef:

>> Peter Reid wrote/ schreef:
>>> Please can anyone tell me how to set up the Registry under Windows
>>> from within MetaCard so that the system knows about *.mc files, how
>>> to open them and what icons to use.  I plan to produce a standalone
>>> written in MetaCard that sets up the association for the user.
>> get setRegistry("HKEY_CLASSES_ROOT\.mc\", "MetaCard")
>> if it is false then
>> answer error "An error occured while setting the registry:" & return & the
>> result
>> end if
> 
> Thanks Sjoerd for the above response.  I am familiar with the above
> but don't see how this tells the system where to find mc.exe.  In the
> situation I described, the MetaCard Player (mc.exe + mctools.mc) is
> never actually "installed" on the student workstations, but run
> directly from a location on a shared  fileserver.  So the student
> workstation will not have any record of which *.exe to run when a
> *.mc file is double-clicked, nor will it know what icon to display
> for *.mc files.
> 
> So I need a means of setting up the student workstation such that
> *.mc files are opened and run using something like
> "\\learn\chemcourse\resources\metacard\mc.exe" where "\\learn" is a
> shared fileserver location.  Also, how would I ensure the *.mc files
> had the right icon (I'm happy for them to be the default MetaCard
> document icon).
More than this I can't provide, because I don't have a Windows machine here
to try. Have you tried to set instead of "MetaCard" the path?
> Also, will the above registry setting be for all users of the
> workstation of just the individual user logged in at the time (it is
> an NT 4 workstation with user profiles)?  It is important that such
> settings are student profile specific, since only certain courses
> will be using MetaCard.
I think (but again, I can't test it) it will, because also other
applications presume that the registry is only for one user. I'd think that
NT does store the whole registry into a file for that user (profile). But I
haven't tested this.
> Cheers
> Peter
Regards,
Sjoerd


Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to