Computers ain't that smart, Whatever man built could be taken apart
Computers ain't that smart, Whatever man built could be taken apart
"iemand hier in de zaal die daar verstand van heeft...¿¿¿:P:P:P"
Computers ain't that smart, Whatever man built could be taken apart
Verwijderd
Je moet dus CGI gebruiken, en je proggie moet daar wel speciaal voor geschreven zijn. Of je moet een wrapper gebruiken.
En, nee, je kan geen quake op je webpage spelen.....
oja het is dus voor een Active Desktop...
Computers ain't that smart, Whatever man built could be taken apart
Verwijderd
1
2
3
4
5
| <html> </body> <a href="c:\windows\notepad.exe">Nootblaadje</a> </body> </html> |
Zo kan je iets starten nadag je alle meldingen hebt weg gewerkt.....
Zo gaat ie doodleuk downloadenOp woensdag 20 december 2000 16:51 schreef The_dude het volgende:
code:
1 2 3 4 5 <html> </body> <a href="c:\windows\notepad.exe">Nootblaadje</a> </body> </html>
Zo kan je iets starten nadag je alle meldingen hebt weg gewerkt.....
"file:///c|//notepad.exe"
van ofzo, is niet anders te krijgen.....
ook die 2 slashen niet, en ook niet dat het de verkeerde slashen zijn...!!!
dat word razor-informeren.....
Computers ain't that smart, Whatever man built could be taken apart
Verwijderd
Deze files moet je koppelen (bij file types) aan dat programma, zodat dat soort files automagisch daarmee worden geopend.
Vervolgens kan je in explorer op zo'n file klikken, dan vraagt ie of je het wil opslaan of meteen openen. Als je dan doet 'meteen openen', en je zegt dat ie dat voortaan niet meer moet vragen, start ie elke keer als je op zo'n file klikt dat programma. Die leest dat de gegevens, en start het goede programma.
Sorry als dit een beetje onsamenhangend overkomt, ik heb geen zin om het na te lezen
Als je een goed voorbeeld wil hebben, moet je in je local bookshop even het duitse blad 'PC Online' kopen waarvan de cover CD deze techniek gebruikt. Je kan dan ook hun launcher en installer gebruiken.
Dit gebruiken ze om notepad op te starten:
1
| <A ID="shortcut" HREF="EXEC=Notepad,notepad.exe,, CHM=ntshared.chm FILE=alt_url_windows_component.htm">Notepad</A> |
4200Wp ZO + 840Wp ZW + 1680Wp NW | 14xIQ7+ + 1xDS3-L | MTVenusE | HWP1
Verwijderd
Verwijderd
het _KAN_ niet in HTML!!! Je moet bijv. PHP of een andere interpreter gebruiken.
Ik gebruik PHP.
in de link zet ik :
1
| <a href="http://localhost/desktop/run.php3?prog=1">notepad.exe</a> |
en in de run.php3 staat :
1
2
3
4
5
6
7
| <? Switch($prog) { case 1: exec('c:\command.com /c C:\windows\notepad.exe'); break; ?> |
Let op! je moet wel PHP + apache draaien op je computer!
je kan de volledige source van mijn active desktop downloaden van : http://weirdsoft.csworld.net/desktop/desktop.zip
en je kan hem hier bekijken
een a href doen naar
[url="file:///C:/winnt/notepad.exe"]file:///C:/winnt/notepad.exe[/url]
oopz correctie.. het gaat toch stiekum niet !
Have a wheelie good weekend!
Verwijderd
nou.. je heb wel een server nodig! PHP + apache dus. dit kun je in een standaard paketje downloaden van http://www.firepages.com.au/bundle.php3Op woensdag 20 december 2000 19:22 schreef worst het volgende:
Zoals boven beschreven kan het dus wel zonder ingewikkelde servers ed.
owja. het is mij nog niet gelukt om een DOS .exe te starten b.t.w.
Computers ain't that smart, Whatever man built could be taken apart
Verwijderd
Het is me wel eens gelukt, maar dan blijft het gestarte programma in het geheugen, zonder verder wat te doen.
Je kunt het dan niet killen, omdat het in gebruik is door IIS.
Iemand suggesties?
Verwijderd
Verwijderd
Verwijderd
Het lijkt me wat doorzichtiger dan een hele webserver installeren. In dit geval gaat het maar om 1 executable.
Verwijderd
Verwijderd
Run Method
Creates a new process that executes strCommand.
object.Run (strCommand, [intWindowStyle], [bWaitOnReturn])
Arguments
object
WshShell object.
strCommand
Environment variables within the strCommand parameter are automatically expanded.
intWindowStyle
Optional. Sets the window style of the program being run.
bWaitOnReturn
Optional. If bWaitOnReturn is not specified or FALSE, immediately returns to script execution rather than waiting for the process to end.
If bWaitOnReturn is set to TRUE, the Run method returns any error code returned by the application.
If bWaitOnReturn is not specified or is FALSE, the Run method returns an error code of 0 (zero).
Remarks
The following table lists the available settings for intWindowStyle:
intWindowStyle Description
0 Hides the window and activates another window.
1 Activates and displays a window. If the window is minimized or maximized, the system restores it to its original size and position. An application should specify this flag when displaying the window for the first time.
2 Activates the window and displays it as a minimized window.
3 Activates the window and displays it as a maximized window.
4 Displays a window in its most recent size and position. The active window remains active.
5 Activates the window and displays it in its current size and position.
6 Minimizes the specified window and activates the next top-level window in the Z order.
7 Displays the window as a minimized window. The active window remains active.
8 Displays the window in its current state. The active window remains active.
9 Activates and displays the window. If the window is minimized or maximized, the system restores it to its original size and position. An application should specify this flag when restoring a minimized window.
10 Sets the show state based on the state of the program that started the application.
Example
The following example runs Microsoft Notepad and opens the currently running script:
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run ("%windir%\notepad" & WScript.ScriptFullName)
The following example returns the error code from the executed application:
Set WshShell = WScript.CreateObject("WScript.Shell")
Return = WshShell.Run("notepad " & WScript.ScriptFullName, 1, TRUE)
je hoort op eenzelfde manier ook andere apps te kunnen runnen, indien het op je eigen machine is, ideaal voor AD dus
10-08-1999 - 10-08-2022, 23 jaar zion @ Tweakers.net
systeem
<?php
exec("C:\Programmamap\Executable.exe") or die("Cannot find or open file");
?>
ik zal er nog even achteraan gaan
Verwijderd
Je kickt een bijna 7 jaar oud topicDJF5 schreef op zaterdag 25 augustus 2007 @ 03:40:
volgens mij doe je dat zo
<?php
exec("C:\Programmamap\Executable.exe") or die("Cannot find or open file");
?>
ik zal er nog even achteraan gaan
'E's fighting in there!' he stuttered, grabbing the captain's arm.
'All by himself?' said the captain.
'No, with everyone!' shouted Nobby, hopping from one foot to the other.
Dit topic is gesloten.
![]()