Author | Topic: internet explorer | |
---|---|---|
Jorge L | internet explorer on Wed, 14 Jan 2009 12:47:30 -0300 hello to all how i can open an internet explorer that execute my html code at the start ? regards | |
Rodd Graham | Re: internet explorer on Wed, 14 Jan 2009 22:19:35 +0000 Hello Jorge, > hello to all > how i can open an internet explorer that execute my html code at the > start ? I use the following VBS script from to open multiple URL's from the command line in IE7 using tabs. Since it is just using COM automation, it should be translatable to Xbase++. dim objArgs dim oIE dim I const NavConstant = 4096 Set objArgs = WScript.Arguments if objArgs.Count > 0 then set oIE = CreateObject("InternetExplorer.Application") oIE.Navigate2 objArgs(0) For I = 1 to objArgs.Count - 1 oIE.Navigate2 objArgs(I),NavConstant next oIE.Visible = true end if Regards, Rodd Graham, Consultant Graham Automation Systems, LLC | |
Jorge L | Re: internet explorer on Wed, 14 Jan 2009 21:51:37 -0300 thanks rodd, can you tellme where or how i can to get the methods of the internet explorer ? thankyou very much for this example "Rodd Graham" <rgraham@grahamautomation.com> escribió en el mensaje de noticias news:6c56a92247ce28cb447b06525a34@news.alaska-software.com... > Hello Jorge, > >> hello to all >> how i can open an internet explorer that execute my html code at the >> start ? > > I use the following VBS script from to open multiple URL's from the > command line in IE7 using tabs. Since it is just using COM automation, it > should be translatable to Xbase++. > > dim objArgs > dim oIE > dim I > > const NavConstant = 4096 > Set objArgs = WScript.Arguments > > if objArgs.Count > 0 then > set oIE = CreateObject("InternetExplorer.Application") > oIE.Navigate2 objArgs(0) > For I = 1 to objArgs.Count - 1 > oIE.Navigate2 objArgs(I),NavConstant > next > oIE.Visible = true > end if > > Regards, > > Rodd Graham, Consultant > Graham Automation Systems, LLC > > > | |
Rodd Graham | Re: internet explorer on Thu, 15 Jan 2009 01:10:14 +0000 Hello Jorge, > can you tellme where or how i can to get the methods of the internet > explorer ? MSDN is the official documentation for all microsoft technologies. It is available online for free, but I prefer to buy the DVD version since M$ tends to remove information for versions it is no longer selling. http://msdn.microsoft.com/en-us/library/aa752094(VS.85).aspx Regards, Rodd Graham, Consultant Graham Automation Systems, LLC |