activex

Interact with Local PC from WebApp

本秂侑毒 提交于 2019-12-12 13:18:05
问题 I'm currently working on a corporate intranet application. Part of the requirements are to have the application start a program on the users local PC (Minitab) and then have the webapp communicate with it via it's COM interface. What are my options for doing something like this? A signed Java applet and Jacob ActiveX and .NET (this will only work in IE, correct?) Flash? (can flash be given permission to the local PC?) Silverlight??? I'm leaning towards trying the java approach (all users will

64 bit COM(ActiveX) server

萝らか妹 提交于 2019-12-12 12:22:13
问题 I have activex server exe that was building and registering fine on 32bit OS. I wanted to make 64 bit version of that exe by upgrading project to Visual Studio 2010 and changing platform to X64 which apparently doesn't work. Application itself works but I don't see it registered after running That.exe /RegServer I would appreciate any usable advice on migrating activex from 32 to x64. Code that is processing /RegServer param is below: if(lstrcmpi(lpszToken, _T("RegServer")) == 0) { _Module

What requirements are necessary and sufficient for an ActiveX control to be used directly on an Excel worksheet?

浪尽此生 提交于 2019-12-12 10:49:32
问题 The Microsoft Office support article "Add or register an ActiveX control" says: IMPORTANT: Not all ActiveX controls can be used directly on worksheets; some can be used only on Microsoft Visual Basic for Applications (VBA) UserForms. When you work with these controls, Excel displays the message Cannot insert object if you try to add them to a worksheet. However, I cannot find documented anywhere the requirements that are necessary and sufficient for a control to be used directly on a

ActiveX pop-up dialogue window hides IE from tasklist

▼魔方 西西 提交于 2019-12-12 10:26:57
问题 This seems to only happen in IE6 I have an activex form written in Delphi 7. A dialogue window opened from within the activex control in IE6 gets displayed on the taskbar - the users (for some reason) do not want the dialogue to show in the taskbar. So I set the dialogue's borderStyle to bsToolwindow. This hides the dialogue from the taskbar but also has the (side-) effect of hiding IE from the task list in windows, which means that you cannot <alt>Tab back to IE if you tabbed away. Question:

Qt ActiveX dynamicCall: bad parameter count

别等时光非礼了梦想. 提交于 2019-12-12 10:26:44
问题 I am trying to use an ActiveX control in my program. QAxWidget* mAX = new QAxWidget(); mAX->setControl("{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}"); I know that there is a function: put_ChannelType(long newValue) But when I try to execute it: mAX->dynamicCall("put_ChannelType(long)",2); mAX->dynamicCall("put_ChannelType(int)",2); mAX->dynamicCall("put_ChannelType(long)",QVariant(2)); mAX->dynamicCall("put_ChannelType(int)",QVariant(2)); I get: QAxBase: Error calling IDispatch member put

Is there a way to send messages from C#.NET assembly(ActiveX) to VB6 application?

烂漫一生 提交于 2019-12-12 10:12:56
问题 This Q&A refers to and can be used for foll. purposes: Send message from IE browser to vb6 app via ActiveX dll Send message from ActiveX dll to vb6 app Send message from C#.net (dll) to vb6 app I have read this article but doesn't seem to be very clear for my purpose... I have also referred to this article to create ActiveX object and have implemented an ActiveX dll that I am calling from browser to launch an application on client side.. The dll checks whether the VB6 exe (process) is running

How do I get the HWND for an ActiveX control after the control has been initialised/activated?

巧了我就是萌 提交于 2019-12-12 10:09:52
问题 I am creating an ATL 8.0 based ActiveX control in C++ using Visual Studio 2008. I need to create a sub-window and attach it to the ActiveX control. How do I get access to the HWND that is owned by the ActiveX control? Which ATL function can I override in order to use the HWND after the control's window has been created? 回答1: ActiveX would allow you to define your own methods on your own interface (to address Brians assumption), but that likely won't help here. The ActiveX control might very

Can I create a ActiveX Control from a WPF UserControl and use in a non CLI C++ application?

蓝咒 提交于 2019-12-12 08:44:14
问题 I have created a Windows Forms UserControl that can be exposed as an ActiveX Control. Now I am trying to do the same with a WPF UserControl. The Winforms UserControl base class I noticed is ComVisible however the WPF UserControl class is not. Am I trying to do the impossible? Is the only way to achieve this to write a WPF control and then embed it in a Winforms UserControl using ElementHost and then expose that Winforms UserControl as an ActiveX control? 回答1: Yes, I think ElementHost is the

List local directory on Web Application

帅比萌擦擦* 提交于 2019-12-12 06:26:40
问题 I have an idea a Web Application and I would need to list all files of a directory that exists on the client machine (For example C:\Temp). I searched a lot on the Internet and as well on Stack Overflow. I couldn't find an answer on any questions that soved my problems. I want to be able to list all files and subdirectories of a directory and if possible get the file type. I know that this isn't able to do only with native Javascript. If there is something restricted to a browser like Firefox

how to use Mozilla ActiveX Control (axMozillaBrowser1) c#/.net

*爱你&永不变心* 提交于 2019-12-12 05:49:15
问题 i am trying to reload a web page 3 times using "axMozillaBrowser1(Mozilla ActiveX Control)" but axMozillaBrowser1 control is not loading web page and it's waiting courser is blinking regular but browser control is not loading web page. Please tell me how to use axMozillaBrowser1 control properly. Thanx in advance. this is my program code: public partial class Form1 : Form { public Form1() { InitializeComponent(); progressBar1.Maximum = 3; } private void Form1_Load(object sender, EventArgs e)