<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Problems with getting data from my infopath form | VBScript</title><link>https://www.infopathdev.com:443/forums/thread/34283.aspx</link><pubDate>Fri, 14 Nov 2008 12:24:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34283</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34283.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=34283</wfw:commentRss><description>&lt;p&gt;I believe you should be checking&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;if chec.text = &amp;quot;true&amp;quot;&lt;/p&gt;&lt;/blockquote&gt;</description></item><item><title>Re: Problems with getting data from my infopath form | VBScript</title><link>https://www.infopathdev.com:443/forums/thread/34279.aspx</link><pubDate>Fri, 14 Nov 2008 10:32:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34279</guid><dc:creator>testuser</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34279.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=34279</wfw:commentRss><description>&lt;p&gt;Another question concerning the code above. I want to check if a checkbox in the same&lt;br /&gt;form ist active. If&amp;nbsp;this is true I want to give a value to the var &lt;em&gt;verteiler&lt;/em&gt;. &amp;nbsp;But something is&lt;br /&gt;wrong with the bold line in the code. What is the problem. I also tried true instead of&lt;br /&gt;WAHR. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;Dim objOutlook&lt;br /&gt;&amp;nbsp;Dim itmAppt&lt;br /&gt;&amp;nbsp;Dim verteiler&lt;br /&gt;&amp;nbsp;dim chec&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;Set chec = XDocument.DOM.selectSingleNode(&amp;quot;/my:meineFelder/my:CheckMM&amp;quot;)&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&lt;strong&gt;if chec = WAHR then&lt;br /&gt;&lt;/strong&gt;&amp;nbsp;&amp;nbsp;verteiler = &amp;quot;Gueldenring, Marco&amp;quot;&lt;br /&gt;&amp;nbsp;end if&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;if verteiler = &amp;quot;&amp;quot; then&lt;br /&gt;&amp;nbsp;&amp;nbsp;verteiler = &amp;quot;grrr&amp;quot;&lt;br /&gt;&amp;nbsp;end if&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Set objOutlook = CreateObject(&amp;quot;Outlook.Application&amp;quot;)&lt;br /&gt;&amp;nbsp;Set itmAppt = objOutlook.CreateItem(1)&lt;br /&gt;&amp;nbsp;itmAppt.Resources = XDocument.DOM.selectSingleNode(&amp;quot;/my:meineFelder/my:KickOffRaum&amp;quot;).text&lt;br /&gt;&amp;nbsp;itmAppt.Subject = &amp;quot;Neues KickOff Meeting für Projektnummer &amp;quot; &amp;amp; XDocument.DOM.selectSingleNode(&amp;quot;/my:meineFelder/my:PM_NR&amp;quot;).text&lt;br /&gt;&amp;nbsp;itmAppt.Start = XDocument.DOM.selectSingleNode(&amp;quot;/my:meineFelder/my:KickOffDatum&amp;quot;).text&lt;br /&gt;&amp;nbsp;itmAppt.Duration = 60&lt;br /&gt;&amp;nbsp;itmAppt.AllDayEvent = False&lt;br /&gt;&amp;nbsp;itmAppt.ReminderSet = True&lt;br /&gt;&amp;nbsp;itmAppt.ReminderMinutesBeforeStart = 5&lt;br /&gt;&amp;nbsp;Set myRequiredAttendee = itmAppt.Recipients.Add (verteiler)&lt;br /&gt;&amp;nbsp;myRequiredAttendee.Type = 1&lt;br /&gt;&amp;nbsp;itmAppt.display&lt;/p&gt;</description></item><item><title>Re: Problems with getting data from my infopath form | VBScript</title><link>https://www.infopathdev.com:443/forums/thread/34277.aspx</link><pubDate>Fri, 14 Nov 2008 09:56:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34277</guid><dc:creator>testuser</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34277.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=34277</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m sorry. I found the problem. It should be &lt;strong&gt;/my:myfields/my:KickOffRaum&lt;/strong&gt; instead of &lt;strong&gt;&lt;font face="Verdana"&gt;my:KickOffRaum.&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Verdana"&gt;Now it works. Thanks for the sign...&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Re: Problems with getting data from my infopath form | VBScript</title><link>https://www.infopathdev.com:443/forums/thread/34276.aspx</link><pubDate>Fri, 14 Nov 2008 09:51:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34276</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34276.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=34276</wfw:commentRss><description>&lt;p&gt;&amp;quot;/my:KickOffRaum&amp;quot; can&amp;#39;t possibly be the correct XPath for the node, unless your entire&amp;nbsp;form has only one field in it.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;If there is only one field called KickOffRaum in your form, then the XPath &amp;quot;//my:KickOffRaum&amp;quot; (note the two slashes) should work.&lt;/p&gt;</description></item><item><title>Re: Problems with getting data from my infopath form | VBScript</title><link>https://www.infopathdev.com:443/forums/thread/34272.aspx</link><pubDate>Fri, 14 Nov 2008 09:27:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34272</guid><dc:creator>testuser</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34272.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=34272</wfw:commentRss><description>&lt;p&gt;The field &lt;font face="Verdana"&gt;&lt;strong&gt;my:KickOffRaum &lt;/strong&gt;in my form is a dropdown field with text values. &lt;br /&gt;Before clicking the button behind the code i have choosen a value.&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Re: Problems with getting data from my infopath form | VBScript</title><link>https://www.infopathdev.com:443/forums/thread/34271.aspx</link><pubDate>Fri, 14 Nov 2008 09:12:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34271</guid><dc:creator>swathip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34271.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=34271</wfw:commentRss><description>&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;span style="FONT-SIZE:10pt;COLOR:black;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-themecolor:text1;"&gt;Hi,&lt;/span&gt;&lt;/p&gt;&lt;span style="FONT-SIZE:10pt;COLOR:black;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-themecolor:text1;"&gt;&lt;/span&gt;&amp;nbsp;&lt;span style="FONT-SIZE:10pt;COLOR:black;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-themecolor:text1;"&gt;Verify what is the value for ‘&lt;/span&gt;&lt;strong&gt;&lt;span style="FONT-SIZE:10pt;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-theme-font:minor-bidi;"&gt;XDocument.DOM.selectSingleNode(&amp;quot;/my:KickOffRaum&amp;quot;)&lt;/span&gt;&lt;/strong&gt;&lt;span style="FONT-SIZE:10pt;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;‘ . If it is null then &lt;strong&gt;&lt;span style="FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-theme-font:minor-bidi;"&gt;raum.text&lt;/span&gt;&lt;/strong&gt; &lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/span&gt;will throw an error.&lt;span style="COLOR:black;mso-themecolor:text1;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;COLOR:black;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-themecolor:text1;"&gt;&amp;nbsp;&lt;/span&gt; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Problems with getting data from my infopath form | VBScript</title><link>https://www.infopathdev.com:443/forums/thread/34269.aspx</link><pubDate>Fri, 14 Nov 2008 08:54:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34269</guid><dc:creator>testuser</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34269.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=34269</wfw:commentRss><description>&lt;p&gt;Dear all,&lt;/p&gt;
&lt;p&gt;I want to create an appointment in outlook via VBScript in infopath. Therefore I used&lt;br /&gt;this code:&lt;/p&gt;
&lt;p&gt;Dim objOutlook &lt;br /&gt;Dim itmAppt &lt;br /&gt;&lt;strong&gt;Dim raum&lt;/strong&gt; &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;set raum = XDocument.DOM.selectSingleNode(&amp;quot;/my:KickOffRaum&amp;quot;)&lt;/strong&gt; &lt;br /&gt;&lt;br /&gt;Set objOutlook = CreateObject(&amp;quot;Outlook.Application&amp;quot;) &lt;br /&gt;Set itmAppt = objOutlook.CreateItem(1) &lt;br /&gt;&lt;strong&gt;itmAppt.Resources = raum.text&lt;/strong&gt; &lt;br /&gt;itmAppt.Subject = &amp;quot;Test&amp;quot; &lt;br /&gt;itmAppt.Start = &amp;quot;07/07/08 4:15pm&amp;quot; &lt;br /&gt;itmAppt.Duration = 60 itmAppt.AllDayEvent = False &lt;br /&gt;itmAppt.ReminderSet = True &lt;br /&gt;itmAppt.ReminderMinutesBeforeStart = 5 Set myRequiredAttendee = &lt;br /&gt;itmAppt.Recipients.Add (&amp;quot;Gueldenring, Marco&amp;quot;) myRequiredAttendee.Type = 1 &lt;br /&gt;itmAppt.save&lt;/p&gt;
&lt;p&gt;But it doesen&amp;#39;t work. I get an error message:&lt;/p&gt;
&lt;p&gt;Object requiered &amp;#39;raum&amp;#39;&lt;/p&gt;
&lt;p&gt;What&amp;#39;s the error?&lt;/p&gt;</description></item></channel></rss>