Avatar billede tzr Nybegynder
02. juni 2002 - 20:02 Der er 3 kommentarer og
1 løsning

MSIE DDE

Nogen der kan finde noget tekst der giver mig nogle navne og kommandoer osv når jeg skal lave et DDE kald til MSIE.

Kenneth
Avatar billede medions Nybegynder
02. juni 2002 - 20:04 #1
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

//>Rune
Avatar billede medions Nybegynder
02. juni 2002 - 20:08 #2
Avatar billede tzr Nybegynder
02. juni 2002 - 20:38 #3
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
Avatar billede tzr Nybegynder
16. juni 2002 - 17:40 #4
lukker
Avatar billede Ny bruger Nybegynder

Din løsning...

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.

Loading billede Opret Preview
Kategori
Kurser inden for grundlæggende programmering

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester