>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).
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.
Cheers
Peter
--
--------------------------------------------------------
Peter Reid
Reid-IT Limited, Loughborough, Leics., UK
Tel: +44 (0)1509 268843 Fax: +44 (0)870 052 7576
E-mail: [EMAIL PROTECTED]
Web: http://www.reidit.co.uk
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.