Yeah, I got the information. But any idea in other ways about how to realize this requirement
Robert Wang1983
Posts
-
iframe question(control the scroll bar) -
iframe question(control the scroll bar)Hi, below is the script function scrollFrame(x, y) { if (window.myFrame&&window.myFrame.scrollBy) { alert("bbb"); var ifr = window.myFrame; ifr.oldPageYOffset = ifr.pageYOffset; ifr.scrollBy(x, y); } } function test() { alert("aaa"); scrollFrame(50, 50); } I call it in the body.onclick() the alert did popup, so means the the function is called but runtime error told me I can not access the property of oldPageYOffset neighter the function scrollBy(x,y) if the frame points url off site
-
iframe question(control the scroll bar)I have a iframe in my page a.html, the iframe points to page b.html, every time when the page loaded completely, the iframe display the top of page b.html My request is to scroll down the iframe so to display the bottom of b.html when page loaded I can invoke below javascript when body.onload event occur: windows.my_frame.scrollTop = 800; it works with b.html which is on the same server with a.html but if the src of the iframe points to the page out of the server(http://www.google.com), the script invoke run time error which means I have no right to set the scrollTop property I can not find and solution or even any explanation on the internet, so came here. Thanks for the help!!!
-
Issues when pop up a dialog in IEI wrote a plugin for IE with ATL. Now my requirement is to pop up a modeless dialog in IE so that it can display some information extracted from the page of my IE explored. When I use DoModal(), it works fine But I need to show it modeless, so when I use (SW_SHOWNORMAL), my plug in crashed. it says error in atlwin.h 2815 line Anyone can tell me why and do me a favor? Below is my code: CMainDialog d; HWND hIE; HRESULT hr = m_pBrowser->get_HWND((long*)&hIE); d.Create(hIE); d.ShowWindow(SW_SHOWNORMAL); //error code in atlwin.h virtual ~CWindowImplRoot() { #ifdef _DEBUG if(m_hWnd != NULL) // should be cleared in WindowProc { ATLTRACE(atlTraceWindowing, 0, _T("ERROR - Object deleted before window was destroyed\n")); ATLASSERT(FALSE); } #endif //_DEBUG } :confused:
-
How to catch the message of right click in IEI have the same question. Could you pls let me know how to get the point from DISPPARAMS* pDispParams
-
Problem with ATL IE plugin programmingI'm coding an ATL IE plugin as the article from msdn(below is the link) http://msdn.microsoft.com/en-us/library/bb735853(VS.85).aspx I did step by step as it describes in the dll part, but there is no responding of the Exec method which should run when I click my tool menu 'Image Download'. I can debug into the STDMETHODIMP CImageFetcher::SetSite(IUnknown* pUnkSite) method. I have no idea where I made a mistake, any one can help? Thanks previously!
-
How to deal with the error of "The page cannot be displayed"Thanks! I will try
-
How to deal with the error of "The page cannot be displayed"you ask me : Are you using Visual Studio? If so, do you get the same problem while debugging or when you try to access the site directly using a browser. Yes I am using visual studio 2005. I do get the same problem while debugging or when Itry to access the site directly using a browser.
-
How to deal with the error of "The page cannot be displayed"yes
-
How to deal with the error of "The page cannot be displayed"thanks for your reply. But no. I mean the code is on my local machine and I published it to my IIS but not work no matter from where to access it. If I publish it to the server. it works fine.
-
How to deal with the error of "The page cannot be displayed"yes. seems the error is popped from IIS not the asp.net. but the most strange thing is the web service works fine. and my application works fine on my server
-
How to deal with the error of "The page cannot be displayed"BTW, I use asp.net 2.0
-
How to deal with the error of "The page cannot be displayed"I have a web service and an web application deployed on my laptop. the webservice works fine but when open my web application It told me The page cannot be displayed, the title is "Server can not find" Any one has the solution? Thanks!
-
Error: Update application block (UAB) :The requested URL does not exist on the server.Thanks, very useful....
-
Error: Update application block (UAB) :The requested URL does not exist on the server.And sometimes got error: The job is not making headway. The server may be misconfigured. Background Intelligent Transfer Service (BITS) will try again later.:confused:
-
Error: Update application block (UAB) :The requested URL does not exist on the server.I have an application which use update application block 2.0 to update. Everything works fine on the staging server. But when i move my update package on to the production server. I got error : The requested URL does not exist on the server. when applying an update. Below is the detail i cut from the error log: Summary for : ====================================== --> MachineName: WAXIANGZ --> TimeStamp: 2008-2-22 7:36:11 --> FullName: Microsoft.Practices.EnterpriseLibrary.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null --> AppDomainName: EMSWindowsClient.exe --> WindowsIdentity: ASIAPACIFIC\waxiangz Exception Information Details: ====================================== Exception Type: Microsoft.ApplicationBlocks.Updater.Downloaders.BitsDownloadErrorException Code: -2145844844 Context: 5 ContextDescription: The error occurred while the remote file was being processed. Message: The requested URL does not exist on the server. Protocol: http LocalFileName: C:\Program Files\HPInvent\EMS\UAB\downloader\{215E1AD7-9ABA-432f-A952-24BABA556850}\5e4b3b14-30a5-47a5-bdcc-7a0fc173c3ac\updaterconfiguration.config1 RemoteFileName: http://g2w0293.austin.hp.com/EMSUpdateTest/config/updaterconfiguration.config1 TargetSite: Void LogAndThrowException(System.String, System.Exception) HelpLink: NULL Source: Microsoft.ApplicationBlocks.Updater StackTrace Information Details: ====================================== at Microsoft.ApplicationBlocks.Updater.Logger.LogAndThrowException(String message, Exception ex) at Microsoft.ApplicationBlocks.Updater.Logger.LogAndThrowException(Exception ex) at Microsoft.ApplicationBlocks.Updater.Downloaders.BitsDownloader.OnJobError(UpdaterTask task, IBackgroundCopyJob pJob, IBackgroundCopyError pError, Exception ex) at Microsoft.ApplicationBlocks.Updater.Downloaders.BitsDownloader.WaitForDownload(UpdaterTask task, IBackgroundCopyJob backgroundCopyJob, TimeSpan maxWaitTime) at Microsoft.ApplicationBlocks.Updater.Downloaders.BitsDownloader.Download(UpdaterTask task, TimeSpan maxWaitTime) Any one have ideas???:confused:
-
How make the searchThanks very much!
-
How make the searchNow i have a problem to search pdl(group) in the ldap server, i can search the pdl(group) with the following filter string filter = "(&(objectClass=group)(displayname=" + displayname + "))" but can only filter out with the whole display name if i want to search with partial name, what should i do??
-
Question about active directoryNow i have a problem to search pdl(group) in the ldap server, i can search the pdl(group) with the following filter string filter = "(&(objectClass=group)(displayname=" + displayname + "))" but can only filter out with the whole display name if i want to search with partial name, what should i do??
-
A problem when using HttpWebRequestThanks. i can use www.google.com in my office computer through IE. and i do not understand "And IE profiles might interfere too" could you explain it for me, and how to fix it then? :(