Help needed : I need to open tabs in IE using VC++
Hi all, i have posted this in C++ and WinAPI forum... but, i didnt get a reply... :(
The thread instead is getting burried... so i have no hope that anyone will answer it there.
thats why i am re-posing the same question here, sorry. :)
Coming to Question...,
I am having a window, a simple window with two edit controls on it and a button.
Now, on the first Edit control i need to enter a URL or link, and in the Seconf Edit it takes input in between 1 to 10 integer values.
And, when i press the Button control, i need to open up the Internet Explorer, our IE with N number of Tabs open with the URL in the Editbox.
Where N is the integer value i take from the second Edit control.
I Read MSDN documentation and found way to open Default Browser.. but dont know how to Open multiple tabs and assign the same URL to each..
Please help me.. i cant find any Tutorials or Code snips regarding this, and i asked google. nothing found.
Thanks in advance, seeking for your valuable inputs... :)
PS : Please Atleast Reply, whether this is Possible or Not...
Re: Help needed : I need to open tabs in IE using VC++
Why are you sure the user PC your App is about to be installed always will have IE7 or higher or any other Internet browser using tabs? :confused:
And note also, that it is User who chooses how any link should be opened: in a new browser instance or in a new tab or in already opened tab or/and instance.
Re: Help needed : I need to open tabs in IE using VC++
Thanks for reply, guru. :)
but, its not compulsary that the browser must be IE. can i do it with the default Browser?
I mean, if that browser does not supports tabs, the by default it will open in new windows.. thats no problem..
But now, i need to make this work only for IE.... can you please help me guru? or suggest me some methods, or tell me if this is possible or not....
i will be thankful :)
Re: Help needed : I need to open tabs in IE using VC++
1 Attachment(s)
Re: Help needed : I need to open tabs in IE using VC++
I am not going to help you in these, IMHO, wrong assumptions.
Again: the end user, and the only end user, may choose how to open links from external programs! See the attachment:
Re: Help needed : I need to open tabs in IE using VC++
Probably it is possible, but on the other hand it may not be possible. Try to check the messages with Spy++ what messages browser is getting when you open the new tab. Off course you need to check this for all major browsers Opera, Safari, Firefox 2,3, IE 5,6,7,8 and Chrome, and make separate functions for all browsers because they are probably not using the same command. Then you need to distinguish which browser(s) is/are installed on the system, check which browser is default, or opened, and then post the message to the opened program.
Again if program is not using any message for opening the tab, then you are stuck.
Re: Help needed : I need to open tabs in IE using VC++
@ VictorN and streamer
Thanks for your replies...
I've concluded that its possible though, but impossible!
Anyways, thanks Victor for your Image screenshot. Actually i wasnt awared about that setting :D
Now, i coded in a way, the program opens a given link in the default browser in the System.
hanks again for your valuable suggestions :)