English
Source / code snippets

Datafile File extension Extension Program Register registration Verknüpfen

 
Rolandvariante: [...] 

Jörg-Variante:

Jörg Sellmeyer (18.01.11)

you mean, You want for your Program a File extension Register, so that later with a Double-click on so a File your Program called becomes, around the File to open?
For this are different Entries in the Registry necessary.

under "HKEY_CLASSES_ROOT" (HKEY_0) must You a Key produce, the your Endung corresponds to (with vorangestelltem .. there must one entry of type Zeichenkette present his, the on a further Key under HKEY_CLASSES_ROOT verweist. The is then xyzfile.
under this Key go against Unterschlüssel prepares:
- DefaultIcon (here becomes the Exploreransichtsicon tuned
- Shell
- - Open

on the best, you see you the times for whom type .txt on. this is crept and slight nachzuvollziehen.
You can also a File meineDatei.xyz create and then through "öffnen with..."And "Datei always of these Program öffnen" automatically a entry create let. If you the then from the Registry copy, know You, what You present must. thereby becomes then though The Bezeichnung autofile uses, The You by a selbstgewählte Bezeichnung supplant should.

you become probably Admin-rights for your Program need, if you such Entries distinguished want.

I hope, the helps you first time moreover. I Have in the momentum too none code for parat but writeini "HKEY_0",... is thereby your friend.

If you here time to "Registry" seek, find You a crowd Entries, The you help could.


Jörg Sellmeyer (18.01.11)

so - Have time short what zusammengeschrieben:
CompileMarkSeparation
WriteIni "HKEY_0",".jsp",""="jspfile"
WriteIni "HKEY_0","jspfile",""="Mein Programm"
WriteIni "HKEY_0","jspfile\\DefaultIcon",""="%SystemRoot%\\system32\\shell32.dll,20"
'hier dann natürlich am Besten Dein Programmicon: "X:\\Mein\\Programm.exe,3"
WriteIni "HKEY_0","jspfile\\Shell",""="Meine Datei"
WriteIni "HKEY_0","jspfile\\shell\\open\\command",""="X:\\Mein\\Programm.exe \q%1\q"

 
01/19/11  
 



Zum Quelltext


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

3.496 Views

Themeninformationen

this Topic has 1 subscriber:

iF (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie