QueryCAT Logo
Search 5,000,000+ questions and answers.

Frequently Asked Questions

What is an OLE control?

MFC Visual C++ FAQ version 4.0 Windows Programming OLE VBX O...
OLE controls are the 32-bit successor to 16-bit VBX controls. Instead of being stored in a plain DLL and having functional interfaces, OLE controls rely on OLE automation. Hopefully this will make the interface more flexible and easier to use than VBXs. Although OLE controls use OLE, they are not object oriented. There is a flat set of properties you have access to and you can not apply OO techniques such as inheritance, polymorphism, etc.. to them.

What versions of MFC support OLE control containment?

MFC Visual C++ FAQ version 4.0 Windows Programming OLE VBX O...
MFC 4.0 supports OLE control containment. Earlier versions of MFC don't unless you roll your own. (yuck!) If you haven't told the AppWizard to use Database Support when you created your project, the AppWizard doesn't include the database headers. If you add "#include " in your stdafx.h, CRecordSet will be "legalized". Then open the Linker Options window and add the library: "odbc". This avoids tons of linker errors.

Why is OLE so slow?

ThumbsPlus FAQ
Ask Microsoft, or the manufacturer of the specific application you're dealing with. In-process servers are generally much faster than executable-driven OLE servers, but are rare. For example, CorelDRAW starts up (and loads the entire program into memory) to serve an object. And, a new instance is started if Corel is already running, rather than simply calling the existing program to do the work.

TRichEditOle works until I for a while and then the OLE features stop working. What gives?

Yet Another Code Site - FAQs
The VCL is free to destroy and create controls whenever it needs to. Certain events, like changing the Scrollbars property for a TRichEdit control, cause this to happen. When this does happen, the connection between the TRichEdit control and TRichEditOleCallback class is lost – the "new" Rich Edit no longer calls the TRichEditOleCallback functions that provide the OLE support. See the paper titled Window handles vs.

What is an OLE or eOLE error?

low Profile Software - Faq
Open Windows Explorer and go to the C:\Windows\System folder and delete the following files: CDDBControl.dll CDDBUI.dll Reinstall JukeCD or JukeCDPro – no data will be lost and you will not need to enter your license code again. Additional information: OLE (Object Linking and Embedding) errors have to do with Microsoft’s ability for one program to share documents with other programs. We do not use any OLE commands in our software, but the CDDB files incorporated into our software do.

How can I paste images without using OLE?

Micro Logic - publisher of innovative software and other pro...
Version 6 handles images in BMP and JPEG format. Other formats are stored as shortcuts or OLE objects. To insert an image into a Note without OLE, put a BMP or JPEG image on the clipboard and paste the clipboard into the Note. Or choose File | Import to import an image from your hard disk and then copy the imported image into the Note.

How can I develop OLE Controls?

ActiveX Control FAQ - General
Currently, the best tool to develop OLE Controls is Visual C++ and the MFC libraries. I would imagine that other development environments (e.g., Borland's C++ compiler) will soon allow development of OLE controls. All of my experience is with VC++ and the MFC libraries and so the questions and answers are based on these tools. Recently, as part of the ActiveX SDK, Microsoft has made available an OLE Control framework that should work with any Windows-based C++ compiler.

Can you attach OLE documents?

Advanced Project Management Time Management Software Solutio...
Yes, in TaskTimer it is possible to attach OLE documents, i.e. an MS-WORD document, to an activity. Any number of OLE documents can be attached to a single activity thereby making it possible to use TaskTimer as a storage for documents.

Where can I get more information on COM, OLE, and ActiveX?

MKS Toolkit, D?veloppement UNIX et Windows - FAQs
In addition to the chapter Evolving Applications with COM in the Cross-Platform Developer's Guide, we recommend the following books:

Can OLE Layers be explained in more detail?

Virus Information Center: University Technology Services Cen...
OLE is an acronym for Object Linking and Embedding. This is used by Microsoft Office products to embed themselves in other Office products (such as embedding a Word document in a Power Point document). Unfortunately, some viruses can embed themselves in these layers as well. The Trend Micro Office Scan client scans down into OLE layers to find embedded viruses. We chose a default of 3 layers as a balance between protection and performance.

Can I use OLE with Perl?

perlwin32faq12 - Using OLE with Perl
If you want to use OLE with Perl you need the Win32::OLE module. And you need to read the documentation that comes with it. use Win32::OLE doesn't export any variables and functions to the main namespace, so if you want easy access to the in and with functions you should load the module with A lot - Gurusamy Sarathy and then Jan Dubois redesigned the code and added a bundle of enhancements. Old scripts should run with little or no modifications.

Why do I get an error when using ODBC and OLE?

perlwin32faq12 - Using OLE with Perl
For some reason you get an 'OleInitialize' error if you open an OLE application first and then open an ODBC connection to the Access ODBC driver. If you do it the other way around, there is no problem with this. It looks like the Access ODBC driver calls OleInitialize(). This fails when Win32::OLE already initialized the COM subsystem as "apartment threaded".

How do I write OLE controls?

MFC Visual C++ FAQ version 4.0 Windows Programming OLE VBX O...
In VC++ 2.x, Microsoft released the CDK (OLE control developer kit), you use that kit and it's tools to write OLE controls. In VC++ 4.0, this is no longer separate and you now just run the Control Wizard. Check your VC++ documentation for more info.

Why can't I attach an OLE object?

Frequently Asked Questions
The ability to attach an OLE-type attachment is not supported in this release of Oracle Connector for Outlook.

How are OLE Controls (OCXs) different from VBXs?

ActiveX Control FAQ - General
VBXs and OLE controls are more similar than different from a functionality standpoint. The original goal of the OLE Control standard was to replace the VBX standard. VBXs are very much tied to both the 16-bit and Intel (x86) architecture. To work with Win32 on various platforms (e.g.,Mac,Alpha, etc.) the architecture had to be redesigned. Around the time the guys at Microsoft started working on VB 4.0 various OLE technologies were also being developed.

What is the history OLE DB for OLAP (ODBO)?

Build an OLE DB for OLAP (ODBO) Provider, XML for Analysis (...
Microsoft recognized a rapid growth in multi-dimensional databases and on-line analytical processing (OLAP) tools. After all, people don't think in two dimensions. Real world questions like, "How were last year's monthly revenues at each store affected by back-order problems?" are more naturally handled by a multi-dimensional datastore than by a two-dimensional relational model.

Where do I get the control from?

Frequently Asked Questions
The control is part of the Mozilla release and can be fetched as source code or as a binary in a nightly build or milestone release. For example, you may find the Mozilla 1.0 here. Important Note: From 1.5 onwards, the Mozilla installer breaks the functionality of the control (see next question). So I have produced a standalone installer, download details for which can be found here.

How To Control Your Diabetes?

Prevention Of Congenital Heart Disease (CHD)
When so diagnosed, the disease must be controlled energetically so that its complications are either prevented or treated. While treating diabetes, one must keep in mind that control of diet and exercise are two important tools in conquering this serious problem. Patients are advised to take low-fat, low-calorie, sugar free /... find articles | submit articles | link to us | site map | terms of use | privacy policy | contact us | advertising | partner with us

WHAT IS MIND CONTROL?

Ritual abuse FAQ
Mind control, like ritual abuse, has both a broad and narrow definition. In a sense, all advertising is an attempt at mind control, an attempt to make people buy certain brands or objects. Propaganda (my country is right and good and the other country is wrong and bad) is also an example of attempted mind control. In the survivor community, however, the definition is much narrower and more sinister.
More Questions >>

© Copyright 2007-2012 QueryCAT
About • Webmasters • Contact