<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : &quot;Provider=memory&quot;  to custom folder</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : &quot;Provider=memory&quot;  to custom folder]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 28 Apr 2026 05:10:06 +0000</pubDate>
  <lastBuildDate>Fri, 13 Nov 2009 11:29:24 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=15290</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[&quot;Provider=memory&quot;  to custom folder : There is no special folder assignment...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15290&amp;PID=54833&amp;title=providermemory-to-custom-folder#54833</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 15290<br /><strong>Posted:</strong> 13 November 2009 at 11:29am<br /><br />There is no special folder assignment in MFC code like "MyDocuments", the OS puts it there as this is default for the OS.]]>
   </description>
   <pubDate>Fri, 13 Nov 2009 11:29:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15290&amp;PID=54833&amp;title=providermemory-to-custom-folder#54833</guid>
  </item> 
  <item>
   <title><![CDATA[&quot;Provider=memory&quot;  to custom folder : Thanks mdoubsonIt seams that it...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15290&amp;PID=54768&amp;title=providermemory-to-custom-folder#54768</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5578">guru4</a><br /><strong>Subject:</strong> 15290<br /><strong>Posted:</strong> 12 November 2009 at 2:52am<br /><br />Thanks mdoubson<br>It seams that it is not possible to work without XML in filesystem.<br>]]>
   </description>
   <pubDate>Thu, 12 Nov 2009 02:52:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15290&amp;PID=54768&amp;title=providermemory-to-custom-folder#54768</guid>
  </item> 
  <item>
   <title><![CDATA[&quot;Provider=memory&quot;  to custom folder : Change line -   OpenProvider...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15290&amp;PID=53949&amp;title=providermemory-to-custom-folder#53949</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 15290<br /><strong>Posted:</strong> 16 October 2009 at 5:49pm<br /><br />Change line - <DIV>&nbsp;</DIV><DIV>OpenProvider cjCalendarData_Memory, "Provider=XML;Data Source=" &amp; App.Path &amp; "\Events.xml"</DIV><DIV>&nbsp;</DIV><DIV>to use absolute path or another relative path instead of App.Path</DIV>]]>
   </description>
   <pubDate>Fri, 16 Oct 2009 17:49:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15290&amp;PID=53949&amp;title=providermemory-to-custom-folder#53949</guid>
  </item> 
  <item>
   <title><![CDATA[&quot;Provider=memory&quot;  to custom folder : Hi,My Calendar Multiressources...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15290&amp;PID=53605&amp;title=providermemory-to-custom-folder#53605</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5578">guru4</a><br /><strong>Subject:</strong> 15290<br /><strong>Posted:</strong> 02 October 2009 at 5:41am<br /><br />Hi,<br><br>My Calendar Multiressources with Provider=memory works fine. <br>I load, create, delete everything with my custom forms and tables. <br>I can't take xml or other dataprovider, because we have customers with SQL and JET Datasources.<br><br>The Problem now is, that the control makes one file to "my documents" named "memory".<br><br>Is there a possibilty to change the folder to environ$temp?<br><br><br><img src="file:///C:/DOKUME%7E1/KaB/LOKALE%7E1/Temp/moz-screenshot-2.png" border="0"><img src="uploads/20091002_052449_memory.jpg" height="139" width="470" border="0"><br><br>My Code to create Ressources, the file will be created after <font color="#cc0000">red line</font>:<br><br><font face="Courier New, Courier, mono">Private Function CreateRessource(ByVal m_MietobjektID As Long, ByVal m_Index As Integer, Optional ByRef m_Ressource As CalendarResource) As CalendarResource<br><br>' Deklaration<br>' ***********<br>Dim m_Schedules&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; As CalendarSchedules<br>Dim m_CC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; As CalendarControl<br>Dim m_CCData&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; As CalendarDataProvider<br>Dim m_Weekdays&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; As Integer<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>' Zuweisung<br>' *********<br>Set m_CC = Me.Kalender.Object<br>Set m_CCData = m_CC.DataProvider<br>Set m_RS = myRS("SELECT TblMietobjekt.*, TblBelegung.* FROM TblMietobjekt LEFT JOIN TblBelegung ON TblMietobjekt.MietobjektID=TblBelegung.BelegungMietobjektID WHERE MietobjektID=" &amp; m_MietobjektID)<br><br>' Beim ersten erstellen<br>' *********************<br>If m_Ressource Is Nothing Then<br>&nbsp;&nbsp; <br>&nbsp;&nbsp; ' Wenn noch kein Dataprovider erstellt wurde<br>&nbsp;&nbsp; ' ******************************************<br>&nbsp;&nbsp; Set m_Ressource = New CalendarResource<br>&nbsp;&nbsp; <br>&nbsp;&nbsp; ' Wenn noch kein Dataprovider erstellt wurde<br>&nbsp;&nbsp; ' ******************************************<br>&nbsp;&nbsp; If m_CCData Is Nothing Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; m_CC.SetDataProvider "Provider=memory"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; m_CC.DataProvider.Create<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set m_CCData = m_CC.DataProvider<br>&nbsp;&nbsp; End If<br>&nbsp;&nbsp; <br>&nbsp;&nbsp; Set m_Schedules = m_CCData.Schedules<br>&nbsp;&nbsp; <br>&nbsp;&nbsp; ' Neue Ressource anlegen<br>&nbsp;&nbsp; ' **********************<br></font><font color="#cc0000" face="Courier New, Courier, mono">&nbsp;&nbsp;<font color="#000000"> m_Ressource.SetDataProvider2 "memory", False</font><br>&nbsp;&nbsp; m_Ressource.DataProvider.Create</font><font face="Courier New, Courier, mono"><br>&nbsp;&nbsp; <br>&nbsp;&nbsp; m_Ressource.Name = NE(m_RS("MietobjektKurzbezeichnung"), m_RS("MietobjektRaumzuordnung") &amp; " " &amp; NE(m_RS("MietobjektBezeichnung"), ""))<br>&nbsp;&nbsp; m_Ressource.RetrieveDayEvents True<br>&nbsp;&nbsp; m_Schedules.AddNewSchedule m_RS("MietobjektID")<br>&nbsp;&nbsp; m_Ressource.ScheduleIDs.Add m_Schedules.Item(m_Index).ID<br>&nbsp;&nbsp; <br>&nbsp;&nbsp; ' Array mit Schedule abfüllen<br>&nbsp;&nbsp; ' ***************************<br>&nbsp;&nbsp; p_Schedules(m_Index, 0) = m_Schedules.Item(m_Index).ID<br>&nbsp;&nbsp; p_Schedules(m_Index, 1) = m_MietobjektID<br>&nbsp;&nbsp; <br>&nbsp;&nbsp; m_Ressource.Name = NE(m_RS("MietobjektKurzbezeichnung"), m_RS("MietobjektRaumzuordnung") &amp; " " &amp; NE(m_RS("MietobjektBezeichnung"), ""))<br>&nbsp;&nbsp; m_Ressource.RetrieveDayEvents True<br>&nbsp;&nbsp; m_Schedules.AddNewSchedule m_RS("MietobjektID")<br>&nbsp;&nbsp; m_Ressource.ScheduleIDs.Add m_Schedules.Item(m_Index).ID<br>Do Until m_RS.EOF<br>&nbsp;&nbsp; If NE(m_RS("BelegungID"), 0) &gt; 0 And NE(m_RS("BelegungGelöscht"), 0) = 0 Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set m_Event = m_Ressource.DataProvider.CreateEventEx(m_RS("BelegungID"))<br>...<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; m_Event.UpdateRecurrence m_Serie<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'm_Event.CreationTime = m_RS("BelegungErfasst")<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; m_Ressource.DataProvider.AddEvent m_Event<br></font><font color="#cc0000" face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#000000"> m_Ressource.DataProvider.Save</font></font><font face="Courier New, Courier, mono"><br>&nbsp;&nbsp; End If<br>&nbsp;&nbsp; <br>&nbsp;&nbsp; m_RS.MoveNext<br>Loop<br><br>Set CreateRessource = m_Ressource</font><br><br>Pleez help me. I can't release my software. My customers will cut my head off, if there will be files like this in there "My documents"<img src="http://forum.codejock.com/smileys/smiley11.gif" border="0" align="absmiddle"><br><br>Greez<br><br>Guru<br>]]>
   </description>
   <pubDate>Fri, 02 Oct 2009 05:41:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15290&amp;PID=53605&amp;title=providermemory-to-custom-folder#53605</guid>
  </item> 
 </channel>
</rss>