473,396 Members | 1,891 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

activex in activex event handling

Hello group,
I have the follwing problem with microsoft web browser activex
control.
I have a fileopendialog control. I open different files in the
IEActivex control
based on the filename in the fileopendialog control.
When i open ppt or doc or pdf files it is nice that it opens them in
its window.

THE PROBLEM NOW IS when ieactivex control is opening these different
files it is opening them with the help of their correspoding activex
control.

But i want the scrollbar events of any activex control that ie hosts
without knowing in priori, of the file that might be opened.
also how to catch scrollbar events when ieactivex control opens long
html files.

How can i get them and handle them in my C# application.

kartik
Nov 15 '05 #1
2 4950
kartik,

I don't believe that you are going to be able to do this. The hosting
interface for active documents isn't too concerned with this. The browser
is really just an ActiveX Document hosting container, and then it says to
the document something along the lines of "you do what you have to do, I'll
just give you the space to do it in). The only way I can imagine being able
to do this is to get every kind of document hosted and then find hooks into
the specific document for when the content scrolls.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"S.Kartikeyan" <in*******@yahoo.com> wrote in message
news:6d**************************@posting.google.c om...
Hello group,
I have the follwing problem with microsoft web browser activex
control.
I have a fileopendialog control. I open different files in the
IEActivex control
based on the filename in the fileopendialog control.
When i open ppt or doc or pdf files it is nice that it opens them in
its window.

THE PROBLEM NOW IS when ieactivex control is opening these different
files it is opening them with the help of their correspoding activex
control.

But i want the scrollbar events of any activex control that ie hosts
without knowing in priori, of the file that might be opened.
also how to catch scrollbar events when ieactivex control opens long
html files.

How can i get them and handle them in my C# application.

kartik

Nov 15 '05 #2
Atleast when i open html files how to catch scrollbar events .
ieactivexcontrol does not expose them.
How to subclass MicrosoftWebBrowswer active control.
I tried inheriting control with overriding PreProcessMessage.
Compilation was successfull but runtime unknown errors comes.

S.kartikeyan

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in message news:<OJ**************@TK2MSFTNGP09.phx.gbl>...
kartik,

I don't believe that you are going to be able to do this. The hosting
interface for active documents isn't too concerned with this. The browser
is really just an ActiveX Document hosting container, and then it says to
the document something along the lines of "you do what you have to do, I'll
just give you the space to do it in). The only way I can imagine being able
to do this is to get every kind of document hosted and then find hooks into
the specific document for when the content scrolls.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

Nov 15 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Matik | last post by:
Hello everyone, I was wondering. Is it possible, to recive an event from ActiveX into database? I was looking alredy with notification services, but I think that's the wrong way. Lets say,...
1
by: coder_1024 | last post by:
I've embedded an ActiveX/COM object in my web page (i.e. <OBJECT ID="MyObject1 ...> ... </OBJECT>). I know I can access the object using javascript on the page (i.e. MyObject1.property or...
13
by: Patrick | last post by:
I understand that with IIS5.1 on Windows XP Professional SP1, I can 1) Either set under IIS Manager-> Any specific Virtual Directory-> Configuration->Options->ASP Script timeout for all pages...
3
by: klimontovich | last post by:
Hello! I'm trying to handle events raising by Microsoft ActiveX Spreadsheet control. I use following code to include this control into page: <object...
2
by: Bill | last post by:
I have a VB6 ActiveX EXE app that generates events that I would like to handle in a C# application. The events in the VB app are defined like: Public Event SometingHappened(what As String) ...
1
by: Felipe Garcia | last post by:
i have some old asp pages that uses activex controls. At the moment, my company are converting all of these old asp pages to asp.net. So my question is, there is a way to handle activex events in...
23
by: Galen Somerville | last post by:
A VB6 ActiveX.exe raises an event which is seen by the VB6 App. Same setup in VB2005. The event to be raised is in form frmSweep. As in VB6, frmSweep is hidden when the events take place. I...
1
by: Jialiang Ge [MSFT] | last post by:
Hello Philippe, In addition to bruce's points, I'd suggest the KB article http://support.microsoft.com/kb/317392. It demonstrates how to host an ActiveX control in ASP.NET (for your first...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.