home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Ask a Tech Support Question (free)!

Hide IE Scrollbars with WScript

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 1599
Discussions: 200,954, Posts: 2,379,487, Members: 246,325
Old May 12th, 2004, 04:09 AM   Digg it!   #1 (permalink)
Junior Member
 
Join Date: May 2004
Posts: 4
Hide IE Scrollbars with WScript

How could I hide the IE Scrollbars with WScript
when creating an instance with WScript.CreateObject("InternetExplorer.Application ")?

Thanks.
felizxu is offline   Reply With Quote
Old May 12th, 2004, 04:20 AM     #2 (permalink)
ph34r t3h g04t
 
Whir's Avatar
 
Join Date: Oct 2001
Location: Kingsford, MI
Posts: 19,558
Blog Entries: 7
What are you trying to hide them on? You may not need to use a script.
Whir is offline   Reply With Quote
Old May 12th, 2004, 09:55 PM     #3 (permalink)
Junior Member
 
Join Date: May 2004
Posts: 4
Hide IE Scrollbars with WScript

Thanks for your reply.

Although I can't write the following code to open an instance of IE,
I CAN'T hide its vertical scrollbar!

Set objExplorer = WScript.CreateObject("InternetExplorer.Application ")
objExplorer.Navigate "about:blank"
objExplorer.ToolBar = 0
objExplorer.StatusBar = 0
objExplorer.Width = 264
objExplorer.Height = 352
objExplorer.Left = 0
objExplorer.Top = 0
objExplorer.Visible = 1

Thanks again.
felizxu is offline   Reply With Quote
Old May 14th, 2004, 06:54 PM     #4 (permalink)
ph34r t3h g04t
 
Whir's Avatar
 
Join Date: Oct 2001
Location: Kingsford, MI
Posts: 19,558
Blog Entries: 7
What you could do is, and I'm assuming you're opening a premade page, have the pop-up target a frame page and use the scrolling=no switch. Then have that frame load the page you want the user to see.

Or you could use an CSS blurb in the <head> tag to make the scollbar elements a single color - the same as the background. This wouldn't make the scrollbar go away, but it would be 'invisible.'

Since I'm not sure what you're after exactly, that's about all I can tell you.
Whir is offline   Reply With Quote
Old May 27th, 2004, 03:08 PM     #5 (permalink)
Junior Member
 
Join Date: May 2004
Posts: 1
add "scroll=no" to the <BODY> tag
OneUpOnU is offline   Reply With Quote
Old May 28th, 2004, 03:44 AM     #6 (permalink)
Junior Member
 
Join Date: May 2004
Posts: 4
Thanks very much! It works!
felizxu is offline   Reply With Quote
Old May 28th, 2004, 06:07 AM     #7 (permalink)
Not Really a Member
 
Join Date: Oct 2001
Posts: 25,386
It sounds like you were trying to write client side script from an asp page which is server side.
You wouldn't be able to access the properties like that
__________________
Helicopters don't fly; they vibrate so much and make so much noise that the earth rejects them.
vass0922 is offline   Reply With Quote
Old May 30th, 2004, 11:19 PM     #8 (permalink)
Junior Member
 
Join Date: May 2004
Posts: 4
What I'm doing is to write a VBS to run when users log in windows. This VBS script will open a popup IE window, with no scroll bars.
felizxu is offline   Reply With Quote
Old May 30th, 2004, 11:35 PM     #9 (permalink)
Not Really a Member
 
Join Date: Oct 2001
Posts: 25,386
Ohhhhhhh I see

Ok
vass0922 is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads
Thread Thread Starter Forum Replies Last Post
equiv to %windir% in VBS ? DVNT1 General Tech Discussion 4 January 15th, 2004 05:41 PM
need VBS script (pausing issue) DVNT1 Webmastering and Programming 14 June 5th, 2003 01:31 AM
Easy VBS Question vass0922 Webmastering and Programming 16 August 22nd, 2002 09:51 PM
Change scrollbar in XP Theme Beemer General Tech Discussion 16 June 6th, 2002 12:39 PM
Any propositions about a new web-page? Kurylo Webmastering and Programming 11 April 27th, 2002 07:18 PM


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (2944)
The disrespect of Obama by Russian .. (41)
Making Health Care Worse (178)
Wireless Televisions. (12)
CPU fan stops spinning randomly (9)
Regular Build (11)
windows 7 problem (7)
Laptop with wireless problem. (5)
Is the PSU I received dead? (12)
Print spooler problem (15)
radeon x850xt platinum & shader.. (6)
windows vista security holes (11)
HIS HD5770 graphic card question (15)
Install XP pro and a Vista laptop ?.. (11)
Recent Discussions
webcam (0)
upgrade for hp a6101 (0)
windows vista security holes (11)
Laptop with wireless problem. (5)
Modern Warfare 2: Who Bought It? (64)
tv not turn on-makes clicking sound (2)
CPU fan stops spinning randomly (9)
EVGA 9800 gtx help with finding a goo.. (11)
Regular Build (11)
Help with onclick and buttons (0)
Virus advise (8)
My monitor won't turn on after instal.. (1)
Internet Lost (3)
Dept. of HS: NSA 'Helped' Develop Vis.. (16)
Point and Shoot Camera Suggestions. (4)
Multiple Restarts Required at Boot (2)
Ideal cheap graph card for PC-Gaming? (18)
radeon x850xt platinum & shader 3 (6)
Graphics Card Upgrade Question (4)
For Sale BFG GTX285 OC2 with 10 year .. (3)
How to convert MP3's (4)
Wireless Televisions. (12)
Hp Artist Edition + Matching Bag (0)
Asus P4G8X Mobo (6)
Xbox 360 GTA: SA disk error (1)


All times are GMT -4. The time now is 06:07 AM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28