dcCalif
2nd June 2007, 03:23
Im trying to open a .tif file from a LN form. I've tried various ways and all fail:
Attemp 1)
cmdline = "%windir%/system32/rundll32.exe %SystemRoot%/system32 /shimgvw.dll,ImageView_Fullscreen c:/test.tif "
ierr = run.prog(cmdline,"",RP_WAIT)
This ran but did not open the file. If I run this command in a dos window
it works great.
Attemp 2)
cmdline = "c:fax2.bat"
ierr = run.prog("command.com","c:fax.bat",RP_WAIT)
I tried to put it in a bat file and again nothing happend.
Attempt 3)
ierr = start.client.program("c:\fax.bat", "C:\")
I found that I did have a ntvdm.exe in the taskmanager but still no
image.
Thanks in advance.
Attemp 1)
cmdline = "%windir%/system32/rundll32.exe %SystemRoot%/system32 /shimgvw.dll,ImageView_Fullscreen c:/test.tif "
ierr = run.prog(cmdline,"",RP_WAIT)
This ran but did not open the file. If I run this command in a dos window
it works great.
Attemp 2)
cmdline = "c:fax2.bat"
ierr = run.prog("command.com","c:fax.bat",RP_WAIT)
I tried to put it in a bat file and again nothing happend.
Attempt 3)
ierr = start.client.program("c:\fax.bat", "C:\")
I found that I did have a ntvdm.exe in the taskmanager but still no
image.
Thanks in advance.