Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disappearning OLE . Weirdness.

Status
Not open for further replies.

jlockley

Technical User
Nov 28, 2001
1,522
US
I store resumes in Paradox records. Usually it works fine, but at times I can only pull up a blank page. Saving this as a word document saves only a blank page.

Any thoughts on what is happening here? Closing Paradox sometimes restores visibility and sometimes not.

When the resume opens as a blank page it also presents as a blank page in the record.

More curious than concerned, but it's nice to know what causes these things.

And where are all the Paradox people these days????
 

By the way, with the OLE...

Are you storing documents within a Paradox table as OLE?

Most recommend using the original documents, and the shellexecute stuff.
Code:
Uses SHELL32
   ShellExecuteA(
                 hwnd              CLong,
                 lpOperation       Cptr,
                 lpFile            Cptr,
                 lpParameters      Cptr,
                 lpDirectory       Cptr,
                 nShowCmd          CLong
                ) CLong
endUses

Code:
strDoc="filename.doc"
strDir="drive:\\dir\\subdir"

ShellExecuteA( 0, "open", strDoc, "", strDir, 3 )

Tony McGuire
"It's not about having enough time; we have the rest of our lives. It's about priorities.
 
Thanks. The reason I store them in the file is that I transfer the database between several computers using a thumb drive. I don't transfer the resume folders.

Thanks. Interesting solution.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top