this is just a querry to ur program.
What do i do if i need to launch the default browser on the machine.I dont know which browser is installed on the M/C.I need to call this browser by just clicking on the button of an MFC application.The main thing out here is that it should not open in any microsoft control.It should launch as a normal browser launches.
Would anyone know how to get the url from an active ie window to a variable in my com component i don't know how to reference the ie window. I am pretty ne at developing com's but i got stuck here. I fanyone could help me out here i'd gretaly appreciate it .
I have two softwares made by me - i want to read the serial port using one software and then some decoding part and send the information to the other software , is this possible , if yes then how else is tere any other alternative.Please help me
Thankx for your excellent sample, but it seems your ViewSource part have some memory, try to push the button and view the mem usage of your app in win2k task man, you will see it eat and eat mem. I guess it is here:
Your bstr seems not be freed....................
If you use ShellWindows to obtain a list of running Internet
Explorer/Windows Explorer instances, it usually works fine. But if you first kill and then launch explorer.exe while other Internet Explorers are alive, then you get 0 as response to ShellWindows::GetCount(). I suppose that each time a new Internet Explorer window is launched, it notifies its webBrowser object to the Shell (managed by explorer.exe), but it does nothing when a new explorer.exe is created.
Is there any way to refresh that list while running the browsers?.
Thanks in advance.
Jose Manuel Bento