Invoking a verb normally launches the application specified by the verb's command subkey. However, if your application supports DDE, you can instead have the Shell initiate a DDE conversation.
To specify that invoking a verb should initiate a DDE conversation, add a ddeexec subkey to the verb's key. Set the default value of ddeexec to the DDE command string. The ddeexec key has three optional subkeys that provide some control over the DDE process:
application. Set the default value of this subkey to the application name to be used to establish the DDE conversation. If there is no application subkey, the default value of the verb's command subkey is used as the application name. topic. Set the default value of this subkey to the topic name of the DDE conversation. If there is no topic subkey, System is used as the topic name. ifexec. Set the default value of this subkey to the DDE command to be used if DDE conversation cannot be initiated. When initiation fails, the application specified by the default value of the verb's command subkey is launched. If an ifexec key exists, its default value will then be used as the DDE command. If there is no ifexec subkey, the default value of the ddeexec key will be used again as the DDE command. The following example specifies that invoking the open verb for MyProgram.1 initiates a DDE conversation with a DDE command of Open("%1") and an application name of MyProgram.
HKEY_CLASSES_ROOT ... MyProgram.1=MyProgram Application Shell=doit open command=C:\MyDir\MyProgram.exe "%1" ddeexec=Open("%1") application=MyProgram
ja, ok. jeg leder nu godt nok efter specifikationerne for at sende et DDE call til MSIE ... altså hvad jeg skal skrive i application-name, command, string, og alt det der
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.