<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>using Active Directory Authentication</title><link>https://www.infopathdev.com:443/forums/thread/29674.aspx</link><pubDate>Tue, 24 Jun 2008 08:13:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:29674</guid><dc:creator>gul_ydu</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/29674.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=29674</wfw:commentRss><description>&lt;p&gt;I designed an infopath form and User will&amp;nbsp;use this form with Active directory authentication For this Reason, i designed a windows form.This windows Form&amp;#39;s coding is C#.i have 3 controls on forms,textbox1,textbox2,button1(Entering)&lt;/p&gt;
&lt;p&gt;UserName:textbox1 control&lt;/p&gt;
&lt;p&gt;Password:textbox2 control&lt;/p&gt;
&lt;p&gt;Entering Button&lt;/p&gt;
&lt;p&gt;but i cant use keyboard fonction expecially tab and enter keys.only use mouse.&lt;/p&gt;
&lt;p&gt;Form events KeyDown events code is&lt;/p&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;private&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;void&lt;/font&gt;&lt;font size="2"&gt; Form1_KeyDown(&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;object&lt;/font&gt;&lt;font size="2"&gt; sender, &lt;/font&gt;&lt;font color="#008080" size="2"&gt;KeyEventArgs&lt;/font&gt;&lt;font size="2"&gt; e)&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;if&lt;/font&gt;&lt;font size="2"&gt; (e.KeyCode == &lt;/font&gt;&lt;font color="#008080" size="2"&gt;Keys&lt;/font&gt;&lt;font size="2"&gt;.Enter)&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;{&lt;/p&gt;button1_Click(&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;null&lt;/font&gt;&lt;font size="2"&gt;,&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;null&lt;/font&gt;&lt;font size="2"&gt;);&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;and Form properties AcceptButton:button1 i set but when i started form i cant use keyboard function in infopaht how can i solve this problem please help me&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;</description></item></channel></rss>