<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for Nishant Pant's Techie Blog</title>
	<atom:link href="http://nishantpant.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://nishantpant.wordpress.com</link>
	<description>Nishant's coding tips,tricks,hacks,gotchas</description>
	<lastBuildDate>Thu, 05 Nov 2009 15:01:44 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Cross-thread operation not valid: Control &#8216;Form1&#8242; accessed from a thread other than the thread it was created on by Kathir</title>
		<link>http://nishantpant.wordpress.com/2007/05/21/cross-thread-operation-not-valid-control-form1-accessed-from-a-thread-other-than-the-thread-it-was-created-on/#comment-2820</link>
		<dc:creator>Kathir</dc:creator>
		<pubDate>Thu, 05 Nov 2009 15:01:44 +0000</pubDate>
		<guid isPermaLink="false">http://nishantpant.wordpress.com/2007/05/21/cross-thread-operation-not-valid-control-form1-accessed-from-a-thread-other-than-the-thread-it-was-created-on/#comment-2820</guid>
		<description>Hi,

 I&#039;ve used this and getting the &quot;Cross-thread operation not valid: Control &#039;&#039; accessed from a thread other than the thread it was created on&quot; exception still

public partial class Form1 : Form
{
delegate Control ControlCreateDelegate();
private delegate void SetNewControlCallback();
Control c;

public Form1()
        {
            InitializeComponent();
            
            
            ControlCreateDelegate cdr = new ControlCreateDelegate(CreateMyControl);
            cdr.BeginInvoke(new AsyncCallback(ControlCreationFinished), null);

        }
 Control CreateMyControl()
        {
            return new ClassLibrary1.MyUserControl().CreateMyControl();
        }
 void ControlCreationFinished(IAsyncResult ar)
        {
            int id = Thread.CurrentThread.ManagedThreadId;
            c = cdr.EndInvoke(ar);
            c.Text = String.Format(&quot;Textbox created by thread {0}&quot;, Thread.CurrentThread.ManagedThreadId);
            c.Width = TextRenderer.MeasureText(c.Text, c.Font).Width;
            c.Location = new Point(0, 100);
            this.Invoke( new MethodInvoker(SetNewControl));
            this.EnableButton();
        }
void SetNewControl()
        {
            int id = Thread.CurrentThread.ManagedThreadId;
            if (InvokeRequired)
            {
                SetNewControlCallback callBack = new SetNewControlCallback(SetNewControl);
                this.Invoke(new MethodInvoker(callBack));
                //return;
            }
            else
                this.panel1.Controls.Add(c);   //// &lt;&lt;&lt; Getting error at this line
        }
}

Thanks for help.

-Kathir</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p> I&#8217;ve used this and getting the &#8220;Cross-thread operation not valid: Control &#8221; accessed from a thread other than the thread it was created on&#8221; exception still</p>
<p>public partial class Form1 : Form<br />
{<br />
delegate Control ControlCreateDelegate();<br />
private delegate void SetNewControlCallback();<br />
Control c;</p>
<p>public Form1()<br />
        {<br />
            InitializeComponent();</p>
<p>            ControlCreateDelegate cdr = new ControlCreateDelegate(CreateMyControl);<br />
            cdr.BeginInvoke(new AsyncCallback(ControlCreationFinished), null);</p>
<p>        }<br />
 Control CreateMyControl()<br />
        {<br />
            return new ClassLibrary1.MyUserControl().CreateMyControl();<br />
        }<br />
 void ControlCreationFinished(IAsyncResult ar)<br />
        {<br />
            int id = Thread.CurrentThread.ManagedThreadId;<br />
            c = cdr.EndInvoke(ar);<br />
            c.Text = String.Format(&#8220;Textbox created by thread {0}&#8221;, Thread.CurrentThread.ManagedThreadId);<br />
            c.Width = TextRenderer.MeasureText(c.Text, c.Font).Width;<br />
            c.Location = new Point(0, 100);<br />
            this.Invoke( new MethodInvoker(SetNewControl));<br />
            this.EnableButton();<br />
        }<br />
void SetNewControl()<br />
        {<br />
            int id = Thread.CurrentThread.ManagedThreadId;<br />
            if (InvokeRequired)<br />
            {<br />
                SetNewControlCallback callBack = new SetNewControlCallback(SetNewControl);<br />
                this.Invoke(new MethodInvoker(callBack));<br />
                //return;<br />
            }<br />
            else<br />
                this.panel1.Controls.Add(c);   //// &lt;&lt;&lt; Getting error at this line<br />
        }<br />
}</p>
<p>Thanks for help.</p>
<p>-Kathir</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Enumerate members of an Active Directory group in .Net by Nishant Pant</title>
		<link>http://nishantpant.wordpress.com/2008/01/30/enumerate-members-of-an-active-directory-group-in-net/#comment-2819</link>
		<dc:creator>Nishant Pant</dc:creator>
		<pubDate>Thu, 05 Nov 2009 14:13:53 +0000</pubDate>
		<guid isPermaLink="false">http://nishantpant.wordpress.com/?p=94#comment-2819</guid>
		<description>Sorry, there is nothing that comes to me. This is the first time I have heard a problem like this. Also, as you know AD is very difficult to troubleshoot, without having a similar setup here, I couldnt help you out with it. 

However, if you find a solution, it will be great to share it with the rest of the community by either emailing me or adding to your own comment. 

-Nishant </description>
		<content:encoded><![CDATA[<p>Sorry, there is nothing that comes to me. This is the first time I have heard a problem like this. Also, as you know AD is very difficult to troubleshoot, without having a similar setup here, I couldnt help you out with it. </p>
<p>However, if you find a solution, it will be great to share it with the rest of the community by either emailing me or adding to your own comment. </p>
<p>-Nishant</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Enumerate members of an Active Directory group in .Net by Sergi</title>
		<link>http://nishantpant.wordpress.com/2008/01/30/enumerate-members-of-an-active-directory-group-in-net/#comment-2818</link>
		<dc:creator>Sergi</dc:creator>
		<pubDate>Thu, 05 Nov 2009 10:25:53 +0000</pubDate>
		<guid isPermaLink="false">http://nishantpant.wordpress.com/?p=94#comment-2818</guid>
		<description>Hello,

I found this blog, that enumerate the members for a group of Active Directory, but only lists the users that this group isn’t the primary group.  (if one user has the group as a primary group, doesn’t shown this users)

Example

 In the group D01, I have three users (U01, U02, U03)  and the primary group of U02 is D01. when you use the method “members”  for enumerating  the members of the group, doesn’t list the User U02.  Only list U01 and U03

thank you</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I found this blog, that enumerate the members for a group of Active Directory, but only lists the users that this group isn’t the primary group.  (if one user has the group as a primary group, doesn’t shown this users)</p>
<p>Example</p>
<p> In the group D01, I have three users (U01, U02, U03)  and the primary group of U02 is D01. when you use the method “members”  for enumerating  the members of the group, doesn’t list the User U02.  Only list U01 and U03</p>
<p>thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Hard resetting HTC touch diamond /Sprint diamond by aclee84</title>
		<link>http://nishantpant.wordpress.com/2009/02/16/hard-resetting-htc-touch-diamond-sprint-diamond/#comment-2817</link>
		<dc:creator>aclee84</dc:creator>
		<pubDate>Wed, 04 Nov 2009 04:33:59 +0000</pubDate>
		<guid isPermaLink="false">http://nishantpant.wordpress.com/?p=237#comment-2817</guid>
		<description>so i did the hard reset an then a screen that comes up says security unblocked an then the screen is divided horizontally 4 even parts each with different colors...red green blue and grey.  do i just let it sit or did i do somethin wrong?</description>
		<content:encoded><![CDATA[<p>so i did the hard reset an then a screen that comes up says security unblocked an then the screen is divided horizontally 4 even parts each with different colors&#8230;red green blue and grey.  do i just let it sit or did i do somethin wrong?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on About by Nishant Pant</title>
		<link>http://nishantpant.wordpress.com/about/#comment-2815</link>
		<dc:creator>Nishant Pant</dc:creator>
		<pubDate>Wed, 28 Oct 2009 02:57:10 +0000</pubDate>
		<guid isPermaLink="false">#comment-2815</guid>
		<description>Sorry. I havent tested it in Germany...plus because tmobile blocked me from accessing their site, several people in US are also not able to use the software anymore. 

I am still following up with tmobile to allow me access. If they co-operate with me then it will work irrespective of which country you belong. 

For now, I had to abandon my efforts. 

-Nishant </description>
		<content:encoded><![CDATA[<p>Sorry. I havent tested it in Germany&#8230;plus because tmobile blocked me from accessing their site, several people in US are also not able to use the software anymore. </p>
<p>I am still following up with tmobile to allow me access. If they co-operate with me then it will work irrespective of which country you belong. </p>
<p>For now, I had to abandon my efforts. </p>
<p>-Nishant</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on About by reunger</title>
		<link>http://nishantpant.wordpress.com/about/#comment-2814</link>
		<dc:creator>reunger</dc:creator>
		<pubDate>Tue, 27 Oct 2009 09:15:23 +0000</pubDate>
		<guid isPermaLink="false">#comment-2814</guid>
		<description>I got itmobile and am trying to get this to work in Germany.  Will not accept name or passwords.  Have you gotten any info from anyone else on how to get this to work in Germany?</description>
		<content:encoded><![CDATA[<p>I got itmobile and am trying to get this to work in Germany.  Will not accept name or passwords.  Have you gotten any info from anyone else on how to get this to work in Germany?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to make iPhone work with TMobile with Internet by kristi</title>
		<link>http://nishantpant.wordpress.com/2009/04/10/how-to-make-iphone-work-with-tmobile-with-internet/#comment-2813</link>
		<dc:creator>kristi</dc:creator>
		<pubDate>Mon, 12 Oct 2009 19:48:36 +0000</pubDate>
		<guid isPermaLink="false">http://nishantpant.wordpress.com/?p=277#comment-2813</guid>
		<description>i bought a jailbroken 2G iphone for $200 online, plugged in my tmobile sim card, added the $9.99 data plan and it worked perfectly. for about 2 hours. then some how they figured out that i needed the $24.99 data plan, so i upgraded and it worked perfectly again. i followed the instructions above. THANK YOU!</description>
		<content:encoded><![CDATA[<p>i bought a jailbroken 2G iphone for $200 online, plugged in my tmobile sim card, added the $9.99 data plan and it worked perfectly. for about 2 hours. then some how they figured out that i needed the $24.99 data plan, so i upgraded and it worked perfectly again. i followed the instructions above. THANK YOU!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Phone buddy for HTC Touch diamond and Touch PRO released !!! by indra</title>
		<link>http://nishantpant.wordpress.com/2008/11/29/phone-buddy-for-htc-diamond/#comment-2812</link>
		<dc:creator>indra</dc:creator>
		<pubDate>Thu, 08 Oct 2009 03:46:29 +0000</pubDate>
		<guid isPermaLink="false">http://nishantpant.wordpress.com/?p=177#comment-2812</guid>
		<description>Hi, I have paid by PayPal and send the DeviceID. Have you received my email? Plese send the code asap, I am waiting.Your trial time is only 5 days.</description>
		<content:encoded><![CDATA[<p>Hi, I have paid by PayPal and send the DeviceID. Have you received my email? Plese send the code asap, I am waiting.Your trial time is only 5 days.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Phone buddy for HTC Touch diamond and Touch PRO released !!! by indra</title>
		<link>http://nishantpant.wordpress.com/2008/11/29/phone-buddy-for-htc-diamond/#comment-2811</link>
		<dc:creator>indra</dc:creator>
		<pubDate>Tue, 06 Oct 2009 14:40:36 +0000</pubDate>
		<guid isPermaLink="false">http://nishantpant.wordpress.com/?p=177#comment-2811</guid>
		<description>I have downloaded successfully the file &quot;PBSetup.cab&quot;, also already installed in my Handphone and work well. I have paid and sent the DeviceID=Touch_Diamond by PayPal, so please send the registration code. The price including the update of the software (if any new feature)?. thanks</description>
		<content:encoded><![CDATA[<p>I have downloaded successfully the file &#8220;PBSetup.cab&#8221;, also already installed in my Handphone and work well. I have paid and sent the DeviceID=Touch_Diamond by PayPal, so please send the registration code. The price including the update of the software (if any new feature)?. thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Phone buddy for HTC Touch diamond and Touch PRO released !!! by indra</title>
		<link>http://nishantpant.wordpress.com/2008/11/29/phone-buddy-for-htc-diamond/#comment-2810</link>
		<dc:creator>indra</dc:creator>
		<pubDate>Mon, 05 Oct 2009 13:55:53 +0000</pubDate>
		<guid isPermaLink="false">http://nishantpant.wordpress.com/?p=177#comment-2810</guid>
		<description>Thanks for you response. I have successfully downloaded the file &quot;PhoneBuddySetup.msi&quot; and continue to install that file (because previously I have installed the file &quot;NETCFSetupv35.msi&quot; that needed by other program and I think that will work), but I got a message to install &quot;.NET Framework version 3.5&quot; (different?). After that I uninstalled the existing &quot;NETCFSetupv35.msi&quot;, replace with &quot;NETCFv35.wm.armv4i.cab&quot; and continue to install &quot;PhoneBuddySetup.msi&quot;, but I still got a message to install &quot;.NET Framework version 3.5&quot;. What is going on? Can I get the cab file of Phone Buddy instead of msi file?. I have to try first before deciding to buy.</description>
		<content:encoded><![CDATA[<p>Thanks for you response. I have successfully downloaded the file &#8220;PhoneBuddySetup.msi&#8221; and continue to install that file (because previously I have installed the file &#8220;NETCFSetupv35.msi&#8221; that needed by other program and I think that will work), but I got a message to install &#8220;.NET Framework version 3.5&#8243; (different?). After that I uninstalled the existing &#8220;NETCFSetupv35.msi&#8221;, replace with &#8220;NETCFv35.wm.armv4i.cab&#8221; and continue to install &#8220;PhoneBuddySetup.msi&#8221;, but I still got a message to install &#8220;.NET Framework version 3.5&#8243;. What is going on? Can I get the cab file of Phone Buddy instead of msi file?. I have to try first before deciding to buy.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
