Solved

OLE (Internet Explorer 4.0)

Posted on 1998-11-04
5
285 Views
Last Modified: 2013-11-25
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
Comment
Question by:jayku
  • 2
  • 2
5 Comments
 
LVL 3

Expert Comment

by:arnond
Comment Utility
can you specify the exact file names ?
I have the DDk and SDK so I might be able to help you.

Arnon David
0
 
LVL 8

Accepted Solution

by:
Answers2000 earned 500 total points
Comment Utility
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
 

Author Comment

by:jayku
Comment Utility
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
 
LVL 8

Expert Comment

by:Answers2000
Comment Utility
I used EXDISP.H as is with VC 4.2 and VC 5

What error ?
0
 

Author Comment

by:jayku
Comment Utility
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now