<?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: Get User Profile through MOSS Web Services</title><link>https://www.infopathdev.com:443/forums/thread/4294.aspx</link><pubDate>Thu, 22 Mar 2007 00:24:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4294</guid><dc:creator>bmerri19</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4294.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=4294</wfw:commentRss><description>I found where to change the code preference:&lt;br /&gt;&lt;br /&gt;To change the form template code language to C#&lt;br /&gt;&lt;br /&gt;   1. On the Tools menu, click Form Options.&lt;br /&gt;   2. In the Category list, click Programming.&lt;br /&gt;   3. Under Programming Language, change the value in the Form template code language drop-down list from Visual Basic to C#.&lt;br /&gt;   4. Click OK.&lt;br /&gt;&lt;br /&gt;That fixed the problem. Built the project and previewed the form and was good to go.&lt;br /&gt;&lt;br /&gt;Thanks Matt.&lt;br /&gt;&lt;br /&gt;(Now to brush up on my C# and VB programming skills)</description></item><item><title>Re: Get User Profile through MOSS Web Services</title><link>https://www.infopathdev.com:443/forums/thread/4293.aspx</link><pubDate>Thu, 22 Mar 2007 00:14:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4293</guid><dc:creator>bmerri19</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4293.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=4293</wfw:commentRss><description>Matt,&lt;br /&gt;&lt;br /&gt;I'm getting about 40 errors (one for each line of new code that I have inserted).&lt;br /&gt;&lt;br /&gt;The code looks like C#, but the form opens as "FormCode.vb"&lt;br /&gt;&lt;br /&gt;Where can I change the default language for the form code?&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Brian</description></item><item><title>Re: Get User Profile through MOSS Web Services</title><link>https://www.infopathdev.com:443/forums/thread/4292.aspx</link><pubDate>Wed, 21 Mar 2007 13:47:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4292</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4292.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=4292</wfw:commentRss><description>Hi Brian,&lt;br /&gt;&lt;br /&gt;Could you send the actual error messages you are getting? You might be looking for the very first step "From the Main Toolbar, select Tools | Programming | Loading Event", but that would seem to obvious.  These blog posts are usually pretty well written so if you follow all instructions you should  be able to get it to work.&lt;br /&gt;&lt;br /&gt;Another idea is that you might be trying to use C# (as given in the example) where the computer is trying to compile as VB or maybe even script.&lt;br /&gt;&lt;br /&gt;Anyway, please reply back with the error message if you are still having trouble.</description></item><item><title>Get User Profile through MOSS Web Services</title><link>https://www.infopathdev.com:443/forums/thread/1925.aspx</link><pubDate>Tue, 20 Mar 2007 23:48:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1925</guid><dc:creator>bmerri19</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1925.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=1925</wfw:commentRss><description>Hi, I'm trying to complete this demonstration posted on the InfoPath Team Blog:&lt;br /&gt;&lt;a href='http://blogs.msdn.com/infopath/archive/2007/03/07/get-the-user-profile-through-moss-web-services.aspx' target='_blank' title='http://blogs.msdn.com/infopath/archive/2007/03/07/get-the-user-profile-through-moss-web-services.aspx'&lt;a target="_blank" href=http://blogs.msdn.com/infopath/archive/2007/03/07/get-the-user-profile-through-moss-web-services.aspx&gt;http://blogs.msdn.com/infopath/archive/2007/03/07/get-the-user-profile-through-moss-web-services.aspx&lt;/a&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I'm having problems on where to insert the code. (Newbie to VSTA as well). Where is the FormEvents_loading handler code listed? After I paste the code snippet, I get a lot of errors in the form.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Brian</description></item></channel></rss>