November 11th, 2002, 10:36 AM
PopUps from VB in IE
Also, is there anyway to control the browser window in IE using VB, such as removing the addressbar or altering the window so it becomes changes to fullscreen mode?
R.T.F.M - Its the only way to fly...
"No matter what you do, or how good it is, someone will always ask for more features. Or to change the colour of something, then change their minds."
experience// 8 Years Web Development
technologies// Standards-compliant, valid, & accessible (x)HTML/CSS, XML/XSL/XPath/XQuery/XUpdate, (OOP) PHP/(My)SQL, eXist/Xindice/XMLDBs
packages// Photoshop, Illustrator, Flash/Fireworks/Director
environment// FC2, MySQL, Lighttpd, PHP5, Mojavi/Agavi
site// //refactored.net/ (Coming soon...)
quote// Programming is the eternal competition between programmers who try to make apps more and more idiot proof and the universe that makes dumber idiots. So far, the universe is winning...
November 17th, 2002, 01:19 PM
If I remember correctly
My VB days were over a long while ago, but if I recall correctly you could make a call to the ShellExecute function and open an instance of MSIE. Check http://planetsourcecode.com
Two things have come out of Berkeley, Unix and LSD.
It is uncertain which caused the other.
December 6th, 2002, 03:42 PM
hmm i usta do all that stuff to AOL back in the day with Vb.. i suggest goto the API and look through the calls, you simply need to get the handle of the object u want to remove and close the handle.
I usta use this program IVY Spy to see if i caught the correct Handle. you can roll over and component on the screen and it gives you all the information on it.
To open the browser you can just call the command line "start URL"
i know in 2000 and XP it opens a browser
December 9th, 2002, 08:39 AM
Are you sure you mean VB or VBScript?
You can find a reference to it on the MSDN site, or use the following link:http://msdn.microsoft.com/library/de...bscripttoc.asp
December 12th, 2002, 11:23 PM
I think you want something like this:
Call Shell("C:\Program Files\Internet Explorer\iexplore www.deepcode.net", vbNormalFocus)
This will make it popup the website www.deepcode.net in its normal viewing window (not making it maximized unless thats your normal setting) and focused on, meaning popped up in your face. try vbNormalNoFocus for a pop-under ad. If you have any other problems, feel free to ask.
December 19th, 2002, 10:54 PM