.NET

Reply
Active Contributor
alankar
Posts: 41
Registered: ‎11-04-2004
Message 1 of 3 (98 Views)

XData problem

98 Views, 2 Replies
12-02-2005 04:27 AM
Hi,

I want to know whether a particular application name is registered in the Autocad or not ? I am adding XData application by following, But before this I want to check if application name is already registered or not ?
-------------------------------------------------------------
Dim tbl As RegAppTable = CType(myT.GetObject(db.RegAppTableId, OpenMode.ForWrite, False), RegAppTable)
tbl.add("ASD")
tm.AddNewlyCreatedDBObject(App, True)
------------------------------------------------------------

I am using VB.Net and ObjectARX2006 on AutoCAD map 3D 2006.

Please help me.

Regards,
Alankar
*Laurence Skoropinski
Message 2 of 3 (98 Views)

Re: XData problem

12-02-2005 04:49 AM in reply to: alankar
not sure about VB but in C#

tbl.Has("ASD")

Laurence
wrote in message news:5027523@discussion.autodesk.com...
Hi,

I want to know whether a particular application name is registered in the
Autocad or not ? I am adding XData application by following, But before this
I want to check if application name is already registered or not ?
-------------------------------------------------------------
Dim tbl As RegAppTable = CType(myT.GetObject(db.RegAppTableId,
OpenMode.ForWrite, False), RegAppTable)
tbl.add("ASD")
tm.AddNewlyCreatedDBObject(App, True)
------------------------------------------------------------

I am using VB.Net and ObjectARX2006 on AutoCAD map 3D 2006.

Please help me.

Regards,
Alankar
Active Contributor
alankar
Posts: 41
Registered: ‎11-04-2004
Message 3 of 3 (98 Views)

Re: XData problem

12-02-2005 04:55 AM in reply to: alankar
Thanks a lot Laurence,

This function also available in VB and when I used it my problem is solved.

Thanks again.

Alankar
Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.