<?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: map2015 - problem to load .net-file in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/map2015-problem-to-load-net-file/m-p/8120295#M25422</link>
    <description>&lt;P&gt;You did not supply any details, so it is next to impossible to guess where it goes wrong.&lt;/P&gt;&lt;P&gt;In general you must be careful with I/O and other "external" operations in Event Handlers.&lt;/P&gt;&lt;P&gt;Also&amp;nbsp; using IExtensionApplication comes with limitations because AutoCAD or it's documents might be in the progress of getting loaded. It may take some time to detect the problem(s).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll use the PerDocumentClass&amp;nbsp; as an alternative to get these global operations getting initialised.&lt;/P&gt;</description>
    <pubDate>Tue, 10 Jul 2018 11:54:25 GMT</pubDate>
    <dc:creator>SENL1362</dc:creator>
    <dc:date>2018-07-10T11:54:25Z</dc:date>
    <item>
      <title>map2015 - problem to load .net-file</title>
      <link>https://forums.autodesk.com/t5/net-forum/map2015-problem-to-load-net-file/m-p/8111067#M25412</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have several dll-files and one of these i want to autoload by reg-key like&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\AutoCAD\R20.0\ACAD-E002\Applications\EBL_AcadLoader]
"LOADCTRLS"=dword:00000002
"MANAGED"=dword:00000001
"DESCRIPTION"="EBL_AcadLoader"
"LOADER"="C:\\Program Files\\Autodesk\\AutoCAD 2015\\Map\\bin\\EBL_AcadLoader.dll"&lt;/PRE&gt;&lt;P&gt;on several machines this works fine (win7).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;now i want to transfer to other machines (win7 and win10).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the function of the loaded dll will not show (autocomplete) in&amp;nbsp;command line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so i try to load by "netload" - there no error-message will show. but no error-message will show! possible command not show in commandline!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;did&amp;nbsp;some had an i idea to find the reason? is there a logfile of netload ??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards Jan&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jul 2018 11:47:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/map2015-problem-to-load-net-file/m-p/8111067#M25412</guid>
      <dc:creator>jan_tappenbeck</dc:creator>
      <dc:date>2018-07-05T11:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: map2015 - problem to load .net-file</title>
      <link>https://forums.autodesk.com/t5/net-forum/map2015-problem-to-load-net-file/m-p/8111547#M25413</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3357387"&gt;@jan_tappenbeck&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi!&lt;/P&gt;
&lt;P class="1530801040066"&gt;... ...&amp;nbsp;&lt;/P&gt;
&lt;P&gt;so i try to load by "netload" - there no error-message will show. but no error-message will show! possible command not show in commandline!!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
... ...&lt;BR /&gt;
&lt;P&gt;regards Jan&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I am not very sure what you mean here, but guess that you mean the you loaded the DLL with with command "NETLOAD".&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;AFTER the command "NETLOAD", what would happen would depend on what the DLL does. If it has implemented IExtenstionApplication, some code in the Initialize() would run immediately upon loading, which may result in exception, depending on the code in it. If exception does happen in Initialize() and it is not caught, AutoCAD would silently go ahead, but the code in the DLL would be not executable. That is, any CommandClasses/Methods defined in this DLL would be not useable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, in your case, if if the same DLL works OK when "NETLOADed" into some computers, but not in other computers, you would first examine code in IExtenstionApplication.Initialize() to see if there is some possibility of runtime exception not being handled, which could be caused by the differences of Windows configurations. Rule of thumb: ALWAYS use try...catch... block to wrap code in IExtensionApplication.Initialize().&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jul 2018 14:50:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/map2015-problem-to-load-net-file/m-p/8111547#M25413</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2018-07-05T14:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: map2015 - problem to load .net-file</title>
      <link>https://forums.autodesk.com/t5/net-forum/map2015-problem-to-load-net-file/m-p/8116930#M25414</link>
      <description>&lt;P&gt;dear norman,&lt;/P&gt;&lt;P&gt;this mid be the right way - by "IExtensionApplication".&lt;/P&gt;&lt;P&gt;my source, which works on other computers looks like&lt;/P&gt;&lt;PRE&gt;Public Class main
    Implements IExtensionApplication

    Public Shared IsAcLoaderInit As Boolean = False
    Dim docMgr As DocumentCollection = Application.DocumentManager
    Private _Editor As Autodesk.AutoCAD.EditorInput.Editor
    Private _acDoc As Autodesk.AutoCAD.ApplicationServices.Document
    Private _LogMode As Boolean = True
    Private _SrvMisc As New EBL.Service.Miscellaneous
    Private _SrvLogin As New EBL.Service.LoginAD
    Private _TryReport As New EBL.Logger.TryCatchReport
    Private _Loader As New EBL_AcadLoader.Loader

    Private _TableName_Organisation As String = "X:\AcadKonfiguration\Organisation.db"
    Private _connDBOrga As SQLiteConnection = Nothing

    ''' &amp;lt;summary&amp;gt;
    ''' Initalisierung der Funktion
    ''' &amp;lt;/summary&amp;gt;
    Public Sub Initialize() Implements IExtensionApplication.Initialize
        Try
            WriteInfo("EBL_AcadLoader initalisieren ...")

            AddHandler docMgr.DocumentCreated, AddressOf DocumentCreated

            WriteInfo("... Ende AcLoader")

        Catch ex As System.Exception
            _TryReport.Show("unerwarteter Fehler in EBL_AcadLoader &amp;gt; Initialize", ex.ToString)
        End Try
    End Sub

    Public Sub Terminate() Implements IExtensionApplication.Terminate
    End Sub&lt;/PRE&gt;&lt;P&gt;when i clean&amp;nbsp;clean complete to&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;    Public Sub Initialize() Implements IExtensionApplication.Initialize
        Try

        Catch ex As System.Exception
            _TryReport.Show("unerwarteter Fehler in EBL_AcadLoader &amp;gt; Initialize", ex.ToString)
        End Try
    End Sub

    Public Sub Terminate() Implements IExtensionApplication.Terminate
    End Sub&lt;/PRE&gt;&lt;P&gt;it will not works. Even no works, when reduce to min like&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;    Public Sub Initialize() Implements IExtensionApplication.Initialize
        Try

        Catch ex As System.Exception
            _TryReport.Show("unerwarteter Fehler in EBL_AcadLoader &amp;gt; Initialize", ex.ToString)
        End Try
    End Sub&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but when i delete the Initialize- and Terminate-function AND Implements IExtensionApplication then the dll will be loaded!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but now i missed the idea to get error-messages of the IExtensionApplication-Loading process.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;could you help me?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;reagards Jan&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2018 06:10:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/map2015-problem-to-load-net-file/m-p/8116930#M25414</guid>
      <dc:creator>jan_tappenbeck</dc:creator>
      <dc:date>2018-07-09T06:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: map2015 - problem to load .net-file</title>
      <link>https://forums.autodesk.com/t5/net-forum/map2015-problem-to-load-net-file/m-p/8116956#M25415</link>
      <description>&lt;P&gt;As Norman said a few years ago always use try/catches in the events, but you have to be careful with the actions in the catch part, so do you also "catch" errors in your _TryReport.Show?.&lt;/P&gt;&lt;P&gt;You might try to surround the first catch with a nested try catch as well, like:&lt;/P&gt;&lt;P&gt;try&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;catch&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; try&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _TryReport.Show()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; catch&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;} //end of first catch&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2018 06:40:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/map2015-problem-to-load-net-file/m-p/8116956#M25415</guid>
      <dc:creator>SENL1362</dc:creator>
      <dc:date>2018-07-09T06:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: map2015 - problem to load .net-file</title>
      <link>https://forums.autodesk.com/t5/net-forum/map2015-problem-to-load-net-file/m-p/8117028#M25416</link>
      <description>&lt;P&gt;hi !&lt;/P&gt;&lt;P&gt;_TryReport.Show may be possible. but the error even Comes by&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Implements IExtensionApplication

''' &amp;lt;summary&amp;gt;
''' Initalisierung der Funktion
''' &amp;lt;/summary&amp;gt;
Public Sub Initialize() Implements IExtensionApplication.Initialize
End Sub

Public Sub Terminate() Implements IExtensionApplication.Terminate
End Sub&lt;/PRE&gt;&lt;P&gt;regards Jan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2018 07:26:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/map2015-problem-to-load-net-file/m-p/8117028#M25416</guid>
      <dc:creator>jan_tappenbeck</dc:creator>
      <dc:date>2018-07-09T07:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: map2015 - problem to load .net-file</title>
      <link>https://forums.autodesk.com/t5/net-forum/map2015-problem-to-load-net-file/m-p/8117043#M25417</link>
      <description>&lt;P&gt;What if you put the variable initializations in the Try catch block, i.e: all dim statements with "=", i.e.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;_srvMisc= new EBL...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;instead of&lt;/P&gt;&lt;PRE&gt;Private _LogMode As Boolean = True
    Private _SrvMisc As New EBL.Service.Miscellaneous
    Private _SrvLogin As New EBL.Service.LoginAD
    Private _TryReport As New EBL.Logger.TryCatchReport
    Private _Loader As New EBL_AcadLoader.Loader&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2018 07:41:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/map2015-problem-to-load-net-file/m-p/8117043#M25417</guid>
      <dc:creator>SENL1362</dc:creator>
      <dc:date>2018-07-09T07:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: map2015 - problem to load .net-file</title>
      <link>https://forums.autodesk.com/t5/net-forum/map2015-problem-to-load-net-file/m-p/8117119#M25418</link>
      <description>&lt;P&gt;hi !&lt;/P&gt;&lt;P&gt;did i understand correct? now my code Looks like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Implements IExtensionApplication

    Public Shared IsAcLoaderInit As Boolean = False
    Dim docMgr As DocumentCollection = Application.DocumentManager
    Private _Editor As Autodesk.AutoCAD.EditorInput.Editor
    Private _acDoc As Autodesk.AutoCAD.ApplicationServices.Document

    Private _LogMode As Boolean
    Private _SrvMisc As EBL.Service.Miscellaneous
    Private _SrvLogin As EBL.Service.LoginAD
    Private _TryReport As EBL.Logger.TryCatchReport
    Private _Loader As EBL_AcadLoader.Loader

    Private _TableName_Organisation As String = "X:\AcadKonfiguration\Organisation.db"
    Private _connDBOrga As SQLiteConnection = Nothing

    Private Sub SearchError()
        Dim ErrorMsg As String = ""
        Try
            ErrorMsg = "_LogMode"
            _LogMode = True
            ErrorMsg = "_SrvMisc"
            _SrvMisc = New EBL.Service.Miscellaneous
            ErrorMsg = "_SrvLogin"
            _SrvLogin = New EBL.Service.LoginAD
            ErrorMsg = "_TryReport"
            _TryReport = New EBL.Logger.TryCatchReport
            ErrorMsg = "_Loader"
            _Loader = New EBL_AcadLoader.Loader
        Catch ex As System.Exception
            MsgBox("ErrorAt:= " &amp;amp; ErrorMsg &amp;amp; vbCrLf &amp;amp; _
                ex.ToString)
        End Try

    End Sub

    ''' &amp;lt;summary&amp;gt;
    ''' Initalisierung der Funktion
    ''' &amp;lt;/summary&amp;gt;
    Public Sub Initialize() Implements IExtensionApplication.Initialize
        SearchError()
    End Sub&lt;/PRE&gt;&lt;P&gt;but there will not show any&amp;nbsp;error-message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i try following test: when manuell load dll it was unable to delete - so the dll will beload.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is there a possiblity to try-catch "Implements IExtensionApplication"??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards Jan&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2018 08:34:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/map2015-problem-to-load-net-file/m-p/8117119#M25418</guid>
      <dc:creator>jan_tappenbeck</dc:creator>
      <dc:date>2018-07-09T08:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: map2015 - problem to load .net-file</title>
      <link>https://forums.autodesk.com/t5/net-forum/map2015-problem-to-load-net-file/m-p/8117154#M25419</link>
      <description>&lt;P&gt;The "execution" of you're DIM "=" statements&amp;nbsp; actions are done before Initialize(), thus without any try catch.&lt;/P&gt;&lt;P&gt;So if something goes wrong it's not catched, therefore i would put ALL these actions, (assignment/initialization except declaration) actions within the try/catch block&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The extra SearchError procedure is not necessary.&lt;/P&gt;&lt;P&gt;I dont do VB anymore so i can't show you the exact VB code but&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Private _TableName_Organisation As String = "X:\AcadKonfiguration\Organisation.db"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Private _connDBOrga As SQLiteConnection = Nothing&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Private _TableName_Organisation As String&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Private _connDBOrga As SQLiteConnection&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Public Sub Initialize() Implements IExtensionApplication.Initialize&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Dim ErrorMsg As String = ""&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Try&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;_TableName_= "X:\AcadKonfiguration\Organisation.db"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;_connDBOrga&amp;nbsp; = Nothing&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2018 08:57:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/map2015-problem-to-load-net-file/m-p/8117154#M25419</guid>
      <dc:creator>SENL1362</dc:creator>
      <dc:date>2018-07-09T08:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: map2015 - problem to load .net-file</title>
      <link>https://forums.autodesk.com/t5/net-forum/map2015-problem-to-load-net-file/m-p/8117737#M25420</link>
      <description>&lt;P&gt;As&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/846050"&gt;@SENL1362&lt;/a&gt;&amp;nbsp;correctly pointed out, if yoru class implement IExtensionApplication.Initialize(), DO NOT declare your variable with "New" keyword, because when the DLL is loaded and the Initialze() is to run, AutoCAD will instantiate the class in application context, thus, any code in the class' constructor, or any member is declared like "Private xxx As New... " would run BEFORE Initialize(). This could potentially result in exception not being handled and make the DLL loading fail.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, as my rule of thumb, if the DLL implements IExtensionApplication, I do not have code in the class' constructor, nor initialize any class-level member in declaration, do it in Initialize() with try...catch wrapped.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I did see you have removed&amp;nbsp;"New" keyword from member declaration after&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/846050"&gt;@SENL1362&lt;/a&gt;'s suggestion, but not sure why you still have the issue. You may try it from a clean project, and MAKE SURE ALL class members only initialized inside Initialze(), in your case, even something like docMgr, _Editor, _acDoc.... (in VB.NET, for variable of Object type, it default to Nothing when declared without "New" or "=").&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2018 13:48:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/map2015-problem-to-load-net-file/m-p/8117737#M25420</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2018-07-09T13:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: map2015 - problem to load .net-file</title>
      <link>https://forums.autodesk.com/t5/net-forum/map2015-problem-to-load-net-file/m-p/8120233#M25421</link>
      <description>&lt;P&gt;i have pure and restructure the code less like&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;    Implements IExtensionApplication

    Public Shared IsAcLoaderInit As Boolean = False
    Dim docMgr As DocumentCollection = Application.DocumentManager
    Private _Editor As Autodesk.AutoCAD.EditorInput.Editor
    Private _acDoc As Autodesk.AutoCAD.ApplicationServices.Document

    ''' &amp;lt;summary&amp;gt;
    ''' Initalisierung der Funktion
    ''' &amp;lt;/summary&amp;gt;
    Public Sub Initialize() Implements IExtensionApplication.Initialize
        ' Dim TryReport As New EBL.Logger.TryCatchReport
        Try
            WriteInfo("EBL_AcadLoader initalisieren ...")

            WriteInfo("Aufbau der DB-Verbindung ... Organisation")

            ''        ' HINWEIS 
            ''        ' Das Event wird erst registriert, nachdem das ERSTE Dokument KOMPLETT erstellt wurde !!!!
            CallLoader() ' deshalb muss hier die Anzahl zusätzlich ermittelt werden

            AddHandler docMgr.DocumentCreated, AddressOf DocumentCreated

            WriteInfo("Initalisierung abgeschlossen ...")
            WriteInfo("Weiter geht es mit den AutoCAD Ladefunktionen ...")

        Catch ex As System.Exception
            MsgBox("unerwarteter Fehler in EBL_AcadLoader &amp;gt; Initialize" &amp;amp; vbCrLf &amp;amp; ex.ToString)
            WriteInfo("unerwarteter Fehler in EBL_AcadLoader &amp;gt; Initialize" &amp;amp; vbCrLf &amp;amp; ex.ToString)
        End Try
    End Sub&lt;/PRE&gt;&lt;P&gt;and now it works - on the first machine before not works!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;current i don't understand why!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for help !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;reagards Jan&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jul 2018 11:30:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/map2015-problem-to-load-net-file/m-p/8120233#M25421</guid>
      <dc:creator>jan_tappenbeck</dc:creator>
      <dc:date>2018-07-10T11:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: map2015 - problem to load .net-file</title>
      <link>https://forums.autodesk.com/t5/net-forum/map2015-problem-to-load-net-file/m-p/8120295#M25422</link>
      <description>&lt;P&gt;You did not supply any details, so it is next to impossible to guess where it goes wrong.&lt;/P&gt;&lt;P&gt;In general you must be careful with I/O and other "external" operations in Event Handlers.&lt;/P&gt;&lt;P&gt;Also&amp;nbsp; using IExtensionApplication comes with limitations because AutoCAD or it's documents might be in the progress of getting loaded. It may take some time to detect the problem(s).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll use the PerDocumentClass&amp;nbsp; as an alternative to get these global operations getting initialised.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jul 2018 11:54:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/map2015-problem-to-load-net-file/m-p/8120295#M25422</guid>
      <dc:creator>SENL1362</dc:creator>
      <dc:date>2018-07-10T11:54:25Z</dc:date>
    </item>
  </channel>
</rss>

