<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Opening external applications using DLL in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/opening-external-applications-using-dll/m-p/1527173#M241258</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;look at class (with se24) CL_GUI_FRONTEND_SERVICES&lt;/P&gt;&lt;P&gt;e.g. method: EXECUTE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Aug 2006 06:19:08 GMT</pubDate>
    <dc:creator>andreas_mann3</dc:creator>
    <dc:date>2006-08-29T06:19:08Z</dc:date>
    <item>
      <title>Opening external applications using DLL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/opening-external-applications-using-dll/m-p/1527172#M241257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends!&lt;/P&gt;&lt;P&gt;Is it possible to open an external application using a DLL file? If yes, how can i achieve it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The exact requirement is to open the drawing from the transaction cv02n by clicking on the document no. The drawing will be stored in the wrench file format. The DLL to open the file is only available at the presentation server and the Wrench application will not be installed .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sample code to open using DLL from VB is given here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample VB code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dim objView As Object&lt;/P&gt;&lt;P&gt;Private Sub Command1_Click()&lt;/P&gt;&lt;P&gt;    On Error GoTo ERR_HANDLER&lt;/P&gt;&lt;P&gt;    Set objView = CreateObject("WrenchDocViewer.DocViewer")&lt;/P&gt;&lt;P&gt;    If objView.initialise(Trim(Text1.Text), Trim(Text2.Text), Trim(Text3.Text)) = 1 Then&lt;/P&gt;&lt;P&gt;        If objView.ViewDocuments(Trim(Text4.Text)) = 0 Then Exit Sub&lt;/P&gt;&lt;P&gt;    End If&lt;/P&gt;&lt;P&gt;    Exit Sub&lt;/P&gt;&lt;P&gt;ERR_HANDLER:&lt;/P&gt;&lt;P&gt;    If Err.Number &amp;lt;&amp;gt; 0 Then&lt;/P&gt;&lt;P&gt;        MsgBox Err.Description, vbCritical&lt;/P&gt;&lt;P&gt;        Err.Clear&lt;/P&gt;&lt;P&gt;    End If&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;M.Arumugam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Aug 2006 05:38:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/opening-external-applications-using-dll/m-p/1527172#M241257</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-29T05:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: Opening external applications using DLL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/opening-external-applications-using-dll/m-p/1527173#M241258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;look at class (with se24) CL_GUI_FRONTEND_SERVICES&lt;/P&gt;&lt;P&gt;e.g. method: EXECUTE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Aug 2006 06:19:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/opening-external-applications-using-dll/m-p/1527173#M241258</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2006-08-29T06:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: Opening external applications using DLL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/opening-external-applications-using-dll/m-p/1527174#M241259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;This method can execute only exe files. Please correct me if i am wrong.&lt;/P&gt;&lt;P&gt;I already tried this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;M.Arumugam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Aug 2006 06:37:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/opening-external-applications-using-dll/m-p/1527174#M241259</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-29T06:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: Opening external applications using DLL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/opening-external-applications-using-dll/m-p/1527175#M241260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Welcome to SDN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for this you need to register the dll in all frontend machines using regserve32.exe and then create a abap class to instantiate the dll and use its methods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the following weblog where Thomas shows how to use windows media player control and same logic can be used for your case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/people/thomas.jung3/blog/2005/05/11/using-classic-activex-controls-in-the-abap-control-framework&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Aug 2006 06:46:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/opening-external-applications-using-dll/m-p/1527175#M241260</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2006-08-29T06:46:19Z</dc:date>
    </item>
  </channel>
</rss>

