Questions tagged [activeqt]
Qt's ActiveX Framework or ActiveQt for short is Qt's ActiveX and COM support for Windows platform.
33
questions
1
vote
0
answers
152
views
Call .net in ActiveQt
For a project i need to call C# in Qt. It seems that the way to do it is by using COM and ActiveQt.
So i have this very basic C# (.Net Framework 4.8, "Register for COM interop enabled", ...
0
votes
0
answers
243
views
COM Object GUID missing
I want to connect to a running object using COM. I have this code.
CLSID clsid;
CLSIDFromProgID(L"CSI.ETABS.API.ETABSObject", &clsid);
// get the active ETABS object
CComPtr<...
0
votes
2
answers
284
views
Can't find COM object from C++, although Guid it's registered
First of all happy new year to everyone, hope you're doing well!
I'm working on a C++ project in which I need to call a C# DLL I created following the first answer of this post. Once I have the DLL, I ...
-1
votes
1
answer
226
views
Qt - ActiveX - How to handle custom out-parameter?
Considering an idl defined like bellow:
interface IServerConnection : IDispatch {
[id(1), helpstring("method IsConnected")] HRESULT IsConnected([out] BOOL* pVal);
};
interface IClientControl : ...
1
vote
0
answers
107
views
Active Qt bug when I use a Web Browser
I'm using Active Qt in the goal to show a Web Browser inside my qt application. I can show a Google Map page inside a Tab. It uses an ActiveX-based component with an Internet Explorer Browser inside. ...
1
vote
0
answers
319
views
In Qt 4.8 MS Excel ActiveX control in QWidget has no Ribbon for data formatting
I am trying to open a MS Excel workbook in my qt widget. With the following code I can successfully open the workbook in my qt application. I am using QAxWidget embedded in a QWidget.
QAxWidget *...
0
votes
1
answer
383
views
activeQt fails to open *.xls if the Excel.Application is not visible
when trying to open a *.xls file using activeQt and the code:
QAxObject *excel = new QAxObject("Excel.Application", this);
QAxObject *workbooks = excel->querySubObject("Workbooks&...
0
votes
2
answers
384
views
How to append a sheet to the end of workbook in excel using ActiveQt?
I am interested in copying a sheet to the end of a workbook using ActiveQt
I have looked at the method Copy() in the generated Documentation of QAxObject "Worksheet", which is written like:
void Copy(...
0
votes
0
answers
74
views
Open New Window Signal in ActiveQt
How can i get the signal to open the link in new tab.
I am using QTabWidget and i do not want to open it in IE browser. I want to catch the signal in ActiveQt and open the new tab in QTabWidget.
Can ...
0
votes
1
answer
333
views
how to access ActiveQt webbrowser using c++
I have created Web-browser using Active-qt in one widget and in the second widget I am having a virtual keyboard created by me. I have to write in the text box of browser(for example google search box)...
1
vote
0
answers
99
views
Does QAxServer/ActiveQt support newer versions of Visual Studio?
http://doc.qt.io/qt-5/activeqt-server.html
The "Supported Clients" section in this link suggests that ActiveQt supports "Microsoft Visual Studio.NET/2003". Does this mean that it doesnt support ...
0
votes
0
answers
162
views
How can I use a class derived from QWidget in a Windows Form?
I've been trying to create a COM object(.dll) out of a QWidget class to use in a C# Windows Form. The class in question is from a open source gis library called Qgis.
I know ActiveQt exists but the ...
1
vote
2
answers
1k
views
Connecting QAxObject event with a parameter of type IDispatch*
I am trying to use ActiveQt library to handle an ActiveX event which has a parameter of type IDispatch*, such as following in an idl file.
// ...
library RecognitionClientLib
{
importlib("stdole2....
0
votes
0
answers
579
views
How to get text out of a Word document using Active Qt?
I have several Word documents and I need the text out of them in my programm, to make my specific pdf file out of it. At the moment i have following code which allows me to show the word document, but ...
0
votes
0
answers
564
views
Controlling Windows Media Player 12 with Qt / ActiveQt
I am trying to embed a movie in a Qt (4.7.1) widget using ActiveQt:
VideoManager2.h:
#ifndef VIDEOMANAGER2_H_
#define VIDEOMANAGER2_H_
#include <QtCore/QtCore>
#include <...
0
votes
2
answers
2k
views
Center a picture after adding it to Word using Active Qt
I'm generating a Word document via Qt's Active Qt module.
I'm able to write to the document, specify the "style" for that writing (bold, italic, justified aligment, etc.) and query diverse parts of ...
1
vote
0
answers
157
views
connect Qt and Matlab via ActiveX
I have connected Qt to Matlab via ActiveX. So, now I can execute scripts which is written in Qt GUI. However I have faced to problems. How do I know that user closed Matlab manually by clicking close ...
0
votes
0
answers
236
views
How to send mouse events to the embedded flash player in qaxwidget
I have a QAxWidget which embeds a flash player and loads a swf. I don't want to use the widget, but instead i want to render the widget into a QImage, and then, use that image as a texture in my ...
1
vote
0
answers
474
views
ActiveQt out-of-process server: signals are not working
I have to use ActiveQt (qt 4.8.6 windows7). I have a problem with out-of-process server (.exe). It's registered successfully, it's responding to container's signals with its slots, but i can't make ...
0
votes
0
answers
421
views
How to use signals in ActiveX (ActiveQt) controls
I'm trying to modify activeQt/wrapper example code from Qt to recive Udp packets.
I want to build ActiveX control and put it in C# frameWindowApplication
#include <QAxFactory>
#include <...
4
votes
1
answer
2k
views
Open and communicate with Excel in my Qt Application
I'm actually creating an application in QtCreator (open source), and I need to open Excel and communicate by sending to Excel data to show. I try to #include <QAxWidget> , and to modify my .pro ...
1
vote
1
answer
727
views
How to link to qaxserver.def entities properly
all
I'm trying to create ActiveX server with Qt5.2.0.
According to some pieces of information I have, to create a simple ActiveX server (which exports one object) it's enough to:
have such .pro file
...
0
votes
1
answer
2k
views
Adobe Reader ActiveX + QAxWidget; Getting current page
I'm trying to embed Abode Reader into my win app, the target itself is simple viewing of PDF documents from th app, no free rendering libraries (GPL won't do) were found, so that's my solution. ...
1
vote
1
answer
1k
views
How to use VARIANT* with dynamicCall?
I'm trying to use a COM object and i'm having problem with the parameter type VARIANT*. I can use the functions of the COM object just fine, except when they have a parameter of this type.
The doc ...
1
vote
0
answers
1k
views
How to use COM objects from dll in Qt with no registration
I have a COM visible dll with control which I need to use in my Qt Application (4.8.4).
Control code in c#
[Guid("XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX")]
public class MyControl: UserControl
{
...
0
votes
1
answer
942
views
ActiveQt: Activate an already open word document
I am trying to write to an open word document using activeQt. I am trying to activate my word document, but i cant get it to work.
I can do this in VBA very easily:
Documents("my.doc").Activate
but ...
0
votes
0
answers
465
views
ActiveQt example - COM App - Class naming
I’m tring to add OLE support to my program. I started by compiling one of the Qt examples:
http://doc.qt.digia.com/stable/activeqt-comapp.html
This example, export 1 class and 2 types:
QAXCLASS(...
1
vote
2
answers
2k
views
ActiveQt Com app example - COM server not registered in Windows registry (Qt4.7.4)
I’m currently trying to use the example project Com App which is given with the Qt installation (Qt_folder\Examples\4.7\activeqt\comapp)
I’m using version 4.7.4 on Windows, Qt Creator 2.3.0 and MinGw ...
0
votes
1
answer
1k
views
Qt Webkit bridge ActiveQt string
See also for part of my issue: String passing from JavaScript to Qt/C++ object
I use this custom WebPage on my WebView (using setPage), the strings are passed in wrongly. When I disable calling ...
3
votes
0
answers
575
views
How do you use a derived interface from activeqt?
I've got what I think is a fairly simple interface in COM. I would like to implement it in activeqt. I am able to get an ATL prototype to work, but I would rather use qt widgets and signals than COM ...
0
votes
1
answer
2k
views
Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in
I am very new to Windows Programming. Here Goes My code
objIWbemLocator = new QAxObject("WbemScripting.SWbemLocator");
objWMIService = objIWbemLocator->querySubObject("ConnectServer(QString&,...
3
votes
2
answers
4k
views
What Module to include for ActiveQt?
What Module do I include in .pro file for using Active Qt? I mean QT += ?.
And: Can I develop Commercial Software using ActiveQt? (I am using Qt LGPL).
1
vote
2
answers
1k
views
Internet Explorer window in Qt?
Is there a way to show an Internet Explorer instance/frame inside a Qt Widget? I need to show a web page in my application (just show, no need for interaction), and while I read about WebKit for Qt, I'...