|
-
May 17th, 2008, 01:52 PM
#1
Thread Starter
Addicted Member
File Association
I've tried to search google, for file association in vb, but i always get errors...
Somethimes i get error like, can't edit hkey_class_root or something...
So can anyone explain how to make my own file extension?
-
May 17th, 2008, 02:13 PM
#2
Re: File Association
Did you try searching our CodeBank? There are a few examples there, such as:
http://www.vbforums.com/showthread.p...le+association
http://www.vbforums.com/showthread.p...le+association
As to the error.. what kind of user are you logged in to Windows as (eg: admin/power user/limited user)?
What code are you using, and where does the error occur?
-
May 17th, 2008, 02:52 PM
#3
Thread Starter
Addicted Member
Re: File Association
I get error no acess to registry key HKEY_CLASSES_ROOT\.extname.
But i think it is cause i have vista, so does anyone know how to get this working in vista, and yes, i'm administrator...
-
May 18th, 2008, 05:56 AM
#4
Re: File Association
How about this part:
 Originally Posted by si_the_geek
What code are you using, and where does the error occur?
It would also help to know exactly what the error is (as that tells us what the problem is).
-
May 19th, 2008, 12:06 PM
#5
Thread Starter
Addicted Member
Re: File Association
That it isn't allowed to acess my registry.
But i can't directly translate it cause i have norwegian language...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|