#127703 - 2004-10-11 08:00 PM
IE COM Splash
|
Incognito
Getting the hang of it
Registered: 2001-07-09
Posts: 66
|
Does anybody have a splash/progress screen written using only IE COM? I am intrested in learning on how to display bitmaps and user login information through a COM object but I don't see a lot of examples out there.
Thanks in advance.
|
Top
|
|
|
|
#127705 - 2004-10-11 08:22 PM
Re: IE COM Splash
|
Incognito
Getting the hang of it
Registered: 2001-07-09
Posts: 66
|
I have searched under the scripts and COM section without finding anything that specifically matches what I'm looking for - A COM login that I can step through to learn the logic.
I have tried looking for COM SPLASH, COM PROGRESS, COM LOGIN.
Nothing really jumping out at me.
|
Top
|
|
|
|
#127707 - 2004-10-11 09:03 PM
Re: IE COM Splash
|
Chris S.
MM club member
Registered: 2002-03-18
Posts: 2368
Loc: Earth
|
Any objections to using a custom COM application that can display all of the above and more? You can use KiXforms to do all of that. I have a sample logon script that can help you get started if you're interested.
|
Top
|
|
|
|
#127708 - 2004-10-11 10:20 PM
Re: IE COM Splash
|
Incognito
Getting the hang of it
Registered: 2001-07-09
Posts: 66
|
I appreciate the offer Chris, but I am trying to get off of using kixforms for my current script since there is a possibility that a user will have insufficient rights to regsvr32 the dll.
I thought that using an IE COM object to display the company LOGO and a few items like USERNAME & Time, etc. while the script ran would eliminate the need to register the forms for login.
But I'm a complete novice with COM and think the best way to get a handle on it would be to take a look at a similar script.
Thanks for the offer though.
|
Top
|
|
|
|
#127710 - 2004-10-11 11:53 PM
Re: IE COM Splash
|
Incognito
Getting the hang of it
Registered: 2001-07-09
Posts: 66
|
I have a combo of NT4, 2k & XP stations. I was thinking of running a utility such as "RUNAS" or "CPAU" to run the regsvr32 command as a Power user but it may be a security issue and a pain in the ass to have everything hinge on one user account.
We have had problems with users from remote offices not getting the DLL registered properly. I'm getting pressure from my peers to revert back to the canned DOS progress indicator, but I think that's a bit extreme. I have to come up with a solid method of getting Kixforms to work properly or get a IE COM repacement otherwise the simplicity critics will have us running an ugly ass DOS screen.
Welcome to the 80's.
|
Top
|
|
|
|
#127715 - 2005-09-14 11:07 PM
Re: IE COM Splash
|
Pa_Callender
Lurker
Registered: 2005-09-14
Posts: 1
|
Could'nt you just use this (have not tried but read it on JS Kit) Code:
function SplashImg($imgURL,$title,$time,$width,$height) $ie = CreateObject("InternetExplorer.Application") $html = "<html><head><title>"+$title+"</title></head><body><img src="+chr(34)+$imgURL+chr(34)+" width="+$width+" height="+$height+"></body></html>" $oPopup = $ie.window.CreatePopup() $oPopupBody = $oPopup.document.body $oPopupBody.innerHTML = $html $oPopup.show(0,0,$width,$height,document.body) sleep $time $oPopup.window.close() EndFunction SplashImg("http://www.example.com/splash.gif","Example.com Login Script",10,300,400)
_________________________
[quote]If you can't blind people with your wisdom, deafen them with your gibberish. [/quote]
|
Top
|
|
|
|
Moderator: Shawn, ShaneEP, Ruud van Velsen, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Mart
|
1 registered
(Allen)
and 466 anonymous users online.
|
|
|