window.opener error I run windows application witch uses CHtmlView (ActiveX of IE). From time to time I have to open pop-up where I search some data and paste in back in application everything is fine on Windows XP and even on Linux but on Vista when I try to paste data back into the window application I got an error window.opener.document is null or not an object. Here is code of pop-up: //////////////////////////////////////////////////////////////////////////////////////////////////////////////// <a href=#; onClick=insertSearchID(12313)> .................................................................... function InsertSearchID(ID){ window.opener.document.someform.pasteID = ID; //here I got error window.opener.document.someform.submit(); window.close(); } ////////////////////////////////////////////////////////////////////////////////////////////////////////////////// When I open this site from browser everything works fine. Enybody knows how can I handle with this Tag: Internet Explorer Web Development IE7 Internet Explorer Development
The DocumentComplete event is not triggered after HTMLInputElementClass.click() posts back Hi,
I found the following code will not cause SHDocVw.InternetExplorerClass.DocumentComplete event to be triggered (after searchBtn is clicked, a postback occurs). What is the reason
HTMLInputElementClass searchBtn = ( HTMLInputElementClass )
theDoc . getElementsByName ( "btn_axk" ). item ( 0 , 0 );
searchBtn . click ();
Thanks a lot,
Ricky Tag: Internet Explorer Web Development IE7 Internet Explorer Development
we are having looping problem in javascript(this issue occurred in IE7 only) Load method checks for changes in the value of global variables, if so, it calls the Initconfig to reload the config value.
Initconfig () method reinitializes the global variable value and reloads(by calling location.reload()) the home page.
In IE7, while loading the html it updates security details which affects global variable value and Thus again Initconfig () method called by Load method.
Please suggest me how to avoid looping problem in this criteria
Thanks
DharaniKumar. Tag: Internet Explorer Web Development IE7 Internet Explorer Development
Exception handling I am trying to make an application that will browse certain websites. It is very simple, you press a button and the browser window will populate to the corresponding button. The problem I am having is that our server, which I have no control over, blocks all popups. The web page I want to go to has a script that runs a popup. When this location is processed the brower in VC# will stall then throw a debug screen asking if I would like to debug. The error is Unhandled Exception "Object expected". I have tried putting a (try catch) statement. The problem with that is since it takes so long to process the website the C code must complete the method and exits without an error. I'm not sure if this is correct but that is all I can come up with. Here is the code I am running. try { webBrowser1.Navigate("www.techreview.com"); } catch (Exception ex) { MessageBox.Show("Error"); Console.WriteLine(ex.Message); } I am new to VC so I hope I'm doing something stupid and it is easy to correct. My question is, how do I prevent this error from poping up The webpage will load if I select cancel on the debug error. The odd thing is that if I open a browser outside of VC then the webpage works fine. I have also tried to do this same thing in Director and it also throws an error. Is this an ActiveX issue Any help would be greatful, Steve Tag: Internet Explorer Web Development IE7 Internet Explorer Development
IE 7 opening to Run Once page with error on it. The error appears to be a web page error I copied what was displayed for the error
Line 56
Char:2
Error 'windows.external' is null or notan object
Code O
URL:http://runonce.msn.com/runonce2aspx Tag: Internet Explorer Web Development IE7 Internet Explorer Development
"Requested lookup key" IE7 Problem Wesley Brandi - MSFT wrote:
Hi,
We are aware of this issue only in the event of not rebooting the machine after installing IE7. Hopefully, a reboot should fix the problem, have you tried this yet
Regards,
Wesley
I uninstalled IE7 and installed again, this time making sure i rebooted the computer, and my problem is now solved. Must have just been me being a little lazy when installing new programmes to my new computer.
Thanks for your help - Callum Tag: Internet Explorer Web Development IE7 Internet Explorer Development
IE7 and issue with TrackPopupMenu(Win32) within ActiveX-control Hi Sergei,
Can you submit the control in a bug report through connect at http://www.microsoft.com/windows/ie/support/default.mspx so we can reproduce the issue. It's difficult to say what change might have affected this. There is documentation on compatibility at http://msdn.microsoft.com/ie that may help. For menuing systems we generally advocate the use of DHTML and script rather than ActiveX controls.
Thanks -Dave Tag: Internet Explorer Web Development IE7 Internet Explorer Development
Outlook 2003 Email Headers not Printing after IE7 upgrade Check your version of .NET. If you are still running .Net 1.1 then install .NET framework 2.0. That seems to have fixed the problem with me. Looks like some of the code is designed for 2.0 framwork. Cheers!! Tag: Internet Explorer Web Development IE7 Internet Explorer Development
Bookmark ignored calling iexplore.exe 7 This is a known bug but unfortunately I cannot give you an estimate as to when this will be fixed. You may in the meantime explore further support options at http://www.microsoft.com/windows/products/winfamily/ie/iefaq.mspx
Thanks
Mangal Tag: Internet Explorer Web Development IE7 Internet Explorer Development
simplest way to install an extension Hi Pie, mmmm donuts!
Can you post the CLSID values for your COM here for us to have a look at.
Open the registry editor. Navigate to HKCR\CLSID\{CLSID of your COM}, choose the File>Export menu.
What is your InProcServer32 and ThreadingModel values
What language are you developing in C# Tag: Internet Explorer Web Development IE7 Internet Explorer Development
IE6: Problem Calling JavaScript Functions Through IDispatch. I have a C++ application that embeds a CHtmlView and calls JavaScript functions via the IDispatchEx interface retrieved from the IHTMLDocument2::get_Script(). Normally it works fine and my application is able to get the DISPID for the JavaScript function using IDispatchEx::GetDispID(), but sometimes on the first page load IDispatchEx::GetDispID() returns DISP_U_UNKNOWNNAME for all the JavaScript functions defined in the page. I am able to work around this problem by loading a dummy first page, but I'd like to find a real permanent solution. I added code to enumerate all the members using IDispatchEx::GetNextDispID(), but it doesn't ever enumerate any of JavaScript functions. It does enumerate non-JavaScript members such as "onbeforeunload", "onafterprint", "top", "self", etc... This really has me stumped. The fact that it doesn't happen every time, and certain computers seem to reproduce the problem and others don't makes me think it is perhaps a race condition. Tag: Internet Explorer Web Development IE7 Internet Explorer Development
Kaneda support For Home PC help in south wales, UK please visit www.kanedasupport.com
PC Not Booting
Internet Problems
PC Crashing
Virus Problems
System Reload
Software Problems
Hardware Installation Tag: Internet Explorer Web Development IE7 Internet Explorer Development
Is it possible to intercept raw HTTP requests and response in my own explorer bar? PS: Let me also add that hooked functions can easily lead to performance and stability problems in IE, and I do not recommend it as a solution. It is a *warmly* debated topic on the team; extensions that rely on this architecture are vilified to some degree. The fact that it is still being done even by our own tools points to a larger issue that is being addressed over time--namely, what services can IE provide that will make this kind of scenario easier to build and support. Tag: Internet Explorer Web Development IE7 Internet Explorer Development
Delivering Third-party ActiveX with my ActiveX? My ActiveX control uses another activex control (of which I have distribution rights). How can I distribute it along with my activex control, so when the user visits my webpage it automatically downloads that third-party control if its missing Tag: Internet Explorer Web Development IE7 Internet Explorer Development
Removing text visibility correction When I installed IE7, I was asked if I wanted to install an add-on which would make reading text easier by adjusting its appearance for viewing. I clicked yes. However, I can't stand it and actually find it hard on my eyes and want to remove it. I cannot figure out how and where to remove it though. Can anyone help me
Thanks. Tag: Internet Explorer Web Development IE7 Internet Explorer Development
IE add-ons not appearing in "Explorer Bar" menu under IE 7 Options Hi Dylan,
Simple.... you are missing the registry entry to the IE's Explorer Bar listing.
You will find a key
[HKCU/HKLM]\Software\Microsoft\Internet Explorer\Explorer Bars
Under that key you need to add a key with the CLSID value of your explorer bar
eg. \Software\Microsoft\Internet Explorer\Explorer Bars\{A6790AA5-C6C7-4BCF-A46D-0FDAC4EA90EB}
Under that key add a Binary value 'BarSize' with a value of 9a 01 00 00 01 00 00 00 (this is the width or height (vertical/horizontal explorer bar).... I have just copied this value from my registry for one of my explorer bars.
Under HKCR\{A6790AA5-C6C7-4BCF-A46D-0FDAC4EA90EB}
You should add a key for "Implemented Categories", and under that another key "{00021493-0000-0000-C000-000000000046}" - Left hand side explorer bar (vertical)
Here is the link to the MSDN article about implementing Band Objects
http://msdn2.microsoft.com/en-us/library/aa969320.aspx
where you will find the other Implemented Categories UID values for Horizontal and Toolbar implementations of Band Objects (aka, Explorer Bars)
Regards.
In your installer you should set Administrator rights required (Power User will not be high enough for Vista installations) Tag: Internet Explorer Web Development IE7 Internet Explorer Development
Need to Contract an IE7 Addons Developer Hi Peter,
The Quero Launcher sounds like it will fit the bill.
http://www.quero.at/launcher.php
You could distribute Link shortcuts with the launcher exe. I have exchanged emails with Victor (quero developer), send him an email at
support@quero.at
I have a similar product in development, and also a UserAgent string editor, but I think the Quero Launcher will get your cliets up and running in short time and minimal cost. The problem I see with such an application is that in order to cloak the IE7 useragent string you need to write to the registry the new string, open a new IE instance, navigate to the site and then write the original useragent strings back to the registry. Altering the headers on the fly is something that I would think would be possible, but I am sorta committed on the first method as I see the demand for useragent cloaking for IE7 to be extreemly limited, while the product is in the early stage of acceptance, and those sites that are hardwired to ver 6 eventually alter their browser version detection algarithims.
If you want the Quero launch shortcuts built and packaged as a web distributable or a desktop setup then give us a ring, I can do it either in CAB, MSI or Inno Setup file formats.
Regards. Tag: Internet Explorer Web Development IE7 Internet Explorer Development
Need help downloading/installing Java Hello. I'm having problems installing the Java onto my computer. I go the the website, download the Java install program but when it finishes, it says that I have to put in some Microsoft Install Sofware disc in order to finish the installation. Our computer recently got wiped out and I had to re-install all my programs so I never had this problem before. Can anyone help me, I don't know what the CD it's talking about and I really want to finish installing the Java. thanks in advance. Tag: Internet Explorer Web Development IE7 Internet Explorer Development
iframe doesn't work in IE7 I'm afraid you're mistaken here; IE7 certainly does allow IFRAMES by default. The setting you're referring to has to do with running executable files from Explorer windows in IFrames, and it's unrelated to whether or not HTML IFRAMES appear. Tag: Internet Explorer Web Development IE7 Internet Explorer Development
IE 7.0 Address bar Hi Sudheer,
Thanks for the reply... now I know that will work. I am continually changing machines and spending less time on my own test machines to set up a test platform.(Though I think that once the MS guys know that we know the next upgrade may include countermeasures to exlude this method for this toolbar)
Anyway to make it work in a tabbed browser environment you will need to call the method from either a BHO or Toolbar addon (like the Quero toolbar does) as each tab has its own copy of the toolbar that it formats/renders from values in IE7ToolbarLayout registry value. There may also be a Group Policy setting to hide the Navaigation bar, but the last time I looked this had not been included in IEAK7. Also you may find that the NavBar will be visible when the user switches to full-screen or Kiosk mode. I am not sure how you can detect these window state changes from a BHO or Toolbar so that you can hide the NavBar.
Unlike IE6 I don't think IE7, uses a flag value in IE7ToolbarLayout to toggle the visibility of the NavigationBar as it is intended to be always visible to the user as an anti-phishing measure.
Regards. Tag: Internet Explorer Web Development IE7 Internet Explorer Development
How to change webbrowser control settings? Hi All,
I am developing an application which hosts the web brwoser control in the windows form using c#. The web browser control is used to connect to the SSL server. However with the invalid certificate, it keeps popup the security alert window which is annoying.
Is there a way to bypass this popup and allow the connection to go through. I try the IcertificatePolicy but it seems to me it just applies to the .Net framework and won't affect the browser setting. I try to use InternetQueryOption and InternetSetOption from wininet.h, but that only applies to the last transaction and I don't know how to get to the internet handle the activeX control is using.
Does anyone know if there is a way to do that
Thanks, Tag: Internet Explorer Web Development IE7 Internet Explorer Development
Extract text from Flash web page? I need to extract some text from a Macromedia Flash page.
The page itself is in HTML, but I need to extract text from the Flash section.
Thanks, Tag: Internet Explorer Web Development IE7 Internet Explorer Development
Sample code to add new button to IE 7 tool bar Hi Ram,
I think you are looking for something which ismentioned in this article.
http://www.codeproject.com/shell/IEMenuButton.asp select=2057514&df=100&forumid=342636&msg=2057514
Same is being explained by Danny.
Correct me Danny if wrong .
Regards
Sumeet Tag: Internet Explorer Web Development IE7 Internet Explorer Development
IE7 - File Not Found ieframe.dll\1 I have the same problems but I can't fix them. What's more disconcerting is how many support phone calls I'm about to receive when all my applications stop working. Do I just tell users to uninstall IE7 and go back to IE6 Does anybody know how to fix this Tag: Internet Explorer Web Development IE7 Internet Explorer Development
Debugging a web server in .Net 2.0? By web server app I mean a page which is hit via an HTTP post and does a write back with some meaningful content. The calling app does the equivalent of a webrequest/write/getresponse to obtain the server response.
In 1.0 it was so simple to debug (set breakpoints and step through) such a server app, but in 2.0, due to the internal web server perhaps, I have yet to achieve this effect. I need to be able to call the page with some post data and then step through the processing on the server side.
Please note that this is not a web service. It is a page which does a getstream of the incoming post content, processes based on that content, and writes back the response so that the calling page can get that data.
Any help would be greatly appreciated! Tag: Internet Explorer Web Development IE7 Internet Explorer Development
IE7 the culprit? outlook express hotmail problem The problem is not limited to HTTP. It happens when Outlook tries to log into my POP3 and SMTP accounts aswell.
I tested my accounts on a macintosh (using Mail), and they work perfectly. How do I fix the problem Tag: Internet Explorer Web Development IE7 Internet Explorer Development
Cutomizing the IE context menu Hi, Simerjeet and John, I've been working with this as well, and ran into the same problem you did. Using the registry is not a solution that does what we want, so we have tried using other methods. The one that has gotten us the farthest at this point is to subclass the browser window, interpose our own window procedure, capture WM_INITMENUPOPUP to get the hmenu, and insert our own menu items the Win32 way. Unfortunately, the endgame for this is still in doubt. IE does not generate a WM_COMMAND or WM_MENUCOMMAND message when a menu item is clicked, and we have been having difficulty with getting even WM_LBUTTONUP messages while the menu is displayed. I'm not familiar enough with Win32 programming to know if this is a dead end or if there's a chance that we can still pull this off, but I'll let you know if it turns out well. In the meantime, suggestions from others who have succeeded inserting menu items into the existing menu would be appreciated. EDIT: It is worth noting that the Yahoo toolbar's menu items seem resilient to other toolbars/add-ons overriding IDocHostUIHandler:: ShowContextMenu, while the Google toolbar's are not. Thus, it is clearly possible (via whatever method Yahoo uses) to do what it is we're trying to do. Thanks, Nathan Tag: Internet Explorer Web Development IE7 Internet Explorer Development
Problem with ASP.Net Development server and Internet Explorer I'm using a win XP sp2 machine, Core 2 DUO with visual studio 2005 SP1.
I'm trying to run a simple ASP.Net project using the "debug" button but internet explorer takes forever to load, and there is almost no CPU utilization whatsoever. Every action or click I perform on the website takes forever to perform and hangs the IE for about a minute.
The app is just the initial web. I have not even touched it.
I've tried to run the dev server and browse my app with a different browser - it does not work fine. I can't seem to understand what's going on here. has anyone exprienced anything similar
Thanks in advance. Tag: Internet Explorer Web Development IE7 Internet Explorer Development
Dropdown list overlapping div Hi, I am facing the same problem. I followed the link that you specified, but i did not get much information to solve. Can you tell me how to solve it. Tag: Internet Explorer Web Development IE7 Internet Explorer Development