<?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: Display SAS log in a custom task in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Display-SAS-log-in-a-custom-task/m-p/103647#M9040</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, i have always the same problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="SASLog.bmp" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/4002_SASLog.bmp" width="450" /&gt;&lt;/P&gt;&lt;P&gt;This is the function GetLog, now&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Public Shared Function GetLog() As String&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim Log As String&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Log = WS.LanguageService.FlushLog(10000)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Return Log&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Function&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Aug 2013 17:18:03 GMT</pubDate>
    <dc:creator>Victor</dc:creator>
    <dc:date>2013-08-12T17:18:03Z</dc:date>
    <item>
      <title>Display SAS log in a custom task</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Display-SAS-log-in-a-custom-task/m-p/103642#M9035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody, hi Chris&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using in a Custom Task, "SAS.Tasks.Toolkit.Controls.SASTextEditorCtl" to display the log under Enterprise Guide 4.3. Everything works fine, the lines are colored according to the content: ERROR NOTE, WARNING, etc.. But the problem is, as you see in &lt;SPAN class="hps"&gt;the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;following screen&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;copies, &lt;/SPAN&gt;that the first two characters of the beginning of each line are invisible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="3976" alt="SASLog.JPG" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/3976_SASLog.JPG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="3977" alt="SASLog2.JPG" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/3977_SASLog2.JPG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;Did i forget some parameter or option ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank's&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Aug 2013 11:20:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Display-SAS-log-in-a-custom-task/m-p/103642#M9035</guid>
      <dc:creator>Victor</dc:creator>
      <dc:date>2013-08-07T11:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: Display SAS log in a custom task</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Display-SAS-log-in-a-custom-task/m-p/103643#M9036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any idea ?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2013 16:10:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Display-SAS-log-in-a-custom-task/m-p/103643#M9036</guid>
      <dc:creator>Victor</dc:creator>
      <dc:date>2013-08-12T16:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: Display SAS log in a custom task</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Display-SAS-log-in-a-custom-task/m-p/103644#M9037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Victor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first two characters of each log line is a cue to the editor for how to color the line.&amp;nbsp; When it displays the content, it then trims the first two characters off each line (as these are not meant to be seen) and then displays the remainder.&amp;nbsp; It looks like in this case, the log content might not have those two character indicators (although I'm not sure how it's being colored correctly...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can see my &lt;A href="http://support.sas.com/resources/papers/proceedings13/003-2013.pdf"&gt;SAS Global Forum paper for details about how this works&lt;/A&gt; - the SAS log and coloring.&amp;nbsp; You don't say how you're creating the SAS log for this window, but perhaps it's not compatible with the assumptions that the text control uses for dealing with SAS log content.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2013 16:28:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Display-SAS-log-in-a-custom-task/m-p/103644#M9037</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2013-08-12T16:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: Display SAS log in a custom task</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Display-SAS-log-in-a-custom-task/m-p/103645#M9038</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;&lt;SPAN id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;For avoidance of doubt&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;I put&lt;/SPAN&gt; "&lt;/SPAN&gt;eContentType.SASProgram" &lt;SPAN id="result_box" lang="en"&gt;in &lt;SPAN class="hps"&gt;ContenType&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;property&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;The content&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;is displayed correctly&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;and&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;without any problem&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;I also used&lt;/SPAN&gt; a character&lt;SPAN class="hps"&gt; string like "NOTE: Hello. This is a test" with EditorText Property. &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;But the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;result still the same. Colored but 2 characters are missing&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;The log is a result from this function, &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;Public Shared Function GetLog() As String&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim arList() As String&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim arCC() As SAS.LanguageServiceCarriageControl&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim arLT() As SAS.LanguageServiceLineType&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim vOutLine As String&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim Log As String&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Log = Nothing&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WS.LanguageService.FlushLogLines(100000, arCC, arLT, arList)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; For Each vOutLine In arList&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Log = Log &amp;amp; vOutLine &amp;amp; vbCrLf&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Next vOutLine&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Return Log&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Function&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Public Shared Function ExecuteSASLines(ByVal SASLines As String) As String&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SASModule.WS.LanguageService.Submit(SASLines)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Return SASModule.GetLog&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Function&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SASLogTEC.EditorText = ExecuteSASLines(SASCode)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2013 17:02:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Display-SAS-log-in-a-custom-task/m-p/103645#M9038</guid>
      <dc:creator>Victor</dc:creator>
      <dc:date>2013-08-12T17:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: Display SAS log in a custom task</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Display-SAS-log-in-a-custom-task/m-p/103646#M9039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of FlushLogLines, which returns the lines &lt;STRONG&gt;without&lt;/STRONG&gt; the 2-character prefix, try FlushLog.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FlushLogLines puts the line attribute information into another array.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2013 17:06:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Display-SAS-log-in-a-custom-task/m-p/103646#M9039</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2013-08-12T17:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: Display SAS log in a custom task</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Display-SAS-log-in-a-custom-task/m-p/103647#M9040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, i have always the same problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="SASLog.bmp" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/4002_SASLog.bmp" width="450" /&gt;&lt;/P&gt;&lt;P&gt;This is the function GetLog, now&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Public Shared Function GetLog() As String&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim Log As String&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Log = WS.LanguageService.FlushLog(10000)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Return Log&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Function&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2013 17:18:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Display-SAS-log-in-a-custom-task/m-p/103647#M9040</guid>
      <dc:creator>Victor</dc:creator>
      <dc:date>2013-08-12T17:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: Display SAS log in a custom task</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Display-SAS-log-in-a-custom-task/m-p/103648#M9041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If i change the ContentType to&amp;nbsp; eContentType.SASProgram, i get this.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="SASLog.bmp" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/4003_SASLog.bmp" width="450" /&gt;&lt;/P&gt;&lt;P&gt;You can see that what i send is correct&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2013 17:23:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Display-SAS-log-in-a-custom-task/m-p/103648#M9041</guid>
      <dc:creator>Victor</dc:creator>
      <dc:date>2013-08-12T17:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: Display SAS log in a custom task</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Display-SAS-log-in-a-custom-task/m-p/103649#M9042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a simple example of this type of task, with C# source code, available here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/onlinedoc/guide/customtasks/samples/SASProgramRunnerExample.zip" title="http://support.sas.com/documentation/onlinedoc/guide/customtasks/samples/SASProgramRunnerExample.zip"&gt;http://support.sas.com/documentation/onlinedoc/guide/customtasks/samples/SASProgramRunnerExample.zip&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="sample.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/4004_sample.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;This is part of the examples available at &lt;A href="http://go.sas.com/customtasksapi"&gt;http://go.sas.com/customtasksapi&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you download that example and see if works correctly for you?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2013 17:36:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Display-SAS-log-in-a-custom-task/m-p/103649#M9042</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2013-08-12T17:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: Display SAS log in a custom task</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Display-SAS-log-in-a-custom-task/m-p/103650#M9043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Hello&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;Finally&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;everything works perfectly.&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;I have&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;translated&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the C# code in&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;VB. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;here is the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;VB&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;code&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;for those&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;interested&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ExecuteBTN.Click&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AddHandler model.SubmitSASProgramComplete, AddressOf model_SubmitSASProgramComplete&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; model.SubmitSASProgram(SASProgramTEC.EditorText)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Sub&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Public Delegate Sub MarshalledLogUpdater(ByVal Log As String)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sub MarshalledLogUpdate(ByVal Log As String)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SASLogTec.EditorText = Log&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Sub&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sub model_SubmitSASProgramComplete(ByVal sender As Object, ByVal args As SAS.Tasks.Toolkit.SubmitCompleteEventArgs)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim LogUpdate As MarshalledLogUpdater = New MarshalledLogUpdater(AddressOf MarshalledLogUpdate)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RemoveHandler model.SubmitSASProgramComplete, AddressOf model_SubmitSASProgramComplete&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BeginInvoke(LogUpdate, args.Log)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank's&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Aug 2013 18:51:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Display-SAS-log-in-a-custom-task/m-p/103650#M9043</guid>
      <dc:creator>Victor</dc:creator>
      <dc:date>2013-08-18T18:51:57Z</dc:date>
    </item>
  </channel>
</rss>

