<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>p2p.wrox.com Forums - .NET Framework 2.0</title>
		<link>http://p2p.wrox.com</link>
		<description>For discussion of the Microsoft .NET Framework 2.0.</description>
		<language>en</language>
		<lastBuildDate>Sat, 21 Nov 2009 23:03:47 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://p2p.wrox.com/images/misc/rss.jpg</url>
			<title>p2p.wrox.com Forums - .NET Framework 2.0</title>
			<link>http://p2p.wrox.com</link>
		</image>
		<item>
			<title><![CDATA[AxInterop.AcroPDFLib.dll throws "Class not registered" error on 64 bit OS]]></title>
			<link>http://p2p.wrox.com/net-framework-2-0/77011-axinterop-acropdflib-dll-throws-class-not-registered-error-64-bit-os.html</link>
			<pubDate>Fri, 13 Nov 2009 04:02:44 GMT</pubDate>
			<description>Dear All,

My VB.NET application uses AxInterop.AcroPDFLib.dll to open PDF files. This application works fine on a 32 bit operating system. But when...</description>
			<content:encoded><![CDATA[<div>Dear All,<br />
<br />
My <acronym title="vBulletin">VB</acronym>.NET application uses AxInterop.AcroPDFLib.dll to open PDF files. This application works fine on a 32 bit operating system. But when the same application is used on a 64 bit operating system, it throws &quot;CLASS NOT REGISTERED&quot; error. <br />
<br />
Is there a different version of AxInterop.AcroPDFLib.dll to be used for 64 bit operating system. OR is there any work around for this. Is there any other dll which can be used, which supports both 32 bit and 64 bit for pdf file operations?<br />
<br />
In the project properties, the target compiler is &quot;All CPU&quot;. Will it work by changing the Target CPU option to X86. If so what are the draw backs of the same.<br />
<br />
Please let me know a solution for this problem.</div>

]]></content:encoded>
			<category domain="http://p2p.wrox.com/net-framework-2-0-141/">.NET Framework 2.0</category>
			<dc:creator>Shaila14041981</dc:creator>
			<guid isPermaLink="true">http://p2p.wrox.com/net-framework-2-0/77011-axinterop-acropdflib-dll-throws-class-not-registered-error-64-bit-os.html</guid>
		</item>
		<item>
			<title>Web Browser control - How to make input fields editable?</title>
			<link>http://p2p.wrox.com/net-framework-2-0/76915-web-browser-control-how-make-input-fields-editable.html</link>
			<pubDate>Thu, 05 Nov 2009 11:15:52 GMT</pubDate>
			<description><![CDATA[In my windows form i have created a web browser control (AxSHDocVw). I want to grab user's actions like 

1- what links he clicks 
2- what...]]></description>
			<content:encoded><![CDATA[<div>In my windows form i have created a web browser control (AxSHDocVw). I want to grab user's actions like <br />
<br />
1- what links he clicks <br />
2- what information he enteres in the textbox and <br />
3- what text he selects from anywhere from the rendered page. <br />
<br />
The problem is that the text boxes are not editable. I mean user can not enter or select any text from them. I guess i am missing some minor thing.  <br />
Please have a look at the necessary code here:<br />
<br />
<br />
using System;<br />
using System.Windows.Forms;<br />
using System.Drawing;<br />
using System.Runtime.InteropServices;<br />
using mshtml;<br />
using MsHtmHstInterop;<br />
using AxSHDocVw;<br />
<br />
[Serializable]<br />
public class HtmlUIForm : Form, IDocHostUIHandler<br />
{<br />
    protected AxWebBrowser WebBrowser;<br />
<br />
        public HtmlUIForm()<br />
        {<br />
            InitializeComponent();<br />
            <br />
            this.WebBrowser.DocumentComplete += new DWebBrowserEvents2_DocumentCompleteEventHandler(th  is.WebBrowser_DocumentComplete);<br />
            <br />
            object flags = 0;<br />
            object targetFrame = String.Empty;<br />
            object postData = String.Empty;<br />
            object headers = String.Empty;<br />
            this.WebBrowser.Navigate(&quot;about<b></b>:blank&quot;, ref flags, ref targetFrame, ref postData, ref headers);<br />
            <br />
            ICustomDoc cDoc = (ICustomDoc)this.WebBrowser.Document;<br />
            cDoc.SetUIHandler((IDocHostUIHandler)this);<br />
            <br />
<br />
            this.WebBrowser.Navigate(&quot;https://login.yahoo.com/config/login_verify2?&amp;.src=ym&quot;, ref flags, ref targetFrame, ref postData, ref headers);<br />
        }<br />
<br />
<br />
        private void WebBrowser_DocumentComplete(object sender, AxSHDocVw.DWebBrowserEvents2_DocumentCompleteEvent e)<br />
        {<br />
            IHTMLDocument2 doc = (IHTMLDocument2)this.WebBrowser.Document;<br />
            HTMLButtonElement button = (HTMLButtonElement)doc.all.item(&quot;theButton&quot;, null);<br />
            ((HTMLButtonElementEvents2_Event)button).onclick += new HTMLButtonElementEvents2_onclickEventHandler(this.  Button_onclick);<br />
           <br />
        }<br />
        <br />
        private bool Button_onclick(IHTMLEventObj e)<br />
        {<br />
            MessageBox.Show(&quot;Alert from the app: Received theButton.onclick!&quot;);<br />
            return true;<br />
        }<br />
<br />
<br />
        [STAThread]<br />
        static void Main(string[] args)<br />
        {<br />
            Application.Run(new HtmlUIForm());<br />
        }<br />
}</div>

]]></content:encoded>
			<category domain="http://p2p.wrox.com/net-framework-2-0-141/">.NET Framework 2.0</category>
			<dc:creator>baburman</dc:creator>
			<guid isPermaLink="true">http://p2p.wrox.com/net-framework-2-0/76915-web-browser-control-how-make-input-fields-editable.html</guid>
		</item>
	</channel>
</rss>
