For debugging reasons I want to destroy a class instance which still as references. Is that possible? It doesn't have to be elegant or stable, because this'll never end up in production code.
To clarify:
Public Sub Main
Dim o as MyClass
Set o = New MyClass //o is created, one reference
DestroyObject o //Class_Terminate ...
hi folks,
i'm struggling with an .net activeX i try to use in ms axapta 2009.
using this component on my local machine where it was compiled, it's working quite fine.
it can be added as activeX element on a form, the methods and events are listed in the axapta-activeX-explorer and i can interact with it without any problems.
but tryin...
I'm embedding windows media player in a windows sidebar gadget.
As soon as I start the player (even if i stop it after doing so), hitting WIN+D ("Show Desktop") hides my gadget (all other gadgets stay visible).
What's causing this issue and is there a way to fix this annoying behaviour?
The problem occurs both with a media player embedd...
I want to use javascript to create a textfile, so I used :
This Line of code :
var fso = new ActiveXObject("Scripting.FileSystemObject");
Its working properly in IE6 but not in IE8.
Any suggested solution?
...
Is it possible to host/embed an ActiveX control in Java?
Would the ActiveX embedded Java program be cross platform compatible?
...
I'm using a Class Library exporting a function via COM.
When calling this function from a JScript, it fails with the following error:
Error: System.Security.Permissions.SecurityPermission
Code: 8013150A
Here's the C# code of my library:
[ComVisible(true), Guid("B40EFE10-FC1B-43A0-ADA1-C923935F3537")]
public class ExodusGadget
{
...
I would like to embed a Remote Desktop session within my browser. I must use remote desktop because my clients can't install any additional software on the server.
Here are some problems that I can already foresee:
1) I believe that I can embed an RDP ActiveX control, but then all I could support is IE. And even then, IE lockdown may f...
Hi,
I am trying to install an activex but my user has no admin priviliges.
I saw an artical descirbing that HTA can install activeX as if it is an administrator.
Do i need to be an administrator to run HTA? if not is this not a security loop hole?
Thanks,
Arik
...
Hi,
I have a Win32 application which hosts a windowless flash activeX. When I'm trying to enter Korean keyboard input on a regular Win machine (after adding Korean support), everything works fine. However, when I trying the same thing on a "real" Korean windows (Win 7 Ultimate K), the text comes out strangely. I.e., pressing the "z" but...
First, let me describe the application, then the need. My application is an ASP.NET MVC app that has a contacts database.
One feature of my application allows a user to create Microsoft Word templates with mail-merge fields in it. Once the templates are uploaded, the requirements of the mail-merge feature are as follows:
Allow the...
Here is my scenario. I am using Quicktest Pro (VB) to create an ActiveX object from a Labview VI that I built into an executable. In the build specs of the VI I have enabled ActiveX server option (ActiveX server name: "MyLabviewProgram") and in the VI Tools>Options>VI Server: Configuration the ActiveX box is checked.
So in QTP my code...
Context
I am migrating an installer for an ActiveX control from Per-Machine to Per-User. I did this by programming the installer write to HKCU\Software\Classes instead of HKLM\Software\Classes.
Problem
On my machine (Windows 7 with UAC Enabled), the ActiveX control successfully loads. On the other windows 7 test machines (one with ...
I want to wrap a 3rd party activex on a user control with other controls (buttons & labels) and want this user control to be hosted on a web page.
For this purpose, I've created a user control. Created a winform and a webform application and added the user control to both of them. After placing the 3rd party activeX on User Control, wh...
I have a div box that needs to pop up over an ActiveX object, but it seems that an ActiveX object has an infinitely high z-index, even if when I set that index to be low. My div box continues to show up under the ActiveX object. Any ideas?
...
For a long time I would throw up a DebugBreak() or ASSERT(false) in the startup code of my ActiveX control, load up IE, go to a localhost page hosting my control, wait for the dialog to show up, then debug my application. I could also launch it under the debugger by setting IE as the container.
I tried again for the first time in 2 mon...
Hello!
I'm trying to convert my MFC application, a simple "PaintBrush" app that draws lines and rectangles (it's only a little test from another bigger application), to a ActiveX Control that a could embed into a Windows Forms Application (with Visual C#).
I didn't found any tutorial for do this, and now, I'm not sure that this it's po...
We are working on using a 3rd party's ActiveX control within a web page. Our page includes JavaScript to access and manipulate the control. Part of the control's functionality requires it to access files on the local filesystem.
If we generate the page programmatically, this functionality fails - the ActiveX control appears unable to ...
Hello,
I'm developing an Activex controller for IE7.
I want to check version of flash+svg and install it if missing or old, and also change some settings in IE like setting up the printer to use landscape format..
I'm completly new to activex, so i'm trying to figure out how to do it, can you please post some pointers ? is what i'm tr...
I've written an ATL/ActiveX object which exposes various properties and methods through its COM interface. I'd like to be able to access those methods and properties from a Silverlight application. The problem I'm running into is that I can access the methods from Silverlight/C#, but I haven't figured out the right syntax for accessing...
I've got a problem problem with threading and disposing resources.
I've got a C# Windows Forms application which runs expensive operation in a thread. This thread instantiates an ActiveX control (AxControl). This control must be disposed as it uses a high amount of memory. So I implemented a Dispose() method and even a destructor.
Afte...