activex

Passing pointer from managed C++/CLI to ActiveX C++ component

岁酱吖の 提交于 2019-12-08 04:31:56
问题 I have an ActiveX component built in C++. One of its methods has this signature: short Component::Method(short FAR* ptr) {} When the I add the ActiveX into my C++/CLI application the method signature shows as: short Compnenet::Method(short% ptr) {} I want to be able to correctly pass short* pSomething; variable value to this method. of course, the new signature doesn't accept passing arguments as short* and even if you try to cast to short% it doesn't give right results. Note: I don't have

Can not debug an ActiveX inside a VB6 project with several components inside

亡梦爱人 提交于 2019-12-08 04:27:28
I have to debug a big application done in VB6. The application is comprised of a main EXE, some ActiveX projects and other ActiveX control projects. The problem I'm facing is that I cannot hit breakpoints inside some ActiveX projects. Looks like the application is using the OCX outside the debugger because the application runs but the breakpoints are simply not there. The main EXE has a reference set to the OCX generated by that project. If I remove that reference I get a compilation error about unknown classes. Any help will be great. Make sure your ActiveX project is using binary

Can not debug an ActiveX inside a VB6 project with several components inside

﹥>﹥吖頭↗ 提交于 2019-12-08 03:56:17
问题 I have to debug a big application done in VB6. The application is comprised of a main EXE, some ActiveX projects and other ActiveX control projects. The problem I'm facing is that I cannot hit breakpoints inside some ActiveX projects. Looks like the application is using the OCX outside the debugger because the application runs but the breakpoints are simply not there. The main EXE has a reference set to the OCX generated by that project. If I remove that reference I get a compilation error

Convert simple MFC CView/CDocument/CSingleDocTemplate app to ActiveX control

。_饼干妹妹 提交于 2019-12-08 02:44:58
问题 I have a fairly simple MFC app that just defines its own sub-classes of CDocument , CView and CFrameWnd and uses them via a CSingleDocTemplate to display the read-only contents of the document in a tree on the view. All very standard MFC MVC. I now need to convert this app so that it works as an ActiveX control that I can then embed it within a larger application. How should I go about this? Is it possible to use the COleControl sub-class in place of the CFrameWnd sub-class in the

What is the best way to embed Excel in c# application [closed]

旧街凉风 提交于 2019-12-08 02:14:56
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed last year . I want to embed MS Excel into my wpf C# application within a tabbed view, so that the user can utilise the real MS Excel (not a clone) to manipulate data generated within my application easily. What is the most effective way to embed Excel / Office applications into your .net

Visual Studio diagnostic tools not displaying process memory

你说的曾经没有我的故事 提交于 2019-12-08 01:49:38
问题 I have a VB.NET app (with C# libraries) which is consuming large amounts of memory over time. Ultimately the application runs out of memory. I am cautious about using the term leaking because the GC shouldn't allow a memory leak, but perhaps there is a large .NET object somewhere. If so I need to identify it. However I do have a reference to a 3rd party ActiveX control library (.ocx) of which I use some controls and make numerous calls retrieving laser beam profile data. Memory usage

Is there a x64 version of MsStkPrp.dll

廉价感情. 提交于 2019-12-08 01:44:26
问题 I'm porting an ATL control to 64-bit. The control uses the Stock Property pages (CLSID_StockFontPage, CLSID_StockColorPage) in its properties dialog. After recompiling for x64, the Color and Font tabs are missing (because MsStkPrp.dll is 32-bit). Is there a 64-bit version of the dll or is there a better way to implement fonts and colors in an ATL ActiveX control? 回答1: Even the 32-bits version of msstkprp.dll isn't present in Windows 10, so I copied it from my Windows XP virtual machine (

C#: Loading an embeded swf into an flash activex without a temporary file

泄露秘密 提交于 2019-12-07 19:01:15
问题 My project requires that my final application be completely self contained in a single exe. I am already combining the executable and dlls using ILMerge (assmebly merge utility). I am hosting an flash active x control in a C# application and I have embedded the one swf i need to load into the flash control into the c# application as an embeded resource. This question shows how to write the resource to a temporary file, but it is undesirable to create temporary files for my situation. This

How to read DOM of the iframe loaded with a page from another domain?

China☆狼群 提交于 2019-12-07 18:37:13
问题 Is there a way to access the DOM of the document in an iframe from parent doc if the doc in the iframe is on another domain? I can easily access it if both parent and child pages are on the same domain, but I need to be able to do that when they are on different domains. If not, maybe there is some other way to READ the contents of an iframe (one consideration was to create an ActiveX control, since this would be for internal corporate use only, but I would prefer it to be cross-browser

Creating ActiveX control(OCX) in VB .net 2010

混江龙づ霸主 提交于 2019-12-07 16:02:09
问题 I would like to create an activeX control(OCX) in VB .net 2010 is it possible? I having a hard time determining how to make it because I only get a .dll file rather than a .ocx which can be seen in vb6. I hope you can answer my question. 回答1: Are you asking how to create an "ActiveX" control specifically or are you asking how to create controls that can be used by other CLR based applications? To create an ActiveX control, see this link which walks you through the steps to do this: Creating