activex

How do I use a COM component from VB.NET?

ⅰ亾dé卋堺 提交于 2020-01-03 05:11:11
问题 How do I access a COM component from an ASP.NET page. I added reference to my ASP.NET project. The actual dll I got from the 3rd party is ePadIIu.dll but when I added it to the ASP.NET project it shows as ePadIIu.interop . I want to access all the methods and properties in the component. The sample I received from the 3rd party software uses vbscript to access all the methods. How do I use those methods in the code behind from default.aspx.vb . 回答1: When you added the reference to the COM

ActiveX Flash component in C# .NET 2.0 Application causes memory leak?

♀尐吖头ヾ 提交于 2020-01-03 04:32:15
问题 We have a C#/.NET 2.0 WinForm with an ActiveX ShockwaveFlashObject control on it. The program loops through a schedule of content and displays it over and over on the control, fullscreen, like this: axFlash.BringToFront(); axFlash.Movie = scheduleItem.FilePath; axFlash.Show(); axFlash.Play(); This works great, but after a couple of days running, the form on which the Flash ActiveX control resides will throw an exception like this: System.Runtime.InteropServices.SEHException: External

Excel VBA Scroll bar which shift sheet left or right

十年热恋 提交于 2020-01-03 04:19:12
问题 Request: VBA code for mini scroll bar which shift sheet left or right using VBA or ActiveX scroll bar? I have created a trainer skills matrix which has trainer names listed down the side (in cells 'B7' through 'B86') and Skill disciplines listed along the top (in cells E6 through 'AJ6'). Where the trainers name and a skill intersect I have a dropdown list stating ‘Y’ for has skill, ‘N’ does not skill and ‘n\a’. if the skill is not appropriate for that trainer. I have frozen the header rows

How to detect whether a control is standard or active-x control?

拥有回忆 提交于 2020-01-03 01:28:28
问题 In MFC Application, how can we differentiate whether a control is a standard control like CComboBox or it is an custom active-x control? 回答1: You can use CWnd::GetControlUnknown: Return Value A pointer to the IUnknown interface of the OLE control represented by this CWnd object. If this object does not represent an OLE control, the return value is NULL . 来源: https://stackoverflow.com/questions/2536165/how-to-detect-whether-a-control-is-standard-or-active-x-control

create non visual activex control with delphi

拥有回忆 提交于 2020-01-02 08:09:34
问题 i was created a nonvisual vcl component in delphi and I'm trying to make it usable for other environment like visual studio, and i think the best way is create an activex control. but the problem is i haven't any experience about creating activex in delphi. i found some resource by google about creating activex in delphi but most of them work on visual controls but my component is non visual... anyway i hope someone help me in clear way to do this. thanks for your time. 回答1: @cyberw0lf, check

Possible to append a ActiveX control to a page using javascript?

爷,独闯天下 提交于 2020-01-02 05:47:09
问题 I'm trying to append an ActiveX control dynamically to a page using jQuery. The append is successful; however, the control doesn't initialize when it is done this way. I believe IE calls the OnCreate method of an ActiveX control when a page that contains a control has finished rendering. The problem is that the tag is not present on the page until after rendering is finished, so OnCreate is never called. I'm not sure if that's the problem, it's just a guess. Does anyone have experience with

VB6 ActiveX exe - what is the proper registration sequence?

梦想与她 提交于 2020-01-01 12:03:12
问题 I have recently updated a Visual Basic 6 application that is an ActiveX exe, running on Windows XP. I have a couple of testers for this application who have received a copy of the exe and are attempting to run it. However, they are getting an error message "Unexpected error;quitting" when trying to do so. A key difference between their testing and my testing is that on the machines I tested on, I have admin rights and was able to register the application using the appname.exe /regserver

VB6 ActiveX exe - what is the proper registration sequence?

China☆狼群 提交于 2020-01-01 12:03:09
问题 I have recently updated a Visual Basic 6 application that is an ActiveX exe, running on Windows XP. I have a couple of testers for this application who have received a copy of the exe and are attempting to run it. However, they are getting an error message "Unexpected error;quitting" when trying to do so. A key difference between their testing and my testing is that on the machines I tested on, I have admin rights and was able to register the application using the appname.exe /regserver

Excel ActiveX Listbox not enabled on file open

心不动则不痛 提交于 2020-01-01 08:38:42
问题 I am trying to figure out a bizarre situation. I have a workbook with many sheets. On one sheet, I have one ActiveX listbox (CTOverview.Listbox1). On a second sheet, I have a total of three listboxes (CTSelected.Listbox1 thru Listbox3). I am using a query to populate Listbox1 on both sheets with the same data. The code for this is below: strSQL = "Select Distinct [Region] From [UniqueCTList$] Order by [Region]" closeRS OpenDB ' initialize listboxes CTSelect.ListBox1.Clear CTSelect.ListBox2

Activex from java application?

烂漫一生 提交于 2019-12-31 22:47:50
问题 Is it possible to easily embed ActiveX controls in Java application? Is it worth it. In my next project I should either use existing activex in Java app or have to reimplement everything from scratch, so I'm wondering what will be less hassle. 回答1: I don't think there's a way to do this without resorting to a third party library. (Or rolling your own, but you did say "easily".) SWT (The "Standard Widget Toolkit") contains support for embedding ActiveX controls. SWT is an alternative to Swing,