[Migrated content. Thread originally posted on 21 October 2004]
Hello. New to Cobol. Have a question I'm sure has been solved before. I have a report program that writes to a disk file. I would like to use Internet Explorer to view the file so the user can then scroll up/down, print, email, etc. I've seen posts where Word and Outlook are called via COM objects which require specific .DEF files. Is there a standard approach for doing the same with IE ? Where does one get a .DEF file or how do you create it?Page 1 / 1
[Migrated content. Thread originally posted on 21 October 2004]
Hello. New to Cobol. Have a question I'm sure has been solved before. I have a report program that writes to a disk file. I would like to use Internet Explorer to view the file so the user can then scroll up/down, print, email, etc. I've seen posts where Word and Outlook are called via COM objects which require specific .DEF files. Is there a standard approach for doing the same with IE ? Where does one get a .DEF file or how do you create it?If you want it to use the full IE separate from your window, just use the CALL "C$SYSTEM" call and pass it a command line of:
start \\path\\to\\your\\file.htm
This will start IE and load \\path\\to\\your\\file.htm.
To use IE as a COM object, you have to generate a .def file using the axdefgen utility that comes with Acucobol. See the help file for details.
[Migrated content. Thread originally posted on 21 October 2004]
Hello. New to Cobol. Have a question I'm sure has been solved before. I have a report program that writes to a disk file. I would like to use Internet Explorer to view the file so the user can then scroll up/down, print, email, etc. I've seen posts where Word and Outlook are called via COM objects which require specific .DEF files. Is there a standard approach for doing the same with IE ? Where does one get a .DEF file or how do you create it?Thanks for the help, btw.
-Tony
[Migrated content. Thread originally posted on 21 October 2004]
Hello. New to Cobol. Have a question I'm sure has been solved before. I have a report program that writes to a disk file. I would like to use Internet Explorer to view the file so the user can then scroll up/down, print, email, etc. I've seen posts where Word and Outlook are called via COM objects which require specific .DEF files. Is there a standard approach for doing the same with IE ? Where does one get a .DEF file or how do you create it?Thanks for the help, btw.
-Tony
[Migrated content. Thread originally posted on 21 October 2004]
Hello. New to Cobol. Have a question I'm sure has been solved before. I have a report program that writes to a disk file. I would like to use Internet Explorer to view the file so the user can then scroll up/down, print, email, etc. I've seen posts where Word and Outlook are called via COM objects which require specific .DEF files. Is there a standard approach for doing the same with IE ? Where does one get a .DEF file or how do you create it?[Migrated content. Thread originally posted on 21 October 2004]
Hello. New to Cobol. Have a question I'm sure has been solved before. I have a report program that writes to a disk file. I would like to use Internet Explorer to view the file so the user can then scroll up/down, print, email, etc. I've seen posts where Word and Outlook are called via COM objects which require specific .DEF files. Is there a standard approach for doing the same with IE ? Where does one get a .DEF file or how do you create it?IE ("start " that is). This in fact caused the runtime to crash. This problem was not experienced when calling adobe acrobat the same way ("start "). This
slight problem is easily solved by setting the CSYS-ASYNC flag which allows
the cobol-prgram to run independently from whatever program youre calling.
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.