ThierryC
12-08-2009, 12:12 PM
hi,
in the standard valence there's the api to open Ifs -files,
however i do not succeed in opening a standard xls-file.
When using the vvout_file. api with the xls, my browser crashes
i wrote a small pgm to test the vvout, by entering the path and the filename...
should this work with XLS-files?
i saw in the documentation only HTML/PDF/CSV.. but no xls...
or should an ifs file be opened in another way.
vvSessId = vvIn_char('sid');
action = vvIn_char('action'); // retrieve the value of action
If (action='OpenFile');
InFileName = vvIn_char('Filename');
InPath = vvIn_char('Path');
vvOut.download= 'Y';
vvOut.file =%trim(InFileName);
vvOut_file(%trim(InPath)+%trim(InfileName):vvOut);
Endif;
*inlr=TRUE;
is this the right way to open an xls-file...
in the examples-menu , i've found your example that can directly open an excel file from within Valence-portal menu...
but i'd like to have to same possibility from within a program...
is this possible?
in the standard valence there's the api to open Ifs -files,
however i do not succeed in opening a standard xls-file.
When using the vvout_file. api with the xls, my browser crashes
i wrote a small pgm to test the vvout, by entering the path and the filename...
should this work with XLS-files?
i saw in the documentation only HTML/PDF/CSV.. but no xls...
or should an ifs file be opened in another way.
vvSessId = vvIn_char('sid');
action = vvIn_char('action'); // retrieve the value of action
If (action='OpenFile');
InFileName = vvIn_char('Filename');
InPath = vvIn_char('Path');
vvOut.download= 'Y';
vvOut.file =%trim(InFileName);
vvOut_file(%trim(InPath)+%trim(InfileName):vvOut);
Endif;
*inlr=TRUE;
is this the right way to open an xls-file...
in the examples-menu , i've found your example that can directly open an excel file from within Valence-portal menu...
but i'd like to have to same possibility from within a program...
is this possible?