Okay, so it was all smooth sailing until I had a friend test out a gadget; then things got complicated.
- Sub Object_OnScriptEnter
- Set objExplorer = CreateObject("InternetExplorer.Application")
- objExplorer.Navigate "about:blank"
- objExplorer.ToolBar = 0
- objExplorer.StatusBar = 1
- objExplorer.Width = 300
- objExplorer.Height = 150
- objExplorer.Left = 0
- objExplorer.Top = 0
- objExplorer.Visible = 1
- End Sub
Long story short: I have UAC turned off, so it worked fine. But with my friend's UAC turned on, it won't allow the gadget to set any of iexplorer properties. It'll open iexplorer all right and navigate to the url, but I really need the window to open in a specific size or I might as well forget the function altogether. Can't expect the end-user to turn off their UAC just for this gadget, and I haven't seen any way to get Vista to allow the script.
I'd use DX ActiveX web browser, but the site I'm navigating to uses shockwave flash, and, with UAC turned on, it crashes DXBuilder before Vista can ask for permission to run the site.
It's the first time I'm doing a really internet-intensive gadget and I'm finding UAC to be a royal pain.
Any workarounds or ideas?