473,473 Members | 1,886 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Can i do sth like that in .NET?

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
4 1178
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: sentinel | last post by:
Hi, I'm currently writing a mulit-page form app that uses a session to retain data from each form element in order for the user to jump between pages, then the final data is passed to a calculation...
2
by: ChronicFatigue | last post by:
Given that some browsers dont have javascript enabled.... do developers try to avoid using javascript when a php alternative can be used? What sort of alternative php scripts are often used?
1
by: Timothy Rue | last post by:
I found the online and free PHP manual(s) but what I need is one that is plain text/ascii Is there such a beast and if not what is the closest to it? I'd like to do my own markup on it. ...
5
by: Nick Bartos | last post by:
I am looking for an open source php accelerator that works in cgi mode. I am guessing that to do that the cache would have to be on disk and not in memory. I was looking at the turk accelerator...
2
by: Martien van Wanrooij | last post by:
I am rather new at php so the answer to my question could be somewhere on the web but unfortunately I couldn't find it until now. I am using a form that is sent to me by email with the following...
4
by: Randell D. | last post by:
Folks, I use PHP to write my form data to MySQL. I have a database with about ten tables. I'm trying to fill one table with some dummy data (its a contact manager table holding names of...
3
by: simonc | last post by:
I'm getting incoming emails to activate a PHP script, not web page requests - so I can't visibly see things with a browser. Is there any way I can detect if one of my PHP scripts never exits -...
5
by: Beef Erikson | last post by:
Heya :) Ok... I've been thinking of a way to go about doing this, and I think I might have came up with it. Just wanting to run this by you guys, see what you think. Here's my setup: I...
3
by: Stijn Goris | last post by:
hi all, Does a function excist that converts a string to a string thats compatible with linux file system? kind regards Stijn
7
by: Jayne Wolps | last post by:
Hello I wonder if anyone can help. I would like to know how certain sites: http://aboutbritain.com/ArundelCastle.htm, and http://travel.knowhere.co.uk/place/+bristol-0/ manage to put approx...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.