<?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: in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/linked-data-w-o-handles/m-p/315643#M95381</link>
    <description>Robert -&lt;BR /&gt;
&lt;BR /&gt;
What functionality can you get with handles that you cannot get with DbConnect?&lt;BR /&gt;
&lt;BR /&gt;
Mark Holder&lt;BR /&gt;
&lt;BR /&gt;
"Robert P. Fahlin" wrote:&lt;BR /&gt;
&lt;BR /&gt;
&amp;gt; DBConnect is not the best tool for a functional App.</description>
    <pubDate>Wed, 23 Feb 2000 21:34:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2000-02-23T21:34:10Z</dc:date>
    <item>
      <title>Linked data w/o handles</title>
      <link>https://forums.autodesk.com/t5/vba-forum/linked-data-w-o-handles/m-p/315636#M95374</link>
      <description>&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;Mark, &lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;Is it of any benefit to attempt to link data w/o &lt;BR /&gt;
the use of handles? The application I'm designing has a module that writes &lt;BR /&gt;
information about a room, including RoomID, Description, Area, &amp;amp; Perimeter, &lt;BR /&gt;
and also stores the handle of the LWPolyline used to identify &amp;amp; calculate &lt;BR /&gt;
that information. I already have code to maintain/sync the handle info. But if I &lt;BR /&gt;
am going down the garden path here, please let me know. Or is my information of &lt;BR /&gt;
a different nature from yours?&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;BR /&gt;-- &lt;BR /&gt;R. Robert Bell, MCSE&lt;BR /&gt;Network &lt;BR /&gt;
Administrator (or, Modern-day Wizard)&lt;BR /&gt;(remove the "not." in my address for &lt;BR /&gt;
direct e-mail)&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Wed, 23 Feb 2000 15:04:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/linked-data-w-o-handles/m-p/315636#M95374</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-02-23T15:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: Linked data w/o handles</title>
      <link>https://forums.autodesk.com/t5/vba-forum/linked-data-w-o-handles/m-p/315637#M95375</link>
      <description>Robert -&lt;BR /&gt;
&lt;BR /&gt;
If your platform is A2K, I recommend DbConnect. There is some info on it&lt;BR /&gt;
in the VBA online reference. Also, check out the Connectivity NG&lt;BR /&gt;
(autodesk.autocad.connectivity).&lt;BR /&gt;
&lt;BR /&gt;
DbConnect provides API's to build and maintain links between entities&lt;BR /&gt;
and DBMS records. It is a good starting point for this type of&lt;BR /&gt;
application. Using handles is awkward.&lt;BR /&gt;
&lt;BR /&gt;
Mark Holder</description>
      <pubDate>Wed, 23 Feb 2000 18:03:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/linked-data-w-o-handles/m-p/315637#M95375</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-02-23T18:03:07Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/linked-data-w-o-handles/m-p/315638#M95376</link>
      <description>Doesn't that require the use of link templates? And is it true that link&lt;BR /&gt;
templates cannot be created via VB?&lt;BR /&gt;
&lt;BR /&gt;
--&lt;BR /&gt;
R. Robert Bell, MCSE&lt;BR /&gt;
Network Administrator (or, Modern-day Wizard)&lt;BR /&gt;
(remove the "not." in my address for direct e-mail)&lt;BR /&gt;
&lt;BR /&gt;
Mark Holder &lt;HOLDERM&gt; wrote in message&lt;BR /&gt;
news:38B420DB.17F98DA9@atscorporation.com...&lt;BR /&gt;
&amp;gt; Robert -&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; If your platform is A2K, I recommend DbConnect.&lt;/HOLDERM&gt;</description>
      <pubDate>Wed, 23 Feb 2000 18:06:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/linked-data-w-o-handles/m-p/315638#M95376</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-02-23T18:06:46Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/linked-data-w-o-handles/m-p/315639#M95377</link>
      <description>Robert -&lt;BR /&gt;
&lt;BR /&gt;
They can't be created directly via the object model exposed by DbConnect,&lt;BR /&gt;
but I adapt by inserting a dwg that already has the link templates I need&lt;BR /&gt;
into any dwg that needs them.&lt;BR /&gt;
&lt;BR /&gt;
If really necessary, an ARX app could be developed to expose the ability to&lt;BR /&gt;
create them via ActiveX. That is beyond my current skill set.&lt;BR /&gt;
&lt;BR /&gt;
Mark Holder&lt;BR /&gt;
&lt;BR /&gt;
"R. Robert Bell" wrote:&lt;BR /&gt;
&lt;BR /&gt;
&amp;gt; Doesn't that require the use of link templates? And is it true that link&lt;BR /&gt;
&amp;gt; templates cannot be created via VB?&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; --&lt;BR /&gt;
&amp;gt; R. Robert Bell, MCSE&lt;BR /&gt;
&amp;gt; Network Administrator (or, Modern-day Wizard)&lt;BR /&gt;
&amp;gt; (remove the "not." in my address for direct e-mail)&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Mark Holder &lt;HOLDERM&gt; wrote in message&lt;BR /&gt;
&amp;gt; news:38B420DB.17F98DA9@atscorporation.com...&lt;BR /&gt;
&amp;gt; &amp;gt; Robert -&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; If your platform is A2K, I recommend DbConnect.&lt;/HOLDERM&gt;</description>
      <pubDate>Wed, 23 Feb 2000 19:25:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/linked-data-w-o-handles/m-p/315639#M95377</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-02-23T19:25:30Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/linked-data-w-o-handles/m-p/315640#M95378</link>
      <description>DBConnect is not the best tool for a functional App.  Use the entity handle&lt;BR /&gt;
in your database and add a small piece of xdata to you entity i.e. "Room&lt;BR /&gt;
Number".  Use the drawing name and the entity handle to refer to records in&lt;BR /&gt;
your database.  If your drawing gets corrupted, or GOD forbid, AutoCAD&lt;BR /&gt;
crashes, you can use the xdata to re-link you data.&lt;BR /&gt;
&lt;BR /&gt;
Hope this helps...</description>
      <pubDate>Wed, 23 Feb 2000 19:43:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/linked-data-w-o-handles/m-p/315640#M95378</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-02-23T19:43:52Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/linked-data-w-o-handles/m-p/315641#M95379</link>
      <description>Hmm, two differing ideas. Do I ever love newsgroups! OK Robert, I have&lt;BR /&gt;
already taken the tack you posted, but I am curious as to your _reasons_ for&lt;BR /&gt;
avoiding DBConnect. I am not so far into my project that I cannot change my&lt;BR /&gt;
thinking (or programming).&lt;BR /&gt;
&lt;BR /&gt;
--&lt;BR /&gt;
R. Robert Bell, MCSE&lt;BR /&gt;
Network Administrator (or, Modern-day Wizard)&lt;BR /&gt;
(remove the "not." in my address for direct e-mail)&lt;BR /&gt;
&lt;BR /&gt;
Robert P. Fahlin &lt;FAHLINB&gt; wrote in message&lt;BR /&gt;
news:891cn7$ffc3@adesknews2.autodesk.com...&lt;BR /&gt;
&amp;gt; DBConnect is not the best tool for a functional App.  Use the entity&lt;BR /&gt;
handle&lt;BR /&gt;
&amp;gt; in your database and add a small piece of xdata to you entity i.e. "Room&lt;BR /&gt;
&amp;gt; Number".  Use the drawing name and the entity handle to refer to records&lt;BR /&gt;
in&lt;BR /&gt;
&amp;gt; your database.  If your drawing gets corrupted, or GOD forbid, AutoCAD&lt;BR /&gt;
&amp;gt; crashes, you can use the xdata to re-link you data.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Hope this helps...&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/FAHLINB&gt;</description>
      <pubDate>Wed, 23 Feb 2000 19:54:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/linked-data-w-o-handles/m-p/315641#M95379</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-02-23T19:54:15Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/linked-data-w-o-handles/m-p/315642#M95380</link>
      <description>Robert &amp;amp; Robert -&lt;BR /&gt;
&lt;BR /&gt;
Here are some observations:&lt;BR /&gt;
&lt;BR /&gt;
I been able to convert drawings linked to Access in R14 to Oracle in A2K without&lt;BR /&gt;
destroying the old links (although I can delete 14 links with DbConnect if I&lt;BR /&gt;
want). I can save as R14, and programs written for R14 still work.&lt;BR /&gt;
&lt;BR /&gt;
In 4 years, I have never lost any linkage using the ASI links due to drawing&lt;BR /&gt;
corruption (or any other cause). Obviously, I have only used DbConnect in A2K,&lt;BR /&gt;
but I used ASE/ASI extensively in R14.&lt;BR /&gt;
&lt;BR /&gt;
If you copy (with the copy command) an entity that was linked with DbConnect,&lt;BR /&gt;
the copy is automatically linked.&lt;BR /&gt;
&lt;BR /&gt;
If you WBLOCK entities, some of which have DbConnect links into a new drawing,&lt;BR /&gt;
the links are still there and work correctly in the new drawing. Same for&lt;BR /&gt;
copying and pasting into a new or existing drawing.&lt;BR /&gt;
&lt;BR /&gt;
If you break a linked polyline into 2 segments, both pieces automatically retain&lt;BR /&gt;
their links. If you explode one, each piece is still linked afterward.&lt;BR /&gt;
&lt;BR /&gt;
Also, the structure of the links can be examined by anyone familiar with&lt;BR /&gt;
DbConnect.&lt;BR /&gt;
&lt;BR /&gt;
Autodesk provides DbConnect as their top of the line tool for external database&lt;BR /&gt;
connectivity. If you do connectivity in A2K without it, you are wasting a&lt;BR /&gt;
valuable resource.&lt;BR /&gt;
&lt;BR /&gt;
Mark Holder&lt;BR /&gt;
&lt;BR /&gt;
"R. Robert Bell" wrote:&lt;BR /&gt;
&lt;BR /&gt;
&amp;gt; Hmm, two differing ideas. Do I ever love newsgroups! OK Robert, I have&lt;BR /&gt;
&amp;gt; already taken the tack you posted, but I am curious as to your _reasons_ for&lt;BR /&gt;
&amp;gt; avoiding DBConnect. I am not so far into my project that I cannot change my&lt;BR /&gt;
&amp;gt; thinking (or programming).&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; --&lt;BR /&gt;
&amp;gt; R. Robert Bell, MCSE&lt;BR /&gt;
&amp;gt; Network Administrator (or, Modern-day Wizard)&lt;BR /&gt;
&amp;gt; (remove the "not." in my address for direct e-mail)&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Robert P. Fahlin &lt;FAHLINB&gt; wrote in message&lt;BR /&gt;
&amp;gt; news:891cn7$ffc3@adesknews2.autodesk.com...&lt;BR /&gt;
&amp;gt; &amp;gt; DBConnect is not the best tool for a functional App.  Use the entity&lt;BR /&gt;
&amp;gt; handle&lt;BR /&gt;
&amp;gt; &amp;gt; in your database and add a small piece of xdata to you entity i.e. "Room&lt;BR /&gt;
&amp;gt; &amp;gt; Number".  Use the drawing name and the entity handle to refer to records&lt;BR /&gt;
&amp;gt; in&lt;BR /&gt;
&amp;gt; &amp;gt; your database.  If your drawing gets corrupted, or GOD forbid, AutoCAD&lt;BR /&gt;
&amp;gt; &amp;gt; crashes, you can use the xdata to re-link you data.&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; Hope this helps...&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;/FAHLINB&gt;</description>
      <pubDate>Wed, 23 Feb 2000 21:26:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/linked-data-w-o-handles/m-p/315642#M95380</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-02-23T21:26:36Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/linked-data-w-o-handles/m-p/315643#M95381</link>
      <description>Robert -&lt;BR /&gt;
&lt;BR /&gt;
What functionality can you get with handles that you cannot get with DbConnect?&lt;BR /&gt;
&lt;BR /&gt;
Mark Holder&lt;BR /&gt;
&lt;BR /&gt;
"Robert P. Fahlin" wrote:&lt;BR /&gt;
&lt;BR /&gt;
&amp;gt; DBConnect is not the best tool for a functional App.</description>
      <pubDate>Wed, 23 Feb 2000 21:34:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/linked-data-w-o-handles/m-p/315643#M95381</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-02-23T21:34:10Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/linked-data-w-o-handles/m-p/315644#M95382</link>
      <description>And Another Thing:&lt;BR /&gt;
&lt;BR /&gt;
With DbConnect, you don't have to modify the tables in your database to accomodate a&lt;BR /&gt;
drawing name (and path?) and handle. You can link directly on the primary key&lt;BR /&gt;
field(s) in your table. In most cases, that provides much faster lookup than a pair&lt;BR /&gt;
of text fields, even if an index is available.&lt;BR /&gt;
&lt;BR /&gt;
Mark Holder</description>
      <pubDate>Wed, 23 Feb 2000 21:39:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/linked-data-w-o-handles/m-p/315644#M95382</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-02-23T21:39:17Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/linked-data-w-o-handles/m-p/315645#M95383</link>
      <description>Ah, now I'm getting some nuggets!&lt;BR /&gt;
&lt;BR /&gt;
OK, so say I want to use link templates now. I'll be working on 100's of&lt;BR /&gt;
projects, in different folders (of course), with a unique database(s) for&lt;BR /&gt;
each project. Does the Insert method for importing links work in this case?&lt;BR /&gt;
&lt;BR /&gt;
--&lt;BR /&gt;
R. Robert Bell, MCSE&lt;BR /&gt;
Network Administrator (or, Modern-day Wizard)&lt;BR /&gt;
(remove the "not." in my address for direct e-mail)</description>
      <pubDate>Wed, 23 Feb 2000 21:40:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/linked-data-w-o-handles/m-p/315645#M95383</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-02-23T21:40:23Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/linked-data-w-o-handles/m-p/315646#M95384</link>
      <description>Robert -&lt;BR /&gt;
&lt;BR /&gt;
The short answer to your question is "Yes". Here's the LP:&lt;BR /&gt;
&lt;BR /&gt;
A fact I have not seen published by Autodesk is that you can create and delete&lt;BR /&gt;
links without connecting to the database at all. The only time you really have&lt;BR /&gt;
to be connected is while you are creating a new link template "manually" -&lt;BR /&gt;
through the DbConnect user interface. Using the Insert method, you can add link&lt;BR /&gt;
templates without connecting to the database.&lt;BR /&gt;
&lt;BR /&gt;
I'm assuming that all these databases share the same structure - at least as&lt;BR /&gt;
far as table names and primary key field names. Otherwise, the same link&lt;BR /&gt;
templates would not work - and you'd have to wear a dunce cap for asking that&lt;BR /&gt;
question &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
Mark Holder&lt;BR /&gt;
&lt;BR /&gt;
"R. Robert Bell" wrote:&lt;BR /&gt;
&lt;BR /&gt;
&amp;gt; Ah, now I'm getting some nuggets!&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; OK, so say I want to use link templates now. I'll be working on 100's of&lt;BR /&gt;
&amp;gt; projects, in different folders (of course), with a unique database(s) for&lt;BR /&gt;
&amp;gt; each project. Does the Insert method for importing links work in this case?&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; --&lt;BR /&gt;
&amp;gt; R. Robert Bell, MCSE&lt;BR /&gt;
&amp;gt; Network Administrator (or, Modern-day Wizard)&lt;BR /&gt;
&amp;gt; (remove the "not." in my address for direct e-mail)</description>
      <pubDate>Wed, 23 Feb 2000 22:12:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/linked-data-w-o-handles/m-p/315646#M95384</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-02-23T22:12:13Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/linked-data-w-o-handles/m-p/315647#M95385</link>
      <description>Dodged that bullet, at least! 8-)&lt;BR /&gt;
&lt;BR /&gt;
--&lt;BR /&gt;
R. Robert Bell, MCSE&lt;BR /&gt;
Network Administrator (or, Modern-day Wizard)&lt;BR /&gt;
(remove the "not." in my address for direct e-mail)</description>
      <pubDate>Wed, 23 Feb 2000 22:36:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/linked-data-w-o-handles/m-p/315647#M95385</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-02-23T22:36:46Z</dc:date>
    </item>
  </channel>
</rss>

