473,796 Members | 2,609 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ActiveX - Webbrowser Control VB6

All!
I posted a query a while ago as to how one can 'draw' lines on the
webbrowser control (as on an 'imported' chart). I'm re-asking that
query, plus another. The new one is - How can one Center a portion of,
say, an imported chart/document within the webbrowser control?
Otherwords, the bottom-right portion of the chart/document is what I
want to be centered when I import the chart/document.
Thanks...

Jul 17 '05 #1
1 10275
A WB is IE. If you want to affect
the current document you can use the
IE DOM through the WB.Document.
To get the DOM in Intellisense
reference MSHTML.TLB.

I don't know about drawing lines. Maybe
by writing ________ or using a picture?
With your chart you could probably put it
into a table and use the ALIGN property
to move it. A lot can be done by
creating textRange objects and using
pasteHMTL, move, etc. to change the HTML
of the document.
_______________ ______________

ma**********@mi ndYYspring.com
For return email remove XX and YY.
_______________ ______________
ThisIsAMess <rm****@juno.co m> wrote in message
news:11******** *************@g 14g2000cwa.goog legroups.com...
All!
I posted a query a while ago as to how one can 'draw' lines on the
webbrowser control (as on an 'imported' chart). I'm re-asking that
query, plus another. The new one is - How can one Center a portion of,
say, an imported chart/document within the webbrowser control?
Otherwords, the bottom-right portion of the chart/document is what I
want to be centered when I import the chart/document.
Thanks...

Jul 17 '05 #2

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

Similar topics

0
1878
by: Noozer | last post by:
I've just installed the Mozilla ActiveX control. I'm trying to replace the Microsoft WebBrowser control with the Mozilla control, but I'm getting a type mismatch error trying to get the browser document property. The app worked fine with the WebBrowser control. '...Sub starts here... Dim doc as HTMLDocument Set doc = web.Document ' <- Type mismatch happens here. Select case doc.URL
2
5358
by: Berata | last post by:
Hello all, in VB6 we were able to create ActiveX-DLL's (In Process Components) and ActiveX-Exe's (Out of Process Components). We habe build up an application that exists of an main module (Standard Exe) that calls and controls other modules (ActiveX-Exe). We decided for ActiveX-Exe because they run in different processes. That means if one module shuts down, the others are still alive. Second reasons
2
3764
by: Tony Meier | last post by:
I am using the WebBrowser control (Explorer.Shell.2) from within a VBA application, embedded on an MS Access form to display the contents of a local folder. By default on Windows 2000/XP the control displays the "Common Tasks" section on the left-hand side of the display - I assume it just shows/hides this based upon the Windows user's settings. Is there any way to change this to "Classic View", ie to remove the left-side "Common Tasks"...
1
2046
by: kp | last post by:
Hi, I've got a COM (project is a ActiveX exe) in which I've got a User Doc & have a webBrowser control on it. I can't close the COM b/c the webBrowser control won't shutdown. How do I unload, quit, shutdown the control so that my exe can??
7
2198
by: Khaled Hussein | last post by:
Hi Every body, I am currently working in aproject where I am stuck in merging an ActiveX control (*.ocx) file into a managed Class Library (*.dll). I want to hide the ActiveX Control in this managed Dll, so that even when things are deployed I don't wanna see two files, but only 1 file which is the dll, and it would contain within it, the other ocx file. Is this possible? If yes, then how can I do something like this, I tried to use...
0
1113
by: bastawhiz | last post by:
With VB.Net 05 and IE7, I'm trying to find a way to block any ActiveX controls from loading in a standard WebBrowser control. For example, I want to prevent Flash, Quicktime, etc. from running. Is there any way to do this? Is there some way to tell it when it gets to a certain point to filter out those specific elements? Thanks in advance
11
3344
by: Tim | last post by:
hi, I would like to create an application that runs in a web browser. It must have access to the client machine. I guess a bit like the microsoft update tool at windowsupdate.com Having never created anything like this, can anyone point me in the right direction? I am using VB.NET2005 Thanks
5
3723
by: Mercdev | last post by:
I have an ActiveX control inherited from UserControl. This control is hosted in IE(version 6 or later). How i can navigate IE from this control. I know that i need to obtain IWebBrowser2 interface and work with it, but i can't. Can someone show an example how to get IWebBroswer2 or way how is possible navigate IE?
1
2255
by: JDeats | last post by:
If I embed an WebBrowser control on a WinForm I have the ability to load any ActiveX containable object into that control using this syntax: webBrowser1.Url = new Uri(@"c:\myfile.doc"); Using this approach, I can load a MS Word document into the browser and access the Word document object model like this: object obj = webBrowser1.Document;
0
10239
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10190
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
10019
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9057
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7555
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6796
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5579
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3736
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2928
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.