Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 293
  • Last Modified:

OLE (Internet Explorer 4.0)

I want to develope a application that can use Microsoft Internet Explorer 4.0 as Automation object. For this I need to generate the classes information using AppWizard, so that I can use different methods to open, close the files/sites directly. I have done a similar application that uses MS-EXCEL 97. To generate the class information for IE4 i need the .odl or .tlb files(type library files) but these are not supplied with IE4 CD, So if anyone knows where these files are pl. answer me.
Thanks
0
jayku
Asked:
jayku
  • 2
  • 2
1 Solution
 
arnondCommented:
can you specify the exact file names ?
I have the DDk and SDK so I might be able to help you.

Arnon David
0
 
Answers2000Commented:
Use SHDOCVW.DLL (this is Internet Explorer in an OCX - despite it's name)

Check the header EXDISP.H in your Visual C include directory (not MFC include).  EXDISP.ODL is also in Visual C include directory.


0
 
jaykuAuthor Commented:
I tried to generate the files from shdocvw.dll fileand also checked the exdisp.h file. After i attach the dispatch and call any function seen in the generated file, i get a message "Invalid function call". So i think this is not the files used for automation of Internet explorer. If you know any knowledge database article which explains this pl. write to me.


0
 
Answers2000Commented:
I used EXDISP.H as is with VC 4.2 and VC 5

What error ?
0
 
jaykuAuthor Commented:
If you try to use some functions in that say we use the function "ExecWB(..." i get a run time error "Member not found"
I have generated the files fom SHDOCVW.DLL. If you know the solution pl. write to me
Thanks

0

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now