what is the syntax/command to shellexecute an .exe file with parameters
WWWEINVOICE=WEBSITENAM
UID=THEUSENAME
PSW=THEPASWORD
ShellExecute( 0, 0, WWWEINVOICE UID PSW, 0 ,0,1) does not execute.
nor does: ShellExecute( 0, 0, WWWEINVOICE, [UID PSW], 0 ,0,1)
nor does: WWWEINVOICE=WEBSITENAME +spac(1)+ UID +SPAC(1)+PSW
ShellExecute( 0, 0, &WWWEINVOICE, 0 ,0,1)
Il 18/11/2022 23:52, timepro timesheet ha scritto:thanks emg:
what is the syntax/command to shellexecute an .exe file with parameters
WWWEINVOICE=WEBSITENAMI don't think you can use ShellExecute() for that. You can open an URL
UID=THEUSENAME
PSW=THEPASWORD
ShellExecute( 0, 0, WWWEINVOICE UID PSW, 0 ,0,1) does not execute.
nor does: ShellExecute( 0, 0, WWWEINVOICE, [UID PSW], 0 ,0,1)
nor does: WWWEINVOICE=WEBSITENAME +spac(1)+ UID +SPAC(1)+PSW
ShellExecute( 0, 0, &WWWEINVOICE, 0 ,0,1)
but you can't pass userid and password to it like it was an executable.
If your website supports it, you can use the question mark/ampersand
syntax. As an example:
http://www.mysite.com?myuser=abcd&mypasw=efgh
--
Enrico Maria Giordano
http://www.emagsoftware.it
http://www.emagsoftware.it/emgmusic
http://www.emagsoftware.it/spectrum
http://www.emagsoftware.it/tbosg
WWWEINVOICE is just the name of the .EXE file to be run. (it is not an URL).
e.g.
WWWEINVOICE=DISKNAME()+':\MY_TAX\'+GSTPAIDSUBFOLDER+'\MYTAX.EXE' UID='ABC123_UCODE19e'
PSW='ABC_@#15y'
ShellExecute( 0, 0, so_what_to_type_here?, 0 ,0,1)
Il 20/11/2022 01:06, timepro timesheet ha scritto:thank you, emg.
WWWEINVOICE is just the name of the .EXE file to be run. (it is not an URL).
e.g.ShellExecute( 0, 0, WWWEINVOICE, UID + " " + PSW, 0, 1 )
WWWEINVOICE=DISKNAME()+':\MY_TAX\'+GSTPAIDSUBFOLDER+'\MYTAX.EXE' UID='ABC123_UCODE19e'
PSW='ABC_@#15y'
ShellExecute( 0, 0, so_what_to_type_here?, 0 ,0,1)
--
Enrico Maria Giordano
http://www.emagsoftware.it
http://www.emagsoftware.it/emgmusic
http://www.emagsoftware.it/spectrum
http://www.emagsoftware.it/tbosg
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 251 |
Nodes: | 16 (2 / 14) |
Uptime: | 71:37:08 |
Calls: | 5,561 |
Calls today: | 4 |
Files: | 11,680 |
Messages: | 5,122,790 |