<?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: convert Application.Path from VBA to .net in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/convert-application-path-from-vba-to-net/m-p/1563125#M82611</link>
    <description>string sdllPath =&lt;BR /&gt;
System.Reflection.Assembly.GetExecutingAssembly().Location;&lt;BR /&gt;
&lt;BR /&gt;
&lt;WESLLEYWANG&gt; wrote in message news:5092626@discussion.autodesk.com...&lt;BR /&gt;
Hi,&lt;BR /&gt;
  I am convert one of my project from VBA to .net (C#). now I have problem&lt;BR /&gt;
to convert&lt;BR /&gt;
Application.Path&lt;BR /&gt;
to C#. I look everywhere but I can not find it. Should I have to look in&lt;BR /&gt;
Reflection ?&lt;BR /&gt;
&lt;BR /&gt;
I really appreciate your help&lt;BR /&gt;
&lt;BR /&gt;
Wes&lt;/WESLLEYWANG&gt;</description>
    <pubDate>Wed, 22 Feb 2006 01:00:36 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2006-02-22T01:00:36Z</dc:date>
    <item>
      <title>convert Application.Path from VBA to .net</title>
      <link>https://forums.autodesk.com/t5/net-forum/convert-application-path-from-vba-to-net/m-p/1563123#M82609</link>
      <description>Hi, &lt;BR /&gt;
  I am convert one of my project from VBA to .net (C#). now I have problem to convert &lt;BR /&gt;
Application.Path&lt;BR /&gt;
to C#. I look everywhere but I can not find it. Should I have to look in Reflection ? &lt;BR /&gt;
&lt;BR /&gt;
I really appreciate your help &lt;BR /&gt;
&lt;BR /&gt;
Wes</description>
      <pubDate>Tue, 21 Feb 2006 22:37:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/convert-application-path-from-vba-to-net/m-p/1563123#M82609</guid>
      <dc:creator>wesbird</dc:creator>
      <dc:date>2006-02-21T22:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: convert Application.Path from VBA to .net</title>
      <link>https://forums.autodesk.com/t5/net-forum/convert-application-path-from-vba-to-net/m-p/1563124#M82610</link>
      <description>What you are probably looking for is in the System.Windows.Forms namespace:&lt;BR /&gt;
&lt;BR /&gt;
System.Windows.Forms.Application.StartupPath</description>
      <pubDate>Tue, 21 Feb 2006 22:43:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/convert-application-path-from-vba-to-net/m-p/1563124#M82610</guid>
      <dc:creator>jbooth</dc:creator>
      <dc:date>2006-02-21T22:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: convert Application.Path from VBA to .net</title>
      <link>https://forums.autodesk.com/t5/net-forum/convert-application-path-from-vba-to-net/m-p/1563125#M82611</link>
      <description>string sdllPath =&lt;BR /&gt;
System.Reflection.Assembly.GetExecutingAssembly().Location;&lt;BR /&gt;
&lt;BR /&gt;
&lt;WESLLEYWANG&gt; wrote in message news:5092626@discussion.autodesk.com...&lt;BR /&gt;
Hi,&lt;BR /&gt;
  I am convert one of my project from VBA to .net (C#). now I have problem&lt;BR /&gt;
to convert&lt;BR /&gt;
Application.Path&lt;BR /&gt;
to C#. I look everywhere but I can not find it. Should I have to look in&lt;BR /&gt;
Reflection ?&lt;BR /&gt;
&lt;BR /&gt;
I really appreciate your help&lt;BR /&gt;
&lt;BR /&gt;
Wes&lt;/WESLLEYWANG&gt;</description>
      <pubDate>Wed, 22 Feb 2006 01:00:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/convert-application-path-from-vba-to-net/m-p/1563125#M82611</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-02-22T01:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: convert Application.Path from VBA to .net</title>
      <link>https://forums.autodesk.com/t5/net-forum/convert-application-path-from-vba-to-net/m-p/1563126#M82612</link>
      <description>Using System.Diagnostics;&lt;BR /&gt;
Using System.IO;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
{&lt;BR /&gt;
    string filename = Process.GetCurrentProcess().MainModule.FileName;&lt;BR /&gt;
    string path = Path.GetDirectoryName(filename);&lt;BR /&gt;
}&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
&lt;WESLLEYWANG&gt; wrote in message news:5092626@discussion.autodesk.com...&lt;BR /&gt;
Hi, &lt;BR /&gt;
  I am convert one of my project from VBA to .net (C#). now I have problem to convert &lt;BR /&gt;
Application.Path&lt;BR /&gt;
to C#. I look everywhere but I can not find it. Should I have to look in Reflection ? &lt;BR /&gt;
&lt;BR /&gt;
I really appreciate your help &lt;BR /&gt;
&lt;BR /&gt;
Wes&lt;/WESLLEYWANG&gt;</description>
      <pubDate>Wed, 22 Feb 2006 05:45:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/convert-application-path-from-vba-to-net/m-p/1563126#M82612</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-02-22T05:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: convert Application.Path from VBA to .net</title>
      <link>https://forums.autodesk.com/t5/net-forum/convert-application-path-from-vba-to-net/m-p/1563127#M82613</link>
      <description>Thank Jason, Mark and Tony. &lt;BR /&gt;
I tried all your code. Jason's and Tony's get exact what I want, like C:\Program Files\AutoCAD 2006  &lt;BR /&gt;
Mark's return the path of current dll file.   &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
thank you all again. &lt;BR /&gt;
Wes</description>
      <pubDate>Wed, 22 Feb 2006 13:44:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/convert-application-path-from-vba-to-net/m-p/1563127#M82613</guid>
      <dc:creator>wesbird</dc:creator>
      <dc:date>2006-02-22T13:44:19Z</dc:date>
    </item>
  </channel>
</rss>

