<?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 ESRI GeoDatabase issue - non-issue for New ShapefileWorkspaceFactory keyword in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/esri-geodatabase-issue-non-issue-for-new/m-p/654264#M17550</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Good Afternoon,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was getting a "user-defined type not defined" error at compile time on the following line:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;Dim pWSF as IWorkspaceFactory2 set pWSF = New ShapefileWorkspaceFactory&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I looked at IWorkpaceFactory2 in help it says it is in the esriGeoDatabase library.&amp;nbsp; I always had the reference to that library selected.&amp;nbsp; (I tried IWorkspaceFactory as well and got the same error).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have many programs where I use this line, so I have opened a few of them and they compiled fine.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After comparing the list of referenced libraries from the working and not working projects I found the one not working didnt have a reference to ESRI Editor EXT, ESRI GeoAnalyst, Microsoft ActiveX Data Objects 2.8, while the one that worked did.&amp;nbsp; Also the one that was not compiling had references to a bunch of libraries with GeoDatabase in the name, but the one that compiles did not.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I made the switches where necessary and now both compile.&amp;nbsp; BUT what library is the "shapefileworkspacefactory" keyword in, and why would it not be with the library that the associated object is in?&amp;nbsp; Finally, how did I figure this out before, and why has it not been an issue until now?&amp;nbsp; I am thinking the answer to my last question is more a case of just happening to need random other objects from the libraries I was not referring to until now...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If anyone has any ideas, comments, experience on this&amp;nbsp; I'd love to hear them.&amp;nbsp; Especially if you know a more effeicent troubleshooting routine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Take care,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Craig&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Setup:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcGIS 9.3.1 with networked license server (ArcINFO license, most ESRI extensions available) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;VB 6.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Windows XP Pro 32bit&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Sep 2012 16:45:56 GMT</pubDate>
    <dc:creator>CraigGraham</dc:creator>
    <dc:date>2012-09-05T16:45:56Z</dc:date>
    <item>
      <title>ESRI GeoDatabase issue - non-issue for New ShapefileWorkspaceFactory keyword</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/esri-geodatabase-issue-non-issue-for-new/m-p/654264#M17550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Good Afternoon,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was getting a "user-defined type not defined" error at compile time on the following line:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;Dim pWSF as IWorkspaceFactory2 set pWSF = New ShapefileWorkspaceFactory&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I looked at IWorkpaceFactory2 in help it says it is in the esriGeoDatabase library.&amp;nbsp; I always had the reference to that library selected.&amp;nbsp; (I tried IWorkspaceFactory as well and got the same error).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have many programs where I use this line, so I have opened a few of them and they compiled fine.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After comparing the list of referenced libraries from the working and not working projects I found the one not working didnt have a reference to ESRI Editor EXT, ESRI GeoAnalyst, Microsoft ActiveX Data Objects 2.8, while the one that worked did.&amp;nbsp; Also the one that was not compiling had references to a bunch of libraries with GeoDatabase in the name, but the one that compiles did not.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I made the switches where necessary and now both compile.&amp;nbsp; BUT what library is the "shapefileworkspacefactory" keyword in, and why would it not be with the library that the associated object is in?&amp;nbsp; Finally, how did I figure this out before, and why has it not been an issue until now?&amp;nbsp; I am thinking the answer to my last question is more a case of just happening to need random other objects from the libraries I was not referring to until now...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If anyone has any ideas, comments, experience on this&amp;nbsp; I'd love to hear them.&amp;nbsp; Especially if you know a more effeicent troubleshooting routine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Take care,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Craig&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Setup:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcGIS 9.3.1 with networked license server (ArcINFO license, most ESRI extensions available) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;VB 6.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Windows XP Pro 32bit&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2012 16:45:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/esri-geodatabase-issue-non-issue-for-new/m-p/654264#M17550</guid>
      <dc:creator>CraigGraham</dc:creator>
      <dc:date>2012-09-05T16:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: ESRI GeoDatabase issue - non-issue for New ShapefileWorkspaceFactory keyword</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/esri-geodatabase-issue-non-issue-for-new/m-p/654265#M17551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The IWorkspaceFactory and IWorkspaceFactory2 interfaces are included in the esriGeodatabase library.&amp;nbsp; The ShapefileWorkspaceFactory class is included in the esriDataSourcesFile library.&amp;nbsp; The developer help will tell you which library an interface or class belongs to.&amp;nbsp; There is also a Library Locator tool that installs to the ArcGIS\Developer Tools program group on your Start menu.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2012 17:21:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/esri-geodatabase-issue-non-issue-for-new/m-p/654265#M17551</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2012-09-05T17:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: ESRI GeoDatabase issue - non-issue for New ShapefileWorkspaceFactory keyword</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/esri-geodatabase-issue-non-issue-for-new/m-p/654266#M17552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Neil.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was wondering which library it was but got too busy to go back and check after I got it working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know why I didn't think to look for ShapefileWorkspaceFactory in the help.&amp;nbsp; Just getting to used to being able to get help with F1.&amp;nbsp; And of course since the reference wasn't set I was getting keyword not found in the MS Help.&amp;nbsp; Plus everyday this week has been like a Monday.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Craig&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PS: how do I mark your post as "the answer"?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 12:57:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/esri-geodatabase-issue-non-issue-for-new/m-p/654266#M17552</guid>
      <dc:creator>CraigGraham</dc:creator>
      <dc:date>2012-09-06T12:57:51Z</dc:date>
    </item>
  </channel>
</rss>

