Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming > Web Coding

Reply
 
LinkBack Thread Tools
Old 04-17-08   #1 (permalink)
nVidia Enthusiast
 
RIGGY's Avatar
 
intel nvidia

Join Date: Jul 2007
Location: New Zealand
Posts: 273

Rep: 3 RIGGY Unknown
Unique Rep: 3
Hardware Reviews: 2
Trader Rating: 0
Default Running .EXE without prompts

Hi guys,

Just asking for my friend at work.

He's having problem doing a script that will run a .EXE program without the "Run/Save" prompt from IE. He just wants the program to run right away without any questions after he click the image link. The program is located in the main hard drive.

He is designing a touchscreen Kiosk and hes kinda stuck with this problem.



Any suggestions?

System: Rig's gaming RIG!!!!!!!!!!!!!
CPU
Core 2 Quad Q6600 B3
Motherboard
XFX nforce 680i
Memory
G.Skill 4gb PC6400 HZ
Graphics Card
2 XFX 8800GTX
Hard Drive
Seagate 500gb 7200.11 + 160gb + 400gb 7200.10
Sound Card
Creative SB X-Fi XtremeGamer
Power Supply
Silverstone Zeus 750W
Case
Silverstone TJ09 Black
CPU cooling
Zalman N9700 NT black
GPU cooling
Vantec Spectrum PCI-E 2xfans w/ blue LEDs
OS
Windows XP pro SP2
Monitor
Samsung 22" & ChiMei 22"
RIGGY is offline   Reply With Quote
Old 04-17-08   #2 (permalink)
4.0 GHz
 
intel

Join Date: Feb 2008
Posts: 1,742

Rep: 110 5CheeseLasagna is acknowledged by many5CheeseLasagna is acknowledged by many
Unique Rep: 85
Trader Rating: 1
Default

I know nothing, but here's a guess: I would think that is impossible due to security. I don't think I would ever want to visit a website where it would run an executable without my knowledge/permission. I prefer to see a dialog box/prompt first.
5CheeseLasagna is offline   Reply With Quote
Old 04-17-08   #3 (permalink)
Overclocker
 
Dman's Avatar
 
intel nvidia

Join Date: May 2006
Posts: 1,906

Rep: 162 Dman is acknowledged by manyDman is acknowledged by many
Unique Rep: 136
Folding Team Rank: 1356
Trader Rating: 0
Default

I'm pretty sure that will not work in a browser, he would need to write the code in a script language like jave, php, actionscript etc., then it would run. I don't think browsers have the ability to run executables.

System: My System
CPU
Core 2 Q6700
Motherboard
Asus P5Q-E
Memory
Team Group PC6400
Graphics Card
EVGA 8800gts 640mb
Hard Drive
Seagate 7200.10 320GB x2 RAID 0
Sound Card
Creative XiFi Xtreme music
Power Supply
OCZ GameXstream 600W
Case
Thermaltake Armour Jr
OS
Vista Ultimate 64bit
Monitor
Samsung 245BW 24'
Dman is offline I fold for Overclock.net   Reply With Quote
Old 04-17-08   #4 (permalink)
Kernel Sanders
 
rabidgnome229's Avatar
 
intel nvidia

Join Date: Feb 2006
Location: Pittsburgh
Posts: 4,900
Blog Entries: 1

Rep: 549 rabidgnome229 is becoming famousrabidgnome229 is becoming famousrabidgnome229 is becoming famousrabidgnome229 is becoming famousrabidgnome229 is becoming famousrabidgnome229 is becoming famous
Unique Rep: 327
FAQs Submitted: 6
Trader Rating: 5
Default

If the browser is IE use a url in the form

Code:
file:///C:/foo/bar/foobar.exe
Quote:
Originally Posted by 5CheeseLasagna View Post
I know nothing, but here's a guess: I would think that is impossible due to security. I don't think I would ever want to visit a website where it would run an executable without my knowledge/permission. I prefer to see a dialog box/prompt first.
Security, rofl
__________________
BIG BROTHER
I put on my robe and wizard hat...

IS WATCHING

System: It goes to eleven
CPU
E6300
Motherboard
DS3
Memory
2GB XMS2 DDR2-800
Graphics Card
EVGA 8600GTS
Hard Drive
1.294 TB
Sound Card
Audigy 2 ZS
Power Supply
Corsair 520HX
Case
Lian-Li v1000B Plus
CPU cooling
TTBT
GPU cooling
Thermalright V2
OS
Arch Linux/XP
Monitor
Samsung 226bw
rabidgnome229 is offline Overclocked Account   Reply With Quote
Old 04-17-08   #5 (permalink)
Audiophile
 
F3t1sh's Avatar
 
intel ati

Join Date: Oct 2006
Location: Gatineau, Quebec
Posts: 805
Blog Entries: 4

Rep: 36 F3t1sh is acknowledged by some
Unique Rep: 26
Folding Team Rank: 1084
Hardware Reviews: 1
Trader Rating: 0
Default

He could design the interface directly on the site through Java or something as Dman said. It would be really cool as I'm not sure if you've seen it, but there's an email provider thingy called GMX which acts like a regular program interface like Thunderbird or Outlook, but it's all done online through their site, aka very cool.
__________________


My Votes



31D8M4a1r1k

System: lolz
CPU
Q6600 GO @ 3.6 1.44v (450*8)
Motherboard
Abit IP35 Pro
Memory
Crucial Ballistix 4x1GB
Graphics Card
HIS Radeon 3870x2
Hard Drive
RAID0 - Seagate Barracuda 160GB
Sound Card
AuzenTech Auzen Prelude
Power Supply
GameXStream 700W
Case
Ultra Aluminus
CPU cooling
Xigmatek S1283 w/Backplate mod
OS
Vista HP 64Bit
Monitor
Samsung 225BW
F3t1sh is offline I fold for Overclock.net F3t1sh's Gallery   Reply With Quote
Old 04-17-08   #6 (permalink)
Kernel Sanders
 
rabidgnome229's Avatar
 
intel nvidia

Join Date: Feb 2006
Location: Pittsburgh
Posts: 4,900
Blog Entries: 1

Rep: 549 rabidgnome229 is becoming famousrabidgnome229 is becoming famousrabidgnome229 is becoming famousrabidgnome229 is becoming famousrabidgnome229 is becoming famousrabidgnome229 is becoming famous
Unique Rep: 327
FAQs Submitted: 6
Trader Rating: 5
Default

Looks like you can also do it with javascript

javascript run executable
__________________
BIG BROTHER
I put on my robe and wizard hat...

IS WATCHING

System: It goes to eleven
CPU
E6300
Motherboard
DS3
Memory
2GB XMS2 DDR2-800
Graphics Card
EVGA 8600GTS
Hard Drive
1.294 TB
Sound Card
Audigy 2 ZS
Power Supply
Corsair 520HX
Case
Lian-Li v1000B Plus
CPU cooling
TTBT
GPU cooling
Thermalright V2
OS
Arch Linux/XP
Monitor
Samsung 226bw
rabidgnome229 is offline Overclocked Account   Reply With Quote
Old 04-17-08   #7 (permalink)
4.0 GHz
 
intel

Join Date: Feb 2008
Posts: 1,742

Rep: 110 5CheeseLasagna is acknowledged by many5CheeseLasagna is acknowledged by many
Unique Rep: 85
Trader Rating: 1
Default

Quote:
Originally Posted by rabidgnome229 View Post
If the browser is IE use a url in the form

Code:
file:///C:/foo/bar/foobar.exe
Security, rofl
You laugh like I was saying "IE's security is great."
5CheeseLasagna is offline   Reply With Quote
Old 04-17-08   #8 (permalink)
nVidia Enthusiast
 
RIGGY's Avatar
 
intel nvidia

Join Date: Jul 2007
Location: New Zealand
Posts: 273

Rep: 3 RIGGY Unknown
Unique Rep: 3
Hardware Reviews: 2
Trader Rating: 0
Default

We tried the file:/// and still didn't work. :\ any more suggestions?

System: Rig's gaming RIG!!!!!!!!!!!!!
CPU
Core 2 Quad Q6600 B3
Motherboard
XFX nforce 680i
Memory
G.Skill 4gb PC6400 HZ
Graphics Card
2 XFX 8800GTX
Hard Drive
Seagate 500gb 7200.11 + 160gb + 400gb 7200.10
Sound Card
Creative SB X-Fi XtremeGamer
Power Supply
Silverstone Zeus 750W
Case
Silverstone TJ09 Black
CPU cooling
Zalman N9700 NT black
GPU cooling
Vantec Spectrum PCI-E 2xfans w/ blue LEDs
OS
Windows XP pro SP2
Monitor
Samsung 22" & ChiMei 22"
RIGGY is offline   Reply With Quote
Old 04-18-08   #9 (permalink)
Programmer
 
stupid's Avatar
 
amd nvidia

Join Date: Jan 2006
Location: Fahaheel, Kuwait
Posts: 1,224

Rep: 144 stupid is acknowledged by manystupid is acknowledged by many
Unique Rep: 113
FAQs Submitted: 1
Trader Rating: 4
Default

This is not going to work from a browser... that would spell the end of the internet... just think if any site could run .exe's on our machines whenever they pleased?
__________________
"If there is a god, I hope he has a good excuse"
Woody Allen

System: Minazo
CPU
Opteron 1210
Motherboard
Biostar TForce 550 SE
Memory
2x1GB G.Skill DDR2 800
Graphics Card
eVGA 8800GT
Hard Drive
500GB 16MB Buf Samsung
Power Supply
Corsair HX520W Modular
Case
CoolerMaster Centurion 5
CPU cooling
CoolerMaster GeminII & Scythe SFF21Ds
GPU cooling
Accelero S1 & Scythe SFF21D
OS
XP Pro SP2
Monitor
Dual monitors: 22" & 19" Widescreens
stupid is offline   Reply With Quote
Old 04-18-08   #10 (permalink)
Chiefly Ignorant
 
Scriptorum's Avatar
 
intel nvidia

Join Date: Jan 2008
Location: Atlanta, GA
Posts: 54
Blog Entries: 12

Rep: 13 Scriptorum Unknown
Unique Rep: 10
Trader Rating: 0
Default

You could run a local webserver on the kiosk and write a Perl/PHP script that launches the EXE in question.

It's also possible to launch a local EXE using a piece of invisible Flash somewhere on the page, but since they nerfed that functionality in the latest Flash CS3, so may have to roll-back to something earlier than Flash Player 9 for it to work.
__________________
Quote:
Originally Posted by The Bartender Paradox View Post
crazy?...nah. when you cool with a fire extinguisher then your crazy.

System: Flaming Moe's MacBook Pro
CPU
Core 2 Duo
Motherboard
MacBook Pro
Memory
4GB DDR2-667
Graphics Card
512Mb NVIDIA GeForce 8600M GT
Hard Drive
200Gb 7200RPM
OS
OSX 10.5.2 / XP Pro / Boot Camp + Parallels
Monitor
17" Matte 1920x1200

Last edited by Scriptorum : 04-18-08 at 11:41 AM. Reason: Added info about flash.
Scriptorum is offline Overclocked Account   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -4. The time now is 02:41 AM.


Overclock.net is a Carbon Neutral Site Creative Commons License Internet Security By ControlScan

Terms of Service / Forum Rules | Privacy Policy | Advertising | Become an Official Vendor
Copyright © 2008 Shogun Interactive Development. Most rights reserved.
Page generated in 0.21411 seconds with 9 queries