Chris
At 07:08 PM 8/20/2003 +0200, you wrote:
Es gibt eine Dokumentation f�r HTML �ber Java-/VB-Script �ber ein <OBJECT> Tag... W�re doch traurig wenn man das nicht mit ASP.Net Auch hinbekommt !?
Hier ein Auszug aus der Doku:
HTML Client with Java Script for Microsoft IE 4 or later The client is written in Visual InterDev 6.0. Note that the client is not a web project, so cancel the New Project dialog if it is shown. You just need an HTML file. Select New File from the File menu to show the New File dialog. Select Visual InterDev folder and choose HTML Page. You have the option to implement the client using Java Script or VB Script, and you can set the defaultClientScript property as you wish. This sample client uses the default Java Script. In the Toolbox window, click on the HTML tab and add controls to the form for the user interface. Switch from the Design window to the Source window by clicking on the Source tab, and switch from the Toolbox window to the Script Outline window by clicking on the Script Outline tab. Map the click event for all command buttons. Add the following above the first <SCRIPT> tag: <OBJECT classid=CLSID:184DD3E4-7CD0-11D3-847A-0090277568E2 id=DmDdeCom VIEWASTEXT></OBJECT> The <OBJECT> tag instructs the Visual InterDev IDE to read the type library for the outgoing interfaces of the object. This will allow Visual InterDev to determine what events the HTML page should handle. Now the DmDdeCom object is available in the Script Outline window with the events. Map all events of the object. The code segment pertinent to using the object is as follows. <HEAD> <META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0"> <TITLE></TITLE> <OBJECT classid=CLSID:184DD3E4-7CD0-11D3-847A-0090277568E2 id=DmDdeCom VIEWASTEXT></OBJECT> <SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript> <!-- function window_onunload() { cmdDisconnect_onclick(); } function cmdConnect_onclick() { while (lstStatus.length != 0) lstStatus.remove (0); DmDdeCom.Initialize ();
-----Urspr�ngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Christoph Wille Gesendet: Mittwoch, 20. August 2003 18:53 An: [EMAIL PROTECTED] Betreff: Re: [Asp.net] AW: [Asp.net] Re: [Asp.net] [Asp.net] COM API f�r Anwendung auf Client !?
Das spielt's mit ASP.NET aber nicht wirklich - wieder mal die klassische "wir verwechseln Server mit Client" Problematik.
Chris
At 05:47 PM 8/20/2003 +0200, you wrote: >Ja, die ASP.Net Anwendung soll auf ein auf dem Client laufendes >Programm �ber DDE steuern > >-----Urspr�ngliche Nachricht----- >Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Im Auftrag von Christoph Wille >Gesendet: Mittwoch, 20. August 2003 17:44 >An: [EMAIL PROTECTED] >Betreff: [Asp.net] Re: [Asp.net] [Asp.net] COM API f�r Anwendung auf >Client !? > > >Ist das eine ASP.NET Anwendung? > >Chris > >At 04:21 PM 8/20/2003 +0200, you wrote: > >ich habe eine DLL die �ber eine COM/DDE API auf ein Programm, dass > >auf dem Client l�uft zugreifen soll. Ich kann den Namespace > >importieren und die ben�tigten Klassen instanzieren aber sobald ich > >auf ein Objekt zugreifen m�chte bekomme ich folgende Fehlermeldung: > > > >"System.Runtime.InteropServices.COMException (0x80020009): Failed to > >initialize DDE client at > >Microsoft.VisualBasic.CompilerServices.LateBinding.InternalLateCall.. > >.. > >..... > >" > > > >Frage 1.) Mu� ich das ganze nicht auf dem Client laufen lassen da > >auch auf eine DDE API auf dem Client zugegriffen werden soll ? Und > >wenn ja > >-> Wie stelle ich das an ?? (wenn w�glich > >Beispiel) > > > >Frage 2.) Was k�nnte falsch laufen ? *g*
_______________________________________________ Asp.net mailing list [EMAIL PROTECTED] http://www.glengamoi.com/mailman/listinfo/asp.net
