i have downloaded wmi tools from microsoft page, when i am opening the wmi object browser, it shows like this
So how to view the event details of local system by using wmi.
The wmi tools uses an activex control, so you must use Internet Explorer browser to open it.
Related
Hi I am developing MFC windows application,in that i call webpage using webBrowser control,Actually in web page we use lot of script based on CSS3, My agent run the application on windows xp system, if open in webBrowser control by default call Microsoft IE browser8. so it block the script. so i need to use chrome in webBrowser control.
So how to change ?
Note:Need to open inside windows application,not open outside browser.
I'm trying to automate a desktop application but I can't inspect its elements using tools such as Spy++, Inspect.exe, UI Verify... The application is old aparently built with C++.
Is there anything I can do?
I've thought about reproducing the application communication with the server via code, but I wasn't able to identify HTTP requests/responses between them.
Spy++ screenshot
So far, all xpcom examples I saw are Firefox addons. You write some C++ code, build, and register it. This resembles Microsoft COM in-process server, but instead of Windows registry the component information is stored in Firefox profile.
Does Firefox have out-of-the box ability to control it from another process using same API? Somthing like COM's local server application
When you start a second firefox instance, it communicates with the existing firefox process and tells it to open a new window, then dies. I suspect it uses some remote form of xpcom.
I'm a newbie to CHtmlView of Visual C++ programming. I need to make a web-browser application display website by IHTMLDocument2 interface which will need to download activex control from website and run it automatically. Here is the problem, the application which I have made is running well except the activex control on the website is not running. I have checked the interface of IHTMLDocument2 and also have override OnAmbientProperty to setup the flag to zero when dispid value is equals to DISPID_AMBIENT_DLCONTROL, but it still not load activex control on the website which are browsing by using My own web-browser app.
Can anyone tell me which document should I looking for? I'm so confusing about how to setup the security level on my own web-browser application to enable activex.
Thank you very much!
Making it work with MFC might be a bit tedious task. You would need to create a custom implementation of COleControlSite and COccManager for your CHtmlView. On the COleControlSite object, you'd need to implement IServiceProvider and IInternetSecurityManager. With IInternetSecurityManager::ProcessUrlAction you'd control how ActiveX controls are handled.
Here you can find some implementations of the above:
http://www.codeproject.com/Articles/4805/Advanced-customization-of-WebBrowser-Control-in-Di
http://www.codeproject.com/Articles/924/DHTML-User-Interface-Library
http://shareaza-code.googlecode.com/svn/trunk/CtrlWeb.cpp
i use c++ and qt for a project.
I would to know how i can get the default program : default navigator, default mail client, default editor ...
I found for Linux - Gnome: gconftool!
What is for Windows, Mac Os or Linux (KDE) ?
Thanks you.
If you look at the documentation for QDesktopServices::openUrl() you will see that:
If a mailto URL is specified, the
user's e-mail client will be used to
open a composer window containing the
options specified in the URL, similar
to the way mailto links are handled by
a Web browser.
So using QDesktopServices::openUrl() you should be able to open both the default navigator and default mail client.
I assume you want to open these applications and not just find out what they are.
On Windows this kind of stuff can be recovered directly from the registry (regedit).
Search the web to find out the specific registry paths, like this.
According to Microsoft you should not use the registry directly.
See : http://msdn.microsoft.com/en-us/library/windows/desktop/cc144154(v=vs.85).aspx