<?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: Form error</title><link>https://www.infopathdev.com:443/forums/thread/2211.aspx</link><pubDate>Fri, 21 Apr 2006 15:17:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2211</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2211.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2211</wfw:commentRss><description>You can read the active directory stuff from InfoPath, but I don't think editing Windows Network User Accounts is going to be an easy task from within something like InfoPath.  It seems like the only way to do this is through the wizards built in to Windows.  You might be able to cook up some  sly javascript files that could do what you're thinking, but I wouldn't even know where to start on those.&lt;br /&gt;&lt;br /&gt;If you figure out how to do this, please let us know, this is very interesting!</description></item><item><title>Re: Form error</title><link>https://www.infopathdev.com:443/forums/thread/2210.aspx</link><pubDate>Fri, 21 Apr 2006 14:33:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2210</guid><dc:creator>bashira</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2210.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2210</wfw:commentRss><description>Would the web service allow me to add user accounts/computers and make chnages to existing accounts? ie disable accounts&lt;br /&gt;&lt;br /&gt;This is the main feature i am looking for in the form i am designing&lt;br /&gt;&lt;br /&gt;Thanks</description></item><item><title>Re: Form error</title><link>https://www.infopathdev.com:443/forums/thread/2209.aspx</link><pubDate>Fri, 21 Apr 2006 14:21:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2209</guid><dc:creator>Karsten Brocksieper</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2209.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2209</wfw:commentRss><description>Hi bashira,&lt;br /&gt;&lt;br /&gt;this error is caused by cross-domain settings on the local computer and occurs when accessing data across domains is not allowed. Note that "domain" refers to Internet/Intranet domain, and not to network domain.&lt;br /&gt;&lt;br /&gt;I would suggest to make a web service -or even take the one from this site- to access your Active Directory and bind the web service as a secondary data source to your form.&lt;br /&gt;&lt;br /&gt;I´ve done this for a few times now and it works really fine.&lt;br /&gt;&lt;br /&gt;For any further information please don´t hesitate to ask...&lt;br /&gt;&lt;br /&gt;Regards,</description></item><item><title>Re: Form error</title><link>https://www.infopathdev.com:443/forums/thread/2208.aspx</link><pubDate>Fri, 21 Apr 2006 10:26:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2208</guid><dc:creator>bashira</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2208.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2208</wfw:commentRss><description>Patrick, &lt;br /&gt;&lt;br /&gt;do you have any idea as to where i need to look in group policy? &lt;br /&gt;&lt;br /&gt;is there an alternative i could use?&lt;br /&gt;&lt;br /&gt;The reason why i am creating this form is to allow manager to fill out a leavers form when a user leaves the company. Once they submitt the form, it should for example, disable their Active Directory Account, Remove any Group Memberships, Remove user fom GAL etc...&lt;br /&gt;&lt;br /&gt;Any ideas?</description></item><item><title>Re: Form error</title><link>https://www.infopathdev.com:443/forums/thread/2207.aspx</link><pubDate>Fri, 21 Apr 2006 08:28:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2207</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2207.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2207</wfw:commentRss><description>Hi again,&lt;br /&gt;You've done everything that you need to. The only remaining thing I can think of is some kind of Windows security policy.</description></item><item><title>Re: Form error</title><link>https://www.infopathdev.com:443/forums/thread/2206.aspx</link><pubDate>Fri, 21 Apr 2006 07:33:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2206</guid><dc:creator>bashira</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2206.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2206</wfw:commentRss><description>hi, &lt;br /&gt;&lt;br /&gt;thanks for that, i did try it but i keep getting &lt;br /&gt;&lt;br /&gt;The following error occurred:&lt;br /&gt;&lt;br /&gt;Safety settings on this computer prohibit accessing a data source on another domain.&lt;br /&gt;File:script.vbs&lt;br /&gt;Line:33&lt;br /&gt;&lt;br /&gt;do i need to re-register the form after i have made the changes?&lt;br /&gt;&lt;br /&gt;</description></item><item><title>Re: Form error</title><link>https://www.infopathdev.com:443/forums/thread/2205.aspx</link><pubDate>Thu, 20 Apr 2006 13:08:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2205</guid><dc:creator>Karsten Brocksieper</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2205.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2205</wfw:commentRss><description>Hi bashira,&lt;br /&gt;&lt;br /&gt;I believe you can control this simply by adjusting a browser setting.&lt;br /&gt;&lt;br /&gt;Using IE6, look under "Tools", "Internet Options", Security tab, the appropriate zone, and then Custom Level. In the Miscellaneous section, enable the "Access data sources across domains".&lt;br /&gt;&lt;br /&gt;Hope that helps...</description></item><item><title>Re: Form error</title><link>https://www.infopathdev.com:443/forums/thread/2204.aspx</link><pubDate>Thu, 20 Apr 2006 08:18:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2204</guid><dc:creator>bashira</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2204.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2204</wfw:commentRss><description>Hi Patrick, &lt;br /&gt;&lt;br /&gt;I have now successfully used the regform tool to create an msi, and have installed the form in c:\program files\infopath form templates&lt;br /&gt;&lt;br /&gt;When i double click on the xsn file, and click the button, i get the error &lt;br /&gt;&lt;br /&gt;The following error occurred:&lt;br /&gt;&lt;br /&gt;Safety settings on this computer prohibit accessing a data source on another domain.&lt;br /&gt;File:script.vbs&lt;br /&gt;Line:32&lt;br /&gt;&lt;br /&gt;any ideas?</description></item><item><title>Re: Form error</title><link>https://www.infopathdev.com:443/forums/thread/2203.aspx</link><pubDate>Thu, 20 Apr 2006 07:19:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2203</guid><dc:creator>bashira</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2203.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2203</wfw:commentRss><description>Patrick, &lt;br /&gt;&lt;br /&gt;thanks for your reply.&lt;br /&gt;&lt;br /&gt;I have set the form trust to fully trusted (tools&amp;gt;form options&amp;gt;security)&lt;br /&gt;&lt;br /&gt;I wll add the url and check.&lt;br /&gt;&lt;br /&gt;I have not yet installed the form.&lt;br /&gt;&lt;br /&gt;Can you advise or refer me on a guide to using regform?&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;&lt;br /&gt;</description></item><item><title>Re: Form error</title><link>https://www.infopathdev.com:443/forums/thread/2202.aspx</link><pubDate>Thu, 20 Apr 2006 04:32:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2202</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2202.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2202</wfw:commentRss><description>Hi Bashira,&lt;br /&gt;&lt;br /&gt;Setting the form to full trust should resolve the problem, but are you installing an MSI (via Regform) or using digital signatures? &lt;br /&gt;&lt;br /&gt;Is the URL for www.SiemensFinancialServices.co.uk added to the Trusted Sites in your IE security settins. &lt;br /&gt;&lt;br /&gt;</description></item><item><title>Form error</title><link>https://www.infopathdev.com:443/forums/thread/1253.aspx</link><pubDate>Wed, 19 Apr 2006 16:34:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1253</guid><dc:creator>bashira</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1253.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=1253</wfw:commentRss><description>I have a simply form which i am testing to see if i can get some vb code working.&lt;br /&gt;&lt;br /&gt;the form has three fields, fname, sname, username, and a button with custom code as &lt;br /&gt;&lt;br /&gt;dim sFirstname, sSurname, sUsername &lt;br /&gt;&lt;br /&gt;sFirstname = XDocument.DOM.selectSingleNode("//my:myFields/my:firstname").text&lt;br /&gt;sSurname = XDocument.DOM.selectSingleNode("//my:myFields/my:surname").text&lt;br /&gt;sUsername = XDocument.DOM.selectSingleNode("//my:myFields/my:username").text&lt;br /&gt;&lt;br /&gt;msgbox " Checking for " &amp; sfirstname &amp; " " &amp; sSurname&lt;br /&gt;&lt;br /&gt;'Setup Active Directory Connection Properties&lt;br /&gt;&lt;br /&gt;Set conn = CreateObject("ADODB.Connection")&lt;br /&gt;conn.Provider = "ADSDSOObject"&lt;br /&gt;conn.Open "ADs Provider"&lt;br /&gt;&lt;br /&gt;sLdap = "&amp;lt;LDAP://dc=siemensfinancialservices,dc=co,dc=uk&amp;gt;;(&amp;(objectCategory=User)(distinguishedName=*)(samAccountName=" &amp; sUsername &amp; "));distinguishedName;subtree"&lt;br /&gt;Set rs = conn.Execute(sLdap)&lt;br /&gt;If rs.RecordCount = 0 Then&lt;br /&gt;	Msgbox "Username: " &amp; sUserName &amp; " does not exist."&lt;br /&gt;Else&lt;br /&gt;	sUserDN = rs.fields("distinguishedName")&lt;br /&gt;	Msgbox DomainContainer&lt;br /&gt;	Set oUser = GetObject("LDAP://" &amp; sUserDN)&lt;br /&gt;	oUser.msExchHideFromAddressLists = True&lt;br /&gt;	oUser.userAccountControl = "514"&lt;br /&gt;	oUser.SetInfo&lt;br /&gt;	If oUser.userAccountControl = "514" Then&lt;br /&gt;		sAS = "Disabled"&lt;br /&gt;	Elseif oUser.userAccessControl = "512" Then&lt;br /&gt;		sAS = "Enabled"&lt;br /&gt;	End If&lt;br /&gt;	Msgbox "User: " &amp; sUserDN &amp; vbcrlf &amp; "Hide From GAL? " &amp; oUser.Get("msExchHideFromAddressLists") &amp; vbcrlf &amp; "Account is: " &amp; sAS&lt;br /&gt;	Set oUser = Nothing&lt;br /&gt;End If&lt;br /&gt;&lt;br /&gt;conn.close&lt;br /&gt;&lt;br /&gt;I receive a an error &lt;b&gt;ActiveX component cant create object: 'Get Object'&lt;br /&gt;&lt;br /&gt;File: script.vbs&lt;br /&gt;Line41 &lt;/b&gt;&lt;br /&gt;&lt;br /&gt;I get this error wheather i publish to sharepoint or to a shared folder.&lt;br /&gt;&lt;br /&gt;I have also tried different trusts, such as fully trust, domain and automatically detect.&lt;br /&gt;&lt;br /&gt;Please can some one tell me where i am going wrong.&lt;br /&gt;&lt;br /&gt;Some information :&lt;a target="_blank" href=http://support.microsoft.com/default.aspx?scid=kb;en-us;832512&gt;http://support.microsoft.com/default.aspx?scid=kb;en-us;832512&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Thanks</description></item></channel></rss>