By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
426,012 Members | 988 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 426,012 IT Pros & Developers. It's quick & easy.

Can i do sth like that in .NET?

P: n/a
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...

Jul 21 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
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 <
**ham wrote: 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...

Jul 21 '05 #2

P: n/a
could you give a sample code or a hint to see how u do it?
thnkx
"Chaz Bocock [Digital Media MVP]" <ms**********@ave.nu> wrote in message
news:O$**************@TK2MSFTNGP11.phx.gbl...
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 <


**ham wrote:
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...


Jul 21 '05 #3

P: n/a
You need to implement "IDocHostUIHandler" in your .NET Application.

Try a Google groups search:

http://groups.google.co.uk/groups?hl...et.languages.*
Chaz <
**ham wrote: could you give a sample code or a hint to see how u do it?
thnkx
"Chaz Bocock [Digital Media MVP]" <ms**********@ave.nu> wrote in message
news:O$**************@TK2MSFTNGP11.phx.gbl...
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 <


**ham wrote:
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...


Jul 21 '05 #4

P: n/a
Elp
On Thu, 2 Dec 2004 02:10:06 +0330, **ham wrote:
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.
Jul 21 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.