Registry settings association...

  • Thread starter Thread starter Timothy Taylor
  • Start date Start date
T

Timothy Taylor

Hello,

I don't know that much about how the registry works on a pocket pc, but i am
trying to asscociate a certain file type with my application. I already
know how to accept parameters from a file explorer that runs my application,
and I know what registry entries i need to change, but i just don't know
how. I am trying to do it by using www.opennetcf.org 's registry class.
But here's the thing, like i said, i don't know that much about the
registry... I look at the registry with RESCO's Registry Editor and i see
what i need to change. For example for a zip file, i need to change what's
under HKEY_CLASSES_ROOT, zipfile, Shell, Open, Command. But under the
Command folder, there's a entry called "(Default)" How do i access that
entry? What's the real name for it in vb?

Thanks!!

-Tim
 
If you are using OpenNETCF's registry class you should be able to access the
value using the name "Default". We don't automatically create default value
when creating new registry keys (I just noticed), but you can create default
values for registry keys yourself as well by passing an empty string in the
SetValue method.
 
It's no different than on the desktop, and there are lots of resources
availble online to explain what entries are needed for association support
and what each does.
 
Back
Top