Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Cobol > Open Associated...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 4062 of 4115
Post > Topic >>

Open Associated file

by "Euro" <euo@[EMAIL PROTECTED] > Mar 19, 2008 at 11:54 AM

Fujitsu Power Cobol V7.0

I try with this code:

      call "ShellExecuteA" with stdcall linkage
          using
              by value 0      *> window handle
              by reference
                  open-command *> operation to perform
                  file-to-open *> document to open
              by value 0       *> parameters (none here)
              by reference
                  default-directory, *> directory (could also be null)
              by value 0       *> SW-SHOWNORMAL show the file when open
          returning
              se-hInstance     *> not 'really' a handle,
                               *> more an error return
      end-call



I open all files less the MS office.
Some reason?

Thanks
Joe




 4 Posts in Topic:
Open Associated file
"Euro" <euo@  2008-03-19 11:54:51 
Re: Open Associated file
Kellie Fitton <KELLIEF  2008-03-19 13:09:59 
Re: Open Associated file
"Euro" <euo@  2008-03-20 11:01:17 
Re: Open Associated file
Kellie Fitton <KELLIEF  2008-03-20 10:22:55 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed May 14 17:16:09 CDT 2008.