Questions tagged [activeqt]

Qt's ActiveX Framework or ActiveQt for short is Qt's ActiveX and COM support for Windows platform.

ActiveQt enables Windows developers to:

  1. Access and use ActiveX controls and COM objects provided by any ActiveX server in their Qt applications.

  2. Make their Qt applications available as COM servers, with any number of Qt objects and widgets as COM objects and ActiveX controls.

33 questions
1
vote
1 answer

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 not in Qt, this is what i have…
1
vote
2 answers

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'd like to know if there is another way without…
Martin
  • 141
  • 1
  • 8
0
votes
1 answer

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 setPage, the strings passed correctly. I have a C++…
BCL
  • 127
  • 2
  • 14
0
votes
0 answers

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 pUnk; auto hRes = GetActiveObject(clsid, NULL,…
Ring Zero.
  • 459
  • 3
  • 12
0
votes
2 answers

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 need to call it from Qt, so by using dumpcpp and…
Javierd98
  • 708
  • 9
  • 27
0
votes
1 answer

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 =…
Neel Basu
  • 12,638
  • 12
  • 82
  • 146
0
votes
1 answer

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"); QAxObject *workbook = workbooks->querySubObject("Open(const…
Nour
  • 41
  • 8
0
votes
2 answers

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(QVariant Before = 0, QVariant After =…
Nour
  • 41
  • 8
0
votes
0 answers

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 you please give me signal handler in ActiveQt…
Neel
  • 451
  • 1
  • 9
  • 23
0
votes
1 answer

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) with virtual keyboard. I am using key-board…
0
votes
0 answers

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 documentation for it is not that comprehensive and…
omerfirmak
  • 163
  • 1
  • 11
0
votes
0 answers

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 #include #include "qaxwidget.h" class…
Mihai Galos
  • 1,707
  • 1
  • 19
  • 38
0
votes
2 answers

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 it. Right now I'm trying to display a picture and…
Adri C.S.
  • 2,909
  • 5
  • 36
  • 63
0
votes
0 answers

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 OpenSceneGraph node. Everything is ok, so far. But…
cobalt
  • 86
  • 4
0
votes
0 answers

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 #include #include #include…
radio_f8
  • 33
  • 6