<?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: EG 4.1 OLE Reference in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG-4-1-OLE-Reference/m-p/1310#M384</link>
    <description>Lee,&lt;BR /&gt;
&lt;BR /&gt;
Here is a preliminary version of the API reference:&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/onlinedoc/guide/SASEGScripting41.zip" target="_blank"&gt;http://support.sas.com/documentation/onlinedoc/guide/SASEGScripting41.zip&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
It's a Microsoft HTML Help file (CHM) within a ZIP archive.&lt;BR /&gt;
&lt;BR /&gt;
This gives you the full reference documentation, but might not be enough to get you started.  If you post back with a question about what you are trying to do via automation, I'd be happy to try and provide an example.&lt;BR /&gt;
&lt;BR /&gt;
Chris</description>
    <pubDate>Thu, 24 Aug 2006 20:34:32 GMT</pubDate>
    <dc:creator>ChrisHemedinger</dc:creator>
    <dc:date>2006-08-24T20:34:32Z</dc:date>
    <item>
      <title>EG 4.1 OLE Reference</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG-4-1-OLE-Reference/m-p/1309#M383</link>
      <description>Does anyone know when the OLE reference is to be released for EG 4.1.  &lt;BR /&gt;
I can find the VBscripting.dll within the  EG4 program directory but I cannot add this as a reference to my VB project.</description>
      <pubDate>Tue, 22 Aug 2006 15:59:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG-4-1-OLE-Reference/m-p/1309#M383</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2006-08-22T15:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: EG 4.1 OLE Reference</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG-4-1-OLE-Reference/m-p/1310#M384</link>
      <description>Lee,&lt;BR /&gt;
&lt;BR /&gt;
Here is a preliminary version of the API reference:&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/onlinedoc/guide/SASEGScripting41.zip" target="_blank"&gt;http://support.sas.com/documentation/onlinedoc/guide/SASEGScripting41.zip&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
It's a Microsoft HTML Help file (CHM) within a ZIP archive.&lt;BR /&gt;
&lt;BR /&gt;
This gives you the full reference documentation, but might not be enough to get you started.  If you post back with a question about what you are trying to do via automation, I'd be happy to try and provide an example.&lt;BR /&gt;
&lt;BR /&gt;
Chris</description>
      <pubDate>Thu, 24 Aug 2006 20:34:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG-4-1-OLE-Reference/m-p/1310#M384</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2006-08-24T20:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: EG 4.1 OLE Reference</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG-4-1-OLE-Reference/m-p/1311#M385</link>
      <description>Thanks, this may be useful to us later on, however the main issue we're having is referencing the EG4.1 scripting DLL (SASEGScripting.dll).&lt;BR /&gt;
&lt;BR /&gt;
We're just trying to access EG using VBA, however the DLL does not appear to be registered with windows. When we attempt to add the file (from any VBA application go to tools -&amp;gt; references -&amp;gt; browse) it states "Can't add reference to specified file.".&lt;BR /&gt;
&lt;BR /&gt;
Any idea what's wrong?&lt;BR /&gt;
&lt;BR /&gt;
Cheers.</description>
      <pubDate>Tue, 29 Aug 2006 10:35:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG-4-1-OLE-Reference/m-p/1311#M385</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2006-08-29T10:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: EG 4.1 OLE Reference</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG-4-1-OLE-Reference/m-p/1312#M386</link>
      <description>Lee,&lt;BR /&gt;
&lt;BR /&gt;
Sounds like you would like to write code similar to the following:&lt;BR /&gt;
&lt;BR /&gt;
Public Sub foo()&lt;BR /&gt;
    Dim objApp As SASEGScripting.Application&lt;BR /&gt;
    Dim objProject As SASEGScripting.Project&lt;BR /&gt;
    &lt;BR /&gt;
    objApp = New SASEGScripting.Application&lt;BR /&gt;
    objProject = objApp.Open("myproject.egp", "")&lt;BR /&gt;
    objProject.Run&lt;BR /&gt;
End Sub&lt;BR /&gt;
&lt;BR /&gt;
This is an example of "early binding" code, which requires a reference to the EG scripting model exposed via COM.  Most of our examples to date use VBScript and the "late binding" model, where you have a CreateObject("SASEGScripting.Application") call.  Requires no COM reference, but the IDE doesn't help you with intellisense and such.&lt;BR /&gt;
&lt;BR /&gt;
The SASEGScripting.dll is a .NET DLL, but it does expose a COM model.  However, the type library required isn't registered by default.  Here's how you can register it.&lt;BR /&gt;
&lt;BR /&gt;
1. Open a command prompt window.&lt;BR /&gt;
&lt;BR /&gt;
2. &lt;B&gt;Run this command:&lt;/B&gt; (paths may vary depending on your installation)&lt;BR /&gt;
&lt;BR /&gt;
c:\WINNT\Microsoft.NET\Framework\v1.1.4322\RegAsm.exe /tlb:SASEGScripting.tlb /codebase "c:\Program Files\SAS\Enterprise Guide 4\SASEGScripting.dll"&lt;BR /&gt;
&lt;BR /&gt;
&lt;I&gt;Expected response:&lt;/I&gt;&lt;BR /&gt;
&lt;BR /&gt;
Microsoft (R) .NET Framework Assembly Registration Utility 1.1.4322.573&lt;BR /&gt;
Copyright (C) Microsoft Corporation 1998-2002.  All rights reserved.&lt;BR /&gt;
&lt;BR /&gt;
Types registered successfully&lt;BR /&gt;
Assembly exported to 'c:\Program Files\SAS\Enterprise Guide 4\SASEGScripting.tlb', and the type library was registered successfully&lt;BR /&gt;
&lt;BR /&gt;
3. &lt;B&gt;Run this command:&lt;/B&gt; (paths may vary depending on your installation)&lt;BR /&gt;
&lt;BR /&gt;
"c:\Program Files\SAS\Shared Files\Integration Technologies\RegTypeLib.exe" "c:\Program Files\SAS\Enterprise Guide 4\SASEGScripting.tlb"&lt;BR /&gt;
&lt;BR /&gt;
&lt;I&gt;Expected response:&lt;/I&gt;&lt;BR /&gt;
&lt;BR /&gt;
Registered c:\Program Files\SAS\Enterprise Guide 4\SASEGScripting.tlb &lt;BR /&gt;
&lt;BR /&gt;
4. After these steps are completed, you should be able to Insert a reference to &lt;B&gt;SAS Enterprise Guide 4.1 Object Library&lt;/B&gt; from your VBA application.&lt;BR /&gt;
&lt;BR /&gt;
Chris</description>
      <pubDate>Tue, 29 Aug 2006 17:23:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG-4-1-OLE-Reference/m-p/1312#M386</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2006-08-29T17:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: EG 4.1 OLE Reference</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG-4-1-OLE-Reference/m-p/1313#M387</link>
      <description>Chris,&lt;BR /&gt;
Thanks for the quick response.  This is exactly what I needed.  I've now registered the Files and can now reference the SASEGScripting dll.</description>
      <pubDate>Wed, 30 Aug 2006 08:56:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG-4-1-OLE-Reference/m-p/1313#M387</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2006-08-30T08:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: EG 4.1 OLE Reference</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG-4-1-OLE-Reference/m-p/1314#M388</link>
      <description>Chris,&lt;BR /&gt;
Although I can now reference the scripting DLL when I run the following code&lt;BR /&gt;
&lt;BR /&gt;
Dim objApplication&lt;BR /&gt;
Set objApplication = CreateObject("SASEGscripting.Application")&lt;BR /&gt;
 I get an error :-&lt;BR /&gt;
Run-time erro '429' Activex componet can't create object.&lt;BR /&gt;
&lt;BR /&gt;
Do you have any ideas why this may not be working?&lt;BR /&gt;
&lt;BR /&gt;
Lee</description>
      <pubDate>Mon, 04 Sep 2006 15:34:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG-4-1-OLE-Reference/m-p/1314#M388</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2006-09-04T15:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: EG 4.1 OLE Reference</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG-4-1-OLE-Reference/m-p/1315#M389</link>
      <description>Sorrry, the code was actually &lt;BR /&gt;
&lt;BR /&gt;
Set objApplication = CreateObject("SASEGObjectModel.Application")</description>
      <pubDate>Mon, 04 Sep 2006 15:35:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG-4-1-OLE-Reference/m-p/1315#M389</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2006-09-04T15:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: EG 4.1 OLE Reference</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG-4-1-OLE-Reference/m-p/1316#M390</link>
      <description>Lee,&lt;BR /&gt;
&lt;BR /&gt;
For EG 4.1 you want to use this prog ID:&lt;BR /&gt;
&lt;BR /&gt;
Set objApplication = CreateObject("SASEGObjectModel.Application.4")&lt;BR /&gt;
&lt;BR /&gt;
You can get a quick example by going to Tools-&amp;gt;Schedule Project.  This will bring up the Windows scheduler dialog, which you can cancel.  Then you'll have a VBScript file referenced in your project that performs a simple automation task of running the project.&lt;BR /&gt;
&lt;BR /&gt;
Chris</description>
      <pubDate>Thu, 07 Sep 2006 13:45:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG-4-1-OLE-Reference/m-p/1316#M390</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2006-09-07T13:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: EG 4.1 OLE Reference</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG-4-1-OLE-Reference/m-p/1317#M391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanted to check out automation functionality of SAS EG 6.1 via VBA. As any attempts to create Application object led to an error, I've tried to register SASEGScripting.dll via regasm.exe and to create the tlb file following the 4 steps you've described. On the second step, however, I've got the following error: "RegAsm : error RA0000 : Type library exporter encountered an error while processing 'SAS.EG.Scripting.ISASEGContainerCollection, SASEGScripting'. Error: Type 'ISASEGContainerCollection' and type 'ISASEGOutputDatasets' both have the same UUID." After that VBA code started to work with late binding approach, but early binding still fails. Is there any way to resolve this RegAsm error?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2015 19:32:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG-4-1-OLE-Reference/m-p/1317#M391</guid>
      <dc:creator>Vladislav</dc:creator>
      <dc:date>2015-05-01T19:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: EG 4.1 OLE Reference</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG-4-1-OLE-Reference/m-p/1318#M392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With EG 6.1, you should be able to run:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; SEGuide.exe /register&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And have the automation API become registered, if it isn't already.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the scripting API and examples can be found in this sasCommunity.org article:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.sascommunity.org/wiki/Not_Just_for_Scheduling:_Doing_More_with_SAS_Enterprise_Guide_Automation"&gt;http://www.sascommunity.org/wiki/Not_Just_for_Scheduling:_Doing_More_with_SAS_Enterprise_Guide_Automation&lt;/A&gt;&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, 04 May 2015 15:04:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG-4-1-OLE-Reference/m-p/1318#M392</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2015-05-04T15:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: EG 4.1 OLE Reference</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG-4-1-OLE-Reference/m-p/234686#M16960</link>
      <description>&lt;P&gt;What does the "frustrated smilely" in Chris Hemedinger's post represent? &amp;nbsp;It looks like some text got translated into a&amp;nbsp;&lt;SPAN&gt;"frustrated smilely", but I don't know what that text is. &amp;nbsp;Does anyone know what text is translated into a&amp;nbsp;"frustrated smilely"?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Jim&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;P.S. &amp;nbsp;I've tried the below, but no luck.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;:~&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;:=P&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=P&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;X[&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;gt;&amp;lt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;B/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;gt;.&amp;lt;*&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-_-*&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;lt;&lt;/P&gt;&lt;P&gt;://&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;-&amp;lt;&lt;/P&gt;&lt;P&gt;&amp;gt;_&amp;lt;&lt;/P&gt;&lt;P&gt;&amp;gt;.&amp;lt;&lt;/P&gt;&lt;P&gt;-_-&lt;/P&gt;&lt;P&gt;*:*(&lt;/P&gt;&lt;P&gt;*:*&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2015 19:34:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG-4-1-OLE-Reference/m-p/234686#M16960</guid>
      <dc:creator>jimbarbour</dc:creator>
      <dc:date>2015-11-13T19:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: EG 4.1 OLE Reference</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG-4-1-OLE-Reference/m-p/234688#M16961</link>
      <description>&lt;P&gt;Never mind, I found it. &amp;nbsp;It's : S but without a space in between: &amp;nbsp;:S &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thus a : S without a space inbetween should be substituted in the below command that Chris Hemedinger listed:&lt;BR /&gt;c:\WINNT\Microsoft.NET\Framework\v1.1.4322\RegAsm.exe /tlb:SASEGScripting.tlb /codebase "c:\Program Files\SAS\Enterprise Guide 4\SASEGScripting.dll"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's a version with a space between the : and the S&lt;BR /&gt;c:\WINNT\Microsoft.NET\Framework\v1.1.4322\RegAsm.exe /tlb: SASEGScripting.tlb /codebase "c:\Program Files\SAS\Enterprise Guide 4\SASEGScripting.dll"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2015 19:46:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG-4-1-OLE-Reference/m-p/234688#M16961</guid>
      <dc:creator>jimbarbour</dc:creator>
      <dc:date>2015-11-13T19:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: EG 4.1 OLE Reference</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG-4-1-OLE-Reference/m-p/496104#M31943</link>
      <description>&lt;P&gt;Hello Chris,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Though the last post is years ago, the topic is still very helpful.&amp;nbsp; I am working on the same task that control SAS EG project by SASEGScripting.Application, SASEGScripting.Project and other objects provided by SASEGScripting.dll.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Because I am using Excel VBA, I guess I need to register the COM dll and add it to reference before touching any real code. The question here is, I can not find below SASEGScripting.tbl file in my computer. I am using Win7 64bit and I could locate SASEGScripting.dll at C:\SAS94\SASEnterpriseGuide\7.1\.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please help give some light on where to find and how to register the COM dll for EG 7.1?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Frank&lt;/P&gt;</description>
      <pubDate>Mon, 17 Sep 2018 02:34:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG-4-1-OLE-Reference/m-p/496104#M31943</guid>
      <dc:creator>syyang</dc:creator>
      <dc:date>2018-09-17T02:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: EG 4.1 OLE Reference</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG-4-1-OLE-Reference/m-p/496248#M31945</link>
      <description>&lt;P&gt;Hi Frank,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The EGScripting.dll is installed and registered with Enterprise Guide, so you should not have to explicitly register it (or the tlb) if Enterprise Guide has already been installed on the machine. However,&amp;nbsp;in addition to the other steps in this thread, if needed, you can also re-register the scripting dll by running&amp;nbsp;"seguide.exe /register" (in the EG installation directory) from a command prompt (run as an administrator).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Casey&lt;/P&gt;</description>
      <pubDate>Mon, 17 Sep 2018 14:19:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG-4-1-OLE-Reference/m-p/496248#M31945</guid>
      <dc:creator>CaseySmith</dc:creator>
      <dc:date>2018-09-17T14:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: EG 4.1 OLE Reference</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG-4-1-OLE-Reference/m-p/496442#M31947</link>
      <description>&lt;P&gt;Hello Casey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate the quick reply.&amp;nbsp; Unfortunately, I am unable to execute "seguide.exe /register" as administrator at this moment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;May I have another question? Under current circumstance,&amp;nbsp;will the&amp;nbsp;reference from EGScripting.dll appear&amp;nbsp;in VBA/Tools/Reference window and what is its displayed text? (I&amp;nbsp;have never seen it before&amp;nbsp;so&amp;nbsp;I don't know&amp;nbsp;what is the target look like). &amp;nbsp;I looked through the reference window&amp;nbsp;but did not see&amp;nbsp;anything similar. Maybe I missed something but I think if EGScripting.dll&amp;nbsp; is registered, it should appear there.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and have a good day,&lt;/P&gt;&lt;P&gt;Frank&lt;/P&gt;</description>
      <pubDate>Tue, 18 Sep 2018 01:40:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG-4-1-OLE-Reference/m-p/496442#M31947</guid>
      <dc:creator>syyang</dc:creator>
      <dc:date>2018-09-18T01:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: EG 4.1 OLE Reference</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG-4-1-OLE-Reference/m-p/496456#M31948</link>
      <description>&lt;P&gt;Hi Frank,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Actually, "seguide.exe /register" does not appear to be properly exporting and registering the type library (embedded in the SASEGScripting.dll) as I expected.&amp;nbsp; I confirmed it tries to (at least load/register), but was not working for me.&amp;nbsp; I'll have to investigate that separately.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, I had to follow the steps Chris posted to manually export and register, and they worked for me (on&amp;nbsp;32-bit EG 7.15)...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the exact command I used (run in a Windows command prompt as an administrator) (you may have to update it with your EG installation and .NET Framework directory paths):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe /tlb:"C:\Program Files (x86)\SASHome\x86\SASEnterpriseGuide\7.1\SASEGScripting.tlb" /codebase "C:\Program Files (x86)\SASHome\x86\SASEnterpriseGuide\7.1\SASEGScripting.dll"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And the output confirming proper export and registration...&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;C:\Windows\system32&amp;gt;C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe /tlb:"C:\Program Files (x86)\SASHome\x86\SASEnterpriseGuide\7.1\SASEGScripting.tlb" /codebase "C:\Program Files (x86)\SASHome\x86\SASEnterpriseGuide\7.1\SASEGScripting.dll"&lt;BR /&gt;Microsoft .NET Framework Assembly Registration Utility version 4.7.2556.0&lt;BR /&gt;for Microsoft .NET Framework version 4.7.2556.0&lt;BR /&gt;Copyright (C) Microsoft Corporation. All rights reserved.&lt;/P&gt;
&lt;P&gt;Types registered successfully&lt;BR /&gt;Assembly exported to 'C:\Program Files (x86)\SASHome\x86\SASEnterpriseGuide\7.1\SASEGScripting.tlb', and the type library was registered successfully&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Them run Chris' step #3 in the same command window.&amp;nbsp; Here is the exact command I used:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"C:\Program Files\SASHome\x86\Integration Technologies\RegTypeLib.exe" "C:\Program Files (x86)\SASHome\x86\SASEnterpriseGuide\7.1\SASEGScripting.tlb"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Note: If you have 64-bit EG, use the 64-bit RegTypeLib.exe instead.&amp;nbsp; For example:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;"C:\Program Files\SASHome\Integration Technologies\RegTypeLib.exe" "C:\Program Files\SASHome\SASEnterpriseGuide\7.1\SASEGScripting.tlb"&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then, when I open VBA References in Excel, SASEGScripting appears and can be used...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SASEGScriptingInVbaReferences.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/23335i23C28FCB74F2371F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SASEGScriptingInVbaReferences.png" alt="SASEGScriptingInVbaReferences.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Casey&lt;/P&gt;</description>
      <pubDate>Tue, 18 Sep 2018 04:42:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG-4-1-OLE-Reference/m-p/496456#M31948</guid>
      <dc:creator>CaseySmith</dc:creator>
      <dc:date>2018-09-18T04:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: EG 4.1 OLE Reference</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG-4-1-OLE-Reference/m-p/496460#M31949</link>
      <description>&lt;P&gt;Hello Casey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the light, it's beautiful.&amp;nbsp; I noticed the usage of RegAsm.exe from .NET directory... Anyway, I have to find the administrator permission and .NET library for me first.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Frank&lt;/P&gt;</description>
      <pubDate>Tue, 18 Sep 2018 04:51:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG-4-1-OLE-Reference/m-p/496460#M31949</guid>
      <dc:creator>syyang</dc:creator>
      <dc:date>2018-09-18T04:51:53Z</dc:date>
    </item>
  </channel>
</rss>

