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 / New Users / December 2004

Tip: Looking for answers? Try searching our database.

Can i do sth like that in .NET?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
**ham - 01 Dec 2004 22:40 GMT
I wonder if I could make a windows application which hosts html pages, and
instead of the typical .NET controls uses the HTML controls, but at the same
time executes commands of the main application from that html page. I
actually want to make sth like McAfee 8, which has html pages as its
standard UI, however they control the main application.
How can I have such integrity between scripts of an .htm pages and functions
of a windows application ( like VB.Net)

Any help is greatly appreciated...
Chaz Bocock [Digital Media MVP] - 01 Dec 2004 23:25 GMT
Yes, it is possible.

I've got an application which uses HTML pages as it's only interface via
an embedded IE control, yet I can call functions in the .NET Application
that hosts it, by using "window.external" in JavaScript.

It's NOT simple, but it *is* possible.

> Chaz <

> I wonder if I could make a windows application which hosts html pages, and
> instead of the typical .NET controls uses the HTML controls, but at the same
[quoted text clipped - 5 lines]
>
> Any help is greatly appreciated...
**ham - 01 Dec 2004 23:38 GMT
could you give a sample code or a hint to see how u do it?
thnkx
> Yes, it is possible.
>
[quoted text clipped - 18 lines]
>>
>> Any help is greatly appreciated...
Chaz Bocock [Digital Media MVP] - 01 Dec 2004 23:58 GMT
You need to implement "IDocHostUIHandler" in your .NET Application.

Try a Google groups search:

http://groups.google.co.uk/groups?hl=en&lr=&safe=off&q=IDocHostUIHandler&btnG=Se
arch&meta=group%3Dmicrosoft.public.dotnet.languages
.*

> Chaz <

> could you give a sample code or a hint to see how u do it?
> thnkx
[quoted text clipped - 21 lines]
>>>
>>>Any help is greatly appreciated...
Elp - 02 Dec 2004 09:53 GMT
> I wonder if I could make a windows application which hosts html pages, and
> instead of the typical .NET controls uses the HTML controls, but at the same
> time executes commands of the main application from that html page. I
> actually want to make sth like McAfee 8, which has html pages as its
> standard UI, however they control the main application.

You can surely do that but it's not gonna be easy i guess. I don't know how
McAfee 8 looks like but i'm curious to know why you want something like
that. There is maybe an easier way of doing what you want.From the
screenshots on the mcafee web site, it does not look like they are using
HTML pages in their application even though i agree that their UI is more
Web browser-like than the ususal Windows application.

Rate this thread:







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.