<?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: VLA-object with no properties and methods in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/vla-object-with-no-properties-and-methods/m-p/1387341#M84253</link>
    <description>Search MSDN for the ClassInterfaceType and ProgID attributes.&lt;BR /&gt;
&lt;BR /&gt;
You're missing those, which is required for a class&lt;BR /&gt;
that is exposed via COM.&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;
"Matthew" &lt;MATTPALAN&gt; wrote in message news:4910016@discussion.autodesk.com...&lt;BR /&gt;
I have these attributes:&lt;BR /&gt;
&lt; assemblykeyfileattribute=""&gt;&lt;BR /&gt;
&lt; assemblytitle=""&gt;&lt;BR /&gt;
&lt; clscompliant=""&gt;&lt;BR /&gt;
&lt; comvisible=""&gt;&lt;BR /&gt;
&lt;BR /&gt;
and a Batch file:&lt;BR /&gt;
"C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin\sn.exe" -k &lt;BR /&gt;
PhysServer2.snk&lt;BR /&gt;
"C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin\tlbexp.exe" &lt;BR /&gt;
PhysServer2.dll /out:PhysServer2.tlb&lt;BR /&gt;
"C:\WINdows\Microsoft.NET\Framework\v1.1.4322\regasm.exe" &lt;BR /&gt;
/tlb:PhysServer2.tlb PhysSERVER2.dll&lt;BR /&gt;
"C:\Program Files\Microsoft Visual Studio .NET &lt;BR /&gt;
2003\SDK\v1.1\Bin\gacutil.exe" /i PhysServer2c.dll&lt;BR /&gt;
&lt;BR /&gt;
Here is the class. I have checked the 'Register for COM Interop' checkbox.&lt;BR /&gt;
Public Interface iTemperature&lt;BR /&gt;
    Property Celsius() As Double&lt;BR /&gt;
    Property Fahrenheit() As Double&lt;BR /&gt;
    Function GetCelsius() As Double&lt;BR /&gt;
    Function GetFahrenheit() As Double&lt;BR /&gt;
End Interface&lt;BR /&gt;
&lt;BR /&gt;
Public Class NET_Temperature&lt;BR /&gt;
    Implements iTemperature&lt;BR /&gt;
&lt;BR /&gt;
    Private mdblCelsius As Double&lt;BR /&gt;
    Private mdblFahrenheit As Double&lt;BR /&gt;
&lt;BR /&gt;
    Public Property Celsius() As Double _&lt;BR /&gt;
     Implements iTemperature.Celsius&lt;BR /&gt;
        Get&lt;BR /&gt;
            Celsius = mdblCelsius&lt;BR /&gt;
        End Get&lt;BR /&gt;
        Set(ByVal Value As Double)&lt;BR /&gt;
            mdblCelsius = Value&lt;BR /&gt;
            mdblFahrenheit = ((Value * 9) / 5) + 32&lt;BR /&gt;
        End Set&lt;BR /&gt;
    End Property&lt;BR /&gt;
&lt;BR /&gt;
    Public Property Fahrenheit() As Double _&lt;BR /&gt;
     Implements iTemperature.Fahrenheit&lt;BR /&gt;
        Get&lt;BR /&gt;
            Fahrenheit = mdblFahrenheit&lt;BR /&gt;
        End Get&lt;BR /&gt;
        Set(ByVal Value As Double)&lt;BR /&gt;
            mdblFahrenheit = Value&lt;BR /&gt;
            mdblCelsius = ((Value - 32) * 5) / 9&lt;BR /&gt;
        End Set&lt;BR /&gt;
    End Property&lt;BR /&gt;
&lt;BR /&gt;
    Public Function GetCelsius() As Double _&lt;BR /&gt;
     Implements iTemperature.GetCelsius&lt;BR /&gt;
        GetCelsius = mdblCelsius&lt;BR /&gt;
    End Function&lt;BR /&gt;
&lt;BR /&gt;
    Public Function GetFahrenheit() As Double _&lt;BR /&gt;
     Implements iTemperature.GetFahrenheit&lt;BR /&gt;
        GetFahrenheit = mdblFahrenheit&lt;BR /&gt;
    End Function&lt;BR /&gt;
End Class&lt;BR /&gt;
&lt;BR /&gt;
Thanks again.&lt;BR /&gt;
Matthew&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Tony Tanzillo" &lt;TONY.TANZILLO&gt; wrote in message &lt;BR /&gt;
news:4909714@discussion.autodesk.com...&lt;BR /&gt;
Did you check 'Register for COM Interop' in your&lt;BR /&gt;
project settings?  If not, post your code if it is&lt;BR /&gt;
not ummmm proprietary.&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;
"Darcy" &lt;DARCYDOHRMAN&gt; wrote in message &lt;BR /&gt;
news:4909625@discussion.autodesk.com...&lt;BR /&gt;
I have compiled a class library that is exposed to com and I can&lt;BR /&gt;
(setq aa (vla-getinterfaceobject acadobj "ClassLibrary4.NET_Temp"))&lt;BR /&gt;
#&lt;VLA-OBJECT _net_temperature="" 0f2f000c=""&gt;&lt;BR /&gt;
_$ (vlax-dump-object aa t)&lt;BR /&gt;
it returns:&lt;BR /&gt;
; _NET_Temperature: nil&lt;BR /&gt;
; No properties&lt;BR /&gt;
; No methods&lt;BR /&gt;
T&lt;BR /&gt;
&lt;BR /&gt;
How do I setup the properties and methods to be able to use them from lisp?&lt;BR /&gt;
I am still trying to implement:&lt;BR /&gt;
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/callcomcomp.asp&lt;BR /&gt;
&lt;BR /&gt;
Any help would be greatly appreciated.&lt;BR /&gt;
Mathew&lt;/VLA-OBJECT&gt;&lt;/DARCYDOHRMAN&gt;&lt;/TONY.TANZILLO&gt;&lt;/&gt;&lt;/&gt;&lt;/&gt;&lt;/&gt;&lt;/MATTPALAN&gt;</description>
    <pubDate>Mon, 25 Jul 2005 22:59:47 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2005-07-25T22:59:47Z</dc:date>
    <item>
      <title>VLA-object with no properties and methods</title>
      <link>https://forums.autodesk.com/t5/net-forum/vla-object-with-no-properties-and-methods/m-p/1387338#M84250</link>
      <description>I have compiled a class library that is exposed to com and I can&lt;BR /&gt;
(setq aa (vla-getinterfaceobject acadobj "ClassLibrary4.NET_Temp"))&lt;BR /&gt;
#&lt;VLA-OBJECT _net_temperature="" 0f2f000c=""&gt;&lt;BR /&gt;
_$ (vlax-dump-object aa t)&lt;BR /&gt;
it returns:&lt;BR /&gt;
; _NET_Temperature: nil&lt;BR /&gt;
; No properties&lt;BR /&gt;
; No methods&lt;BR /&gt;
T&lt;BR /&gt;
&lt;BR /&gt;
How do I setup the properties and methods to be able to use them from lisp?&lt;BR /&gt;
I am still trying to implement:&lt;BR /&gt;
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/callcomcomp.asp&lt;BR /&gt;
&lt;BR /&gt;
Any help would be greatly appreciated.&lt;BR /&gt;
Mathew&lt;/VLA-OBJECT&gt;</description>
      <pubDate>Sun, 24 Jul 2005 20:58:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/vla-object-with-no-properties-and-methods/m-p/1387338#M84250</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-07-24T20:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: VLA-object with no properties and methods</title>
      <link>https://forums.autodesk.com/t5/net-forum/vla-object-with-no-properties-and-methods/m-p/1387339#M84251</link>
      <description>Did you check 'Register for COM Interop' in your&lt;BR /&gt;
project settings?  If not, post your code if it is&lt;BR /&gt;
not ummmm proprietary.&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;
"Darcy" &lt;DARCYDOHRMAN&gt; wrote in message news:4909625@discussion.autodesk.com...&lt;BR /&gt;
I have compiled a class library that is exposed to com and I can&lt;BR /&gt;
(setq aa (vla-getinterfaceobject acadobj "ClassLibrary4.NET_Temp"))&lt;BR /&gt;
#&lt;VLA-OBJECT _net_temperature="" 0f2f000c=""&gt;&lt;BR /&gt;
_$ (vlax-dump-object aa t)&lt;BR /&gt;
it returns:&lt;BR /&gt;
; _NET_Temperature: nil&lt;BR /&gt;
; No properties&lt;BR /&gt;
; No methods&lt;BR /&gt;
T&lt;BR /&gt;
&lt;BR /&gt;
How do I setup the properties and methods to be able to use them from lisp?&lt;BR /&gt;
I am still trying to implement:&lt;BR /&gt;
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/callcomcomp.asp&lt;BR /&gt;
&lt;BR /&gt;
Any help would be greatly appreciated.&lt;BR /&gt;
Mathew&lt;/VLA-OBJECT&gt;&lt;/DARCYDOHRMAN&gt;</description>
      <pubDate>Mon, 25 Jul 2005 05:11:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/vla-object-with-no-properties-and-methods/m-p/1387339#M84251</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-07-25T05:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: VLA-object with no properties and methods</title>
      <link>https://forums.autodesk.com/t5/net-forum/vla-object-with-no-properties-and-methods/m-p/1387340#M84252</link>
      <description>I have these attributes:&lt;BR /&gt;
&lt; assemblykeyfileattribute=""&gt;&lt;BR /&gt;
&lt; assemblytitle=""&gt;&lt;BR /&gt;
&lt; clscompliant=""&gt;&lt;BR /&gt;
&lt; comvisible=""&gt;&lt;BR /&gt;
&lt;BR /&gt;
and a Batch file:&lt;BR /&gt;
"C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin\sn.exe" -k &lt;BR /&gt;
PhysServer2.snk&lt;BR /&gt;
"C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin\tlbexp.exe" &lt;BR /&gt;
PhysServer2.dll /out:PhysServer2.tlb&lt;BR /&gt;
"C:\WINdows\Microsoft.NET\Framework\v1.1.4322\regasm.exe" &lt;BR /&gt;
/tlb:PhysServer2.tlb PhysSERVER2.dll&lt;BR /&gt;
"C:\Program Files\Microsoft Visual Studio .NET &lt;BR /&gt;
2003\SDK\v1.1\Bin\gacutil.exe" /i PhysServer2c.dll&lt;BR /&gt;
&lt;BR /&gt;
Here is the class. I have checked the 'Register for COM Interop' checkbox.&lt;BR /&gt;
Public Interface iTemperature&lt;BR /&gt;
    Property Celsius() As Double&lt;BR /&gt;
    Property Fahrenheit() As Double&lt;BR /&gt;
    Function GetCelsius() As Double&lt;BR /&gt;
    Function GetFahrenheit() As Double&lt;BR /&gt;
End Interface&lt;BR /&gt;
&lt;BR /&gt;
Public Class NET_Temperature&lt;BR /&gt;
    Implements iTemperature&lt;BR /&gt;
&lt;BR /&gt;
    Private mdblCelsius As Double&lt;BR /&gt;
    Private mdblFahrenheit As Double&lt;BR /&gt;
&lt;BR /&gt;
    Public Property Celsius() As Double _&lt;BR /&gt;
     Implements iTemperature.Celsius&lt;BR /&gt;
        Get&lt;BR /&gt;
            Celsius = mdblCelsius&lt;BR /&gt;
        End Get&lt;BR /&gt;
        Set(ByVal Value As Double)&lt;BR /&gt;
            mdblCelsius = Value&lt;BR /&gt;
            mdblFahrenheit = ((Value * 9) / 5) + 32&lt;BR /&gt;
        End Set&lt;BR /&gt;
    End Property&lt;BR /&gt;
&lt;BR /&gt;
    Public Property Fahrenheit() As Double _&lt;BR /&gt;
     Implements iTemperature.Fahrenheit&lt;BR /&gt;
        Get&lt;BR /&gt;
            Fahrenheit = mdblFahrenheit&lt;BR /&gt;
        End Get&lt;BR /&gt;
        Set(ByVal Value As Double)&lt;BR /&gt;
            mdblFahrenheit = Value&lt;BR /&gt;
            mdblCelsius = ((Value - 32) * 5) / 9&lt;BR /&gt;
        End Set&lt;BR /&gt;
    End Property&lt;BR /&gt;
&lt;BR /&gt;
    Public Function GetCelsius() As Double _&lt;BR /&gt;
     Implements iTemperature.GetCelsius&lt;BR /&gt;
        GetCelsius = mdblCelsius&lt;BR /&gt;
    End Function&lt;BR /&gt;
&lt;BR /&gt;
    Public Function GetFahrenheit() As Double _&lt;BR /&gt;
     Implements iTemperature.GetFahrenheit&lt;BR /&gt;
        GetFahrenheit = mdblFahrenheit&lt;BR /&gt;
    End Function&lt;BR /&gt;
End Class&lt;BR /&gt;
&lt;BR /&gt;
Thanks again.&lt;BR /&gt;
Matthew&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Tony Tanzillo" &lt;TONY.TANZILLO&gt; wrote in message &lt;BR /&gt;
news:4909714@discussion.autodesk.com...&lt;BR /&gt;
Did you check 'Register for COM Interop' in your&lt;BR /&gt;
project settings?  If not, post your code if it is&lt;BR /&gt;
not ummmm proprietary.&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;
"Darcy" &lt;DARCYDOHRMAN&gt; wrote in message &lt;BR /&gt;
news:4909625@discussion.autodesk.com...&lt;BR /&gt;
I have compiled a class library that is exposed to com and I can&lt;BR /&gt;
(setq aa (vla-getinterfaceobject acadobj "ClassLibrary4.NET_Temp"))&lt;BR /&gt;
#&lt;VLA-OBJECT _net_temperature="" 0f2f000c=""&gt;&lt;BR /&gt;
_$ (vlax-dump-object aa t)&lt;BR /&gt;
it returns:&lt;BR /&gt;
; _NET_Temperature: nil&lt;BR /&gt;
; No properties&lt;BR /&gt;
; No methods&lt;BR /&gt;
T&lt;BR /&gt;
&lt;BR /&gt;
How do I setup the properties and methods to be able to use them from lisp?&lt;BR /&gt;
I am still trying to implement:&lt;BR /&gt;
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/callcomcomp.asp&lt;BR /&gt;
&lt;BR /&gt;
Any help would be greatly appreciated.&lt;BR /&gt;
Mathew&lt;/VLA-OBJECT&gt;&lt;/DARCYDOHRMAN&gt;&lt;/TONY.TANZILLO&gt;&lt;/&gt;&lt;/&gt;&lt;/&gt;&lt;/&gt;</description>
      <pubDate>Mon, 25 Jul 2005 14:35:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/vla-object-with-no-properties-and-methods/m-p/1387340#M84252</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-07-25T14:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: VLA-object with no properties and methods</title>
      <link>https://forums.autodesk.com/t5/net-forum/vla-object-with-no-properties-and-methods/m-p/1387341#M84253</link>
      <description>Search MSDN for the ClassInterfaceType and ProgID attributes.&lt;BR /&gt;
&lt;BR /&gt;
You're missing those, which is required for a class&lt;BR /&gt;
that is exposed via COM.&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;
"Matthew" &lt;MATTPALAN&gt; wrote in message news:4910016@discussion.autodesk.com...&lt;BR /&gt;
I have these attributes:&lt;BR /&gt;
&lt; assemblykeyfileattribute=""&gt;&lt;BR /&gt;
&lt; assemblytitle=""&gt;&lt;BR /&gt;
&lt; clscompliant=""&gt;&lt;BR /&gt;
&lt; comvisible=""&gt;&lt;BR /&gt;
&lt;BR /&gt;
and a Batch file:&lt;BR /&gt;
"C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin\sn.exe" -k &lt;BR /&gt;
PhysServer2.snk&lt;BR /&gt;
"C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin\tlbexp.exe" &lt;BR /&gt;
PhysServer2.dll /out:PhysServer2.tlb&lt;BR /&gt;
"C:\WINdows\Microsoft.NET\Framework\v1.1.4322\regasm.exe" &lt;BR /&gt;
/tlb:PhysServer2.tlb PhysSERVER2.dll&lt;BR /&gt;
"C:\Program Files\Microsoft Visual Studio .NET &lt;BR /&gt;
2003\SDK\v1.1\Bin\gacutil.exe" /i PhysServer2c.dll&lt;BR /&gt;
&lt;BR /&gt;
Here is the class. I have checked the 'Register for COM Interop' checkbox.&lt;BR /&gt;
Public Interface iTemperature&lt;BR /&gt;
    Property Celsius() As Double&lt;BR /&gt;
    Property Fahrenheit() As Double&lt;BR /&gt;
    Function GetCelsius() As Double&lt;BR /&gt;
    Function GetFahrenheit() As Double&lt;BR /&gt;
End Interface&lt;BR /&gt;
&lt;BR /&gt;
Public Class NET_Temperature&lt;BR /&gt;
    Implements iTemperature&lt;BR /&gt;
&lt;BR /&gt;
    Private mdblCelsius As Double&lt;BR /&gt;
    Private mdblFahrenheit As Double&lt;BR /&gt;
&lt;BR /&gt;
    Public Property Celsius() As Double _&lt;BR /&gt;
     Implements iTemperature.Celsius&lt;BR /&gt;
        Get&lt;BR /&gt;
            Celsius = mdblCelsius&lt;BR /&gt;
        End Get&lt;BR /&gt;
        Set(ByVal Value As Double)&lt;BR /&gt;
            mdblCelsius = Value&lt;BR /&gt;
            mdblFahrenheit = ((Value * 9) / 5) + 32&lt;BR /&gt;
        End Set&lt;BR /&gt;
    End Property&lt;BR /&gt;
&lt;BR /&gt;
    Public Property Fahrenheit() As Double _&lt;BR /&gt;
     Implements iTemperature.Fahrenheit&lt;BR /&gt;
        Get&lt;BR /&gt;
            Fahrenheit = mdblFahrenheit&lt;BR /&gt;
        End Get&lt;BR /&gt;
        Set(ByVal Value As Double)&lt;BR /&gt;
            mdblFahrenheit = Value&lt;BR /&gt;
            mdblCelsius = ((Value - 32) * 5) / 9&lt;BR /&gt;
        End Set&lt;BR /&gt;
    End Property&lt;BR /&gt;
&lt;BR /&gt;
    Public Function GetCelsius() As Double _&lt;BR /&gt;
     Implements iTemperature.GetCelsius&lt;BR /&gt;
        GetCelsius = mdblCelsius&lt;BR /&gt;
    End Function&lt;BR /&gt;
&lt;BR /&gt;
    Public Function GetFahrenheit() As Double _&lt;BR /&gt;
     Implements iTemperature.GetFahrenheit&lt;BR /&gt;
        GetFahrenheit = mdblFahrenheit&lt;BR /&gt;
    End Function&lt;BR /&gt;
End Class&lt;BR /&gt;
&lt;BR /&gt;
Thanks again.&lt;BR /&gt;
Matthew&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Tony Tanzillo" &lt;TONY.TANZILLO&gt; wrote in message &lt;BR /&gt;
news:4909714@discussion.autodesk.com...&lt;BR /&gt;
Did you check 'Register for COM Interop' in your&lt;BR /&gt;
project settings?  If not, post your code if it is&lt;BR /&gt;
not ummmm proprietary.&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;
"Darcy" &lt;DARCYDOHRMAN&gt; wrote in message &lt;BR /&gt;
news:4909625@discussion.autodesk.com...&lt;BR /&gt;
I have compiled a class library that is exposed to com and I can&lt;BR /&gt;
(setq aa (vla-getinterfaceobject acadobj "ClassLibrary4.NET_Temp"))&lt;BR /&gt;
#&lt;VLA-OBJECT _net_temperature="" 0f2f000c=""&gt;&lt;BR /&gt;
_$ (vlax-dump-object aa t)&lt;BR /&gt;
it returns:&lt;BR /&gt;
; _NET_Temperature: nil&lt;BR /&gt;
; No properties&lt;BR /&gt;
; No methods&lt;BR /&gt;
T&lt;BR /&gt;
&lt;BR /&gt;
How do I setup the properties and methods to be able to use them from lisp?&lt;BR /&gt;
I am still trying to implement:&lt;BR /&gt;
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/callcomcomp.asp&lt;BR /&gt;
&lt;BR /&gt;
Any help would be greatly appreciated.&lt;BR /&gt;
Mathew&lt;/VLA-OBJECT&gt;&lt;/DARCYDOHRMAN&gt;&lt;/TONY.TANZILLO&gt;&lt;/&gt;&lt;/&gt;&lt;/&gt;&lt;/&gt;&lt;/MATTPALAN&gt;</description>
      <pubDate>Mon, 25 Jul 2005 22:59:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/vla-object-with-no-properties-and-methods/m-p/1387341#M84253</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-07-25T22:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: VLA-object with no properties and methods</title>
      <link>https://forums.autodesk.com/t5/net-forum/vla-object-with-no-properties-and-methods/m-p/1387342#M84254</link>
      <description>Thanks Tony&lt;BR /&gt;
&lt;BR /&gt;
I posted to the Microsoft news group as well. Someone over there said that &lt;BR /&gt;
the Strong Name property page was in the Bata, and they took it out of the &lt;BR /&gt;
final release.&lt;BR /&gt;
&lt;BR /&gt;
Matthew&lt;BR /&gt;
&lt;BR /&gt;
"Tony Tanzillo" &lt;TONY.TANZILLO&gt; wrote in message &lt;BR /&gt;
news:4910636@discussion.autodesk.com...&lt;BR /&gt;
Search MSDN for the ClassInterfaceType and ProgID attributes.&lt;BR /&gt;
&lt;BR /&gt;
You're missing those, which is required for a class&lt;BR /&gt;
that is exposed via COM.&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;
"Matthew" &lt;MATTPALAN&gt; wrote in message &lt;BR /&gt;
news:4910016@discussion.autodesk.com...&lt;BR /&gt;
I have these attributes:&lt;BR /&gt;
&lt; assemblykeyfileattribute=""&gt;&lt;BR /&gt;
&lt; assemblytitle=""&gt;&lt;BR /&gt;
&lt; clscompliant=""&gt;&lt;BR /&gt;
&lt; comvisible=""&gt;&lt;BR /&gt;
&lt;BR /&gt;
and a Batch file:&lt;BR /&gt;
"C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin\sn.exe" -k&lt;BR /&gt;
PhysServer2.snk&lt;BR /&gt;
"C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin\tlbexp.exe"&lt;BR /&gt;
PhysServer2.dll /out:PhysServer2.tlb&lt;BR /&gt;
"C:\WINdows\Microsoft.NET\Framework\v1.1.4322\regasm.exe"&lt;BR /&gt;
/tlb:PhysServer2.tlb PhysSERVER2.dll&lt;BR /&gt;
"C:\Program Files\Microsoft Visual Studio .NET&lt;BR /&gt;
2003\SDK\v1.1\Bin\gacutil.exe" /i PhysServer2c.dll&lt;BR /&gt;
&lt;BR /&gt;
Here is the class. I have checked the 'Register for COM Interop' checkbox.&lt;BR /&gt;
Public Interface iTemperature&lt;BR /&gt;
    Property Celsius() As Double&lt;BR /&gt;
    Property Fahrenheit() As Double&lt;BR /&gt;
    Function GetCelsius() As Double&lt;BR /&gt;
    Function GetFahrenheit() As Double&lt;BR /&gt;
End Interface&lt;BR /&gt;
&lt;BR /&gt;
Public Class NET_Temperature&lt;BR /&gt;
    Implements iTemperature&lt;BR /&gt;
&lt;BR /&gt;
    Private mdblCelsius As Double&lt;BR /&gt;
    Private mdblFahrenheit As Double&lt;BR /&gt;
&lt;BR /&gt;
    Public Property Celsius() As Double _&lt;BR /&gt;
     Implements iTemperature.Celsius&lt;BR /&gt;
        Get&lt;BR /&gt;
            Celsius = mdblCelsius&lt;BR /&gt;
        End Get&lt;BR /&gt;
        Set(ByVal Value As Double)&lt;BR /&gt;
            mdblCelsius = Value&lt;BR /&gt;
            mdblFahrenheit = ((Value * 9) / 5) + 32&lt;BR /&gt;
        End Set&lt;BR /&gt;
    End Property&lt;BR /&gt;
&lt;BR /&gt;
    Public Property Fahrenheit() As Double _&lt;BR /&gt;
     Implements iTemperature.Fahrenheit&lt;BR /&gt;
        Get&lt;BR /&gt;
            Fahrenheit = mdblFahrenheit&lt;BR /&gt;
        End Get&lt;BR /&gt;
        Set(ByVal Value As Double)&lt;BR /&gt;
            mdblFahrenheit = Value&lt;BR /&gt;
            mdblCelsius = ((Value - 32) * 5) / 9&lt;BR /&gt;
        End Set&lt;BR /&gt;
    End Property&lt;BR /&gt;
&lt;BR /&gt;
    Public Function GetCelsius() As Double _&lt;BR /&gt;
     Implements iTemperature.GetCelsius&lt;BR /&gt;
        GetCelsius = mdblCelsius&lt;BR /&gt;
    End Function&lt;BR /&gt;
&lt;BR /&gt;
    Public Function GetFahrenheit() As Double _&lt;BR /&gt;
     Implements iTemperature.GetFahrenheit&lt;BR /&gt;
        GetFahrenheit = mdblFahrenheit&lt;BR /&gt;
    End Function&lt;BR /&gt;
End Class&lt;BR /&gt;
&lt;BR /&gt;
Thanks again.&lt;BR /&gt;
Matthew&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Tony Tanzillo" &lt;TONY.TANZILLO&gt; wrote in message&lt;BR /&gt;
news:4909714@discussion.autodesk.com...&lt;BR /&gt;
Did you check 'Register for COM Interop' in your&lt;BR /&gt;
project settings?  If not, post your code if it is&lt;BR /&gt;
not ummmm proprietary.&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;
"Darcy" &lt;DARCYDOHRMAN&gt; wrote in message&lt;BR /&gt;
news:4909625@discussion.autodesk.com...&lt;BR /&gt;
I have compiled a class library that is exposed to com and I can&lt;BR /&gt;
(setq aa (vla-getinterfaceobject acadobj "ClassLibrary4.NET_Temp"))&lt;BR /&gt;
#&lt;VLA-OBJECT _net_temperature="" 0f2f000c=""&gt;&lt;BR /&gt;
_$ (vlax-dump-object aa t)&lt;BR /&gt;
it returns:&lt;BR /&gt;
; _NET_Temperature: nil&lt;BR /&gt;
; No properties&lt;BR /&gt;
; No methods&lt;BR /&gt;
T&lt;BR /&gt;
&lt;BR /&gt;
How do I setup the properties and methods to be able to use them from lisp?&lt;BR /&gt;
I am still trying to implement:&lt;BR /&gt;
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/callcomcomp.asp&lt;BR /&gt;
&lt;BR /&gt;
Any help would be greatly appreciated.&lt;BR /&gt;
Mathew&lt;/VLA-OBJECT&gt;&lt;/DARCYDOHRMAN&gt;&lt;/TONY.TANZILLO&gt;&lt;/&gt;&lt;/&gt;&lt;/&gt;&lt;/&gt;&lt;/MATTPALAN&gt;&lt;/TONY.TANZILLO&gt;</description>
      <pubDate>Wed, 27 Jul 2005 00:08:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/vla-object-with-no-properties-and-methods/m-p/1387342#M84254</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-07-27T00:08:31Z</dc:date>
    </item>
  </channel>
</rss>

