Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Compact Framework / January 2006

Tip: Looking for answers? Try searching our database.

need to build limited browser as custom shell

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
bdgreen@pacbell.net - 13 Jan 2006 10:30 GMT
Hi,

I have a pretty straightforward project for Windows CE.  It would be a
custom shell, launching a restricted browser, which would open up the
default home page, allow forward and back buttons, but not let the user
type in their own URLs.  In other words, users would be forced to stay
on the default website and any links from there.

I'm deciding how to get started on this.  It appears that the IE
browser is available as an ActiveX control, but not as managed C# code.

I've heard that OpenNetCF has a managed code browser control.

Basically, I'm just looking for some direction here before I start down
a path.  My choices appear to be:

1) C# OpenNetCF
2) C# IE through interop/ActiveX
3) C++/ActiveX native solution

I'm not crazy about the idea of interop, which seems like a square peg
in a square hole... I don't know much about the OpenNetCF control.  I'm
an experienced C++ programmer, but I'm developing a taste for C# in a
big way.

Any advice, information or mistake corrections in my assumptions would
be appreaciated.

Thanks in advance
Steve Howard - 13 Jan 2006 12:38 GMT
In my ignorance, I'd just drop a WebBrowser Control onto a form set to
maximize.

Steve
Erwin van Hunen - 13 Jan 2006 13:29 GMT
If you can use the .NET 2.0 CF then you can just use the Webbrowser
control and run it filled on the form. If you can only use 1.0 then the
OpenNetCF would be a perfect solution. Both feature a similar set of
methods and properties.

Both controls work good in C#.

/Erwin

> Hi,
>
[quoted text clipped - 25 lines]
>
> Thanks in advance
Alex Yakhnin [MVP] - 13 Jan 2006 13:57 GMT
Also, if are using a non Windows Mobile device (Pocket PC, Smartphone,
etc...) make sure your device's ROM includes htmlview.dll.

--
Alex Yakhnin, .NET CF MVP
www.intelliprog.com | www.opennetcf.org

> If you can use the .NET 2.0 CF then you can just use the Webbrowser
> control and run it filled on the form. If you can only use 1.0 then the
[quoted text clipped - 34 lines]
> >
> > Thanks in advance
Paul G. Tobey [eMVP] - 13 Jan 2006 17:19 GMT
There's an article by Steve Maillet and Mike Hall on this topic on MSDN.
They don't do it with managed code and I don't think that you want to,
either.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnembedded/html
/embedded05072002.asp


Paul T.

> Also, if are using a non Windows Mobile device (Pocket PC, Smartphone,
> etc...) make sure your device's ROM includes htmlview.dll.
[quoted text clipped - 41 lines]
>> >
>> > Thanks in advance

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.