philprice Posted March 23, 2003 Posted March 23, 2003 Is there a control where i can make some html in memory (or to a file) and show it? Or is it possible to make links in a RTF control? If there is an html control is it avaliable on the pocketpc sdk? Is there any neat html parsers bundeld with .NET, bascially for just stripping tags.. Quote Phil Price� Visual Studio .NET 2003 Enterprise Edition Microsoft Student Partner 2004 Microsoft Redmond, EMEA Intern 2004
*Gurus* divil Posted March 23, 2003 *Gurus* Posted March 23, 2003 There's nothing like that in .NET, no. Your best option is probably to use the webbrowser control. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
philprice Posted March 23, 2003 Author Posted March 23, 2003 (edited) can that take an input stream at all? And how do you add it a project , cant seem to find it anywhere. Edited March 23, 2003 by philprice Quote Phil Price� Visual Studio .NET 2003 Enterprise Edition Microsoft Student Partner 2004 Microsoft Redmond, EMEA Intern 2004
*Gurus* divil Posted March 23, 2003 *Gurus* Posted March 23, 2003 You have to add it to your toolbox. Right-click on toolbox, Customize Toolbox. And no, it can't really take an input stream. I discovered this today, which may be exactly what you're looking for. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
*Experts* Bucky Posted March 23, 2003 *Experts* Posted March 23, 2003 ...or you could access the HTML DOM directly by referencing Microsoft.mshtml in your project, and work with the HTMLDocumentClass class (in the mshtml namespace). Quote "Being grown up isn't half as fun as growing up These are the best days of our lives" -The Ataris, In This Diary
philprice Posted March 23, 2003 Author Posted March 23, 2003 what kinda of control would you render it to? Quote Phil Price� Visual Studio .NET 2003 Enterprise Edition Microsoft Student Partner 2004 Microsoft Redmond, EMEA Intern 2004
*Experts* Bucky Posted March 23, 2003 *Experts* Posted March 23, 2003 To view an HTML document, you'd need the WebBrowser control, like divil mentioned, or you could launch it directly in a browser if you wanted. Quote "Being grown up isn't half as fun as growing up These are the best days of our lives" -The Ataris, In This Diary
philprice Posted March 23, 2003 Author Posted March 23, 2003 i mean the HTML DOM stuff, the whole point is i want to render html directly to the control.. Quote Phil Price� Visual Studio .NET 2003 Enterprise Edition Microsoft Student Partner 2004 Microsoft Redmond, EMEA Intern 2004
*Gurus* divil Posted March 23, 2003 *Gurus* Posted March 23, 2003 Use the last link I posted, it does exactly what you're looking for and is better than the webbrowser control (far more lightweight). Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
philprice Posted March 23, 2003 Author Posted March 23, 2003 cheers divil, hopefully it will work for pocket pc. Quote Phil Price� Visual Studio .NET 2003 Enterprise Edition Microsoft Student Partner 2004 Microsoft Redmond, EMEA Intern 2004
philprice Posted March 24, 2003 Author Posted March 24, 2003 hmm just looked at it, there is no source for the HTMLEditor control and i cant really use propriety controls in my project.. Also it doesnt seem to work in my copy of .NET, but if i ignore build errors it does.. Quote Phil Price� Visual Studio .NET 2003 Enterprise Edition Microsoft Student Partner 2004 Microsoft Redmond, EMEA Intern 2004
*Gurus* divil Posted March 24, 2003 *Gurus* Posted March 24, 2003 Strange, I downloaded it from the site and it contains full source. Also I haven't tried using the control at design time, only runtime. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
philprice Posted March 24, 2003 Author Posted March 24, 2003 divil, could you e-mail to me p dot e dot price at dcs dot hull dot ac dot uk (phew!), that would be great. When i tried it all i got was HTMLControl.dll, and a form that uses it.. Quote Phil Price� Visual Studio .NET 2003 Enterprise Edition Microsoft Student Partner 2004 Microsoft Redmond, EMEA Intern 2004
*Gurus* divil Posted March 24, 2003 *Gurus* Posted March 24, 2003 This link here: http://www.netcomuk.co.uk/%7Ehanbury/htmleditor.zip Is on the main page and contains full source. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
philprice Posted March 27, 2003 Author Posted March 27, 2003 hmm whats the actual name of the "WebBrowser" control i cant seem to find / get it. Quote Phil Price� Visual Studio .NET 2003 Enterprise Edition Microsoft Student Partner 2004 Microsoft Redmond, EMEA Intern 2004
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.