473,587 Members | 2,580 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 4966
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.co m

"S.Kartikey an" <in*******@yaho o.com> wrote in message
news:6d******** *************** ***@posting.goo gle.com...
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 .
ieactivexcontro l does not expose them.
How to subclass MicrosoftWebBro wswer active control.
I tried inheriting control with overriding PreProcessMessa ge.
Compilation was successfull but runtime unknown errors comes.

S.kartikeyan

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c om> wrote in message news:<OJ******* *******@TK2MSFT NGP09.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.co m

Nov 15 '05 #3

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

Similar topics

3
1520
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, that there is a ActiveX which realize some tasks. The database trigers the ActiveX like below:
1
4581
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 MyObject1.method). I'd like to be able to call a method which returns immediately and then later provides notification of progress back to javascript in...
13
7761
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 within that directory OR 2) Within a specific page, set the timeout as per...
3
19021
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 classid="clsid:0002E551-0000-0000-C000-000000000046" id="Spreadsheet1""> </object>
2
5347
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) and raised like so: Public Sub EventNotification(ByVal what As String) RaiseEvent SometingHappened(what)
1
2417
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 the asp.net code behind. <SCRIPT FOR="WEBDECODER1" EVENT="onaction" LANGUAGE="VBScript"> dim myaction dim sig, format, captureTime set myaction=...
23
3444
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 know by actions on the screen and sounds in the speakers that VB2005 is using the ActiveX.exe correctly. However the events are never raised !!!
1
1929
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 question), and points out that ActiveX control is a pure client-side control, the server-side code cannot access this control (for your second question)....
0
7918
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
1
7967
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6621
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5713
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3840
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3875
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2353
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 we have to send another system
1
1452
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1185
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.