Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Run Once from Internet Explorer.

Thread Tools
 
Search this Thread
 
Old 11 June 2002, 11:00 AM
  #1  
JackClark
Scooby Senior
Thread Starter
 
JackClark's Avatar
 
Join Date: Dec 2000
Location: Overdosed on LCD
Posts: 20,852
Received 51 Likes on 34 Posts
Post

I'm looking to have a machine go to a certain web page just the once the first time explorer is run and just the once, is there a way that anyone knows?
Old 11 June 2002, 11:03 AM
  #2  
Dream Weaver
Scooby Regular
 
Dream Weaver's Avatar
 
Join Date: Feb 2000
Location: Lancashire
Posts: 9,844
Received 0 Likes on 0 Posts
Thumbs up

Jack

You can somehow set smoething in the registry that allows something to Runonce.

I only know cos I ran MSCONFIG after un-installing a program this week, and noticed that it had put an action in there to delete remaining files on bootup. It was under the RunOnce reg key. I think it is in local machine > software > microsoft > windows > currentversion > runonce or something.

Not sure how you would setup the command line though

DW
Old 11 June 2002, 12:32 PM
  #3  
ChristianR
Scooby Regular
iTrader: (1)
 
ChristianR's Avatar
 
Join Date: May 2001
Location: Europe
Posts: 6,329
Likes: 0
Received 1 Like on 1 Post
Post

dreamweavers way will open up internet explorer everytime the machine is logged onto/booted up - is this what you want?

Can you explain a little more what you are requiring.
Old 11 June 2002, 12:36 PM
  #4  
DJ Dunk
Moderator
Support Scoobynet!
iTrader: (5)
 
DJ Dunk's Avatar
 
Join Date: Nov 2001
Location: Not all those who wander are lost
Posts: 17,863
Received 0 Likes on 0 Posts
Post

You could make the web page the default homepage then within that page add the code to popup a window promting you to make another page the homepage . . . . .

Don't ask me how, just seen it done before
Old 11 June 2002, 12:37 PM
  #5  
ChristianR
Scooby Regular
iTrader: (1)
 
ChristianR's Avatar
 
Join Date: May 2001
Location: Europe
Posts: 6,329
Likes: 0
Received 1 Like on 1 Post
Post

actually, after re-reading what you wrote, you basically are asking for:

"User double clicks on internet explorer for the first time, goes to this webpage: pagefirst, if user has already ran internet explorer go to pagetwo."

A few ways of doing it, you could do it in a batch file, with some simple error checking for a file on their h: drive, and using registry keys.
Old 11 June 2002, 12:49 PM
  #6  
JackClark
Scooby Senior
Thread Starter
 
JackClark's Avatar
 
Join Date: Dec 2000
Location: Overdosed on LCD
Posts: 20,852
Received 51 Likes on 34 Posts
Post

Bang on Christian. Cheers guys, couple more avenues to look down.
Old 11 June 2002, 01:08 PM
  #7  
MrDeference
Scooby Regular
 
MrDeference's Avatar
 
Join Date: Mar 2002
Posts: 337
Likes: 0
Received 0 Likes on 0 Posts
Post

Author a web page, put this on the local machine.
In this page have some JScript that sets the users home page and redirects them to the site that you wish them to see once.
Set this page as the homepage.
Bingo.
First load the browser loads the local script page, resets the home page and redirects to the page you want them to see...
Have a look here for some pointers.
Old 11 June 2002, 02:55 PM
  #8  
JackClark
Scooby Senior
Thread Starter
 
JackClark's Avatar
 
Join Date: Dec 2000
Location: Overdosed on LCD
Posts: 20,852
Received 51 Likes on 34 Posts
Post

Mr Defence, local page is the way to go. One of the dev guys here had just suggested it before I read your post.

Thanks again chaps, great resource.

Old 11 June 2002, 02:56 PM
  #9  
David_Wallis
Scooby Regular
 
David_Wallis's Avatar
 
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like on 1 Post
Post

christian..

that wont work... Ill let you work out why

David
Old 11 June 2002, 04:25 PM
  #10  
David_Wallis
Scooby Regular
 
David_Wallis's Avatar
 
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like on 1 Post
Post

Cheat... im sure thats been edited now

besides.... It wont as H and X dont exist as he never mentioned them

Sorry in one of them moods today, but in theory it would, but I think he was on about doing it for any user...

David
Old 06 November 2002, 02:16 PM
  #11  
ChristianR
Scooby Regular
iTrader: (1)
 
ChristianR's Avatar
 
Join Date: May 2001
Location: Europe
Posts: 6,329
Likes: 0
Received 1 Like on 1 Post
Post

something in the line of this, needs some fine tuning if you are going to run as logon (as this code really for i.e. icon shortcut instead) - but i think you will get the idea - don't have time to look in to it anymore at the mo though...


--batch file--start--
@echo off
cls
if exist H:\ranfirst.txt goto amended1
Echo *** You have never ran internet explorer.
c:\winnt\regedit.exe /s x:\regkeys\regkey1.reg
copy x:\regkeys\ranfirst.txt h:\
goto end

:amended1
Echo *** You have ran internet explorer in the past.
c:\winnt\regedit.exe /s x:\regkeys\regkey2.reg
goto end

:end

--batch file--end--

--regkey1--start--
REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]
"Start Page"="http://firstpage.togoto.com"
"Save Directory"="H:\\"
--regkey1--end--


--regkey2--start--
REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]
"Start Page"="http://secondpage.togoto.com"
"Save Directory"="H:\\"
--regkey2--end--



[Edited by ChristianR - 6/11/2002 3:40:50 PM]
Old 06 November 2002, 03:40 PM
  #12  
ChristianR
Scooby Regular
iTrader: (1)
 
ChristianR's Avatar
 
Join Date: May 2001
Location: Europe
Posts: 6,329
Likes: 0
Received 1 Like on 1 Post
Post

david - yes it will, if ran from a batch file. if ran on logon script it wont, as the script would run on logon, copy the file accross. next time when loggon on, the script would run, see that the txt file already exists, and replace the homepage to the next one - even if the user hasn't used ie.

[Edited by ChristianR - 6/11/2002 3:42:46 PM]
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
JimBowen
ICE
5
02 July 2023 01:54 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
12
18 November 2015 07:03 AM
Billet
ScoobyNet General
42
14 October 2015 10:38 PM
FuZzBoM
Wheels, Tyres & Brakes
16
04 October 2015 09:49 PM
Wish
Computer & Technology Related
3
30 September 2015 10:39 PM



Quick Reply: Run Once from Internet Explorer.



All times are GMT +1. The time now is 12:46 PM.