regfreecom

Use OCX without registering it

Is it possible to use an ocx (ActiveX Control) on a winform (probably adding it programatically) without first having the ocx registered with regsrv32? What I'm trying to achieve is to enable xcopy installation. I've had the "AxInterop..dll" and "Interop..dll" file generated from my dev machine. I've seen the possibility of calling a C...

How to register COM libraries at runtime?

Let's say I'm developing an application that installs COM component and installer registers them. This works great. Now the software is required to run from a memory stick. How can I register my libraries runtime and make sure, that the registry is cleaned up after running the application? ...

vb6 xcopy deployment

Can any one tell me how to convert an legacy application which is vb6 ( COM dll's ocx and exes) to use Regfree COM . I tried opening the dlls in visual studio and created manifest file, but some of the dlls it is giving error. Is there any tools out there which will help me to do this process? I tried a tool from codeproject which is...

Reg-Free COM not working for me.

Hi all. I am trying to see if Reg-Free COM is something we can use in our web application to ease deployment of legacy COM components. However, before I get onto looking into things like using it for Interop situations, I can't get a simple test to work. Here's what I have done :- 1) Create a new VB ActiveX DLL project. Left all option...

How can you force VB6 to use the DLLs and OCXs from the app directory?

I want to put my dependent files in the app directory. I seem to remember that you can force VB6 to use the files in the local directory only. Any hints? ...

.Net CCW no events with registration-free COM!

I have a COM Callable Wrapper that I'm using from a VB6 program, but the program won't receive COM events unless the CCW is registered. Otherwise, the CCW works fine, just no events until I remove the program's manifest file and register the CCW using "regasm /tlb /codebase theccw.dll". This is in WinXP SP3. What could be the problem? ...

Generate manifest files for registration-free COM

I have some applications (some native, some .NET) which use manifest files so that they can be deployed in complete isolation, without requiring any global COM registration. For example, the dependency on the dbgrid32.ocx com server is declared as follows in the myapp.exe.manifest file which sits in the same folder as myapp.exe: <?xml v...

Is it possible to use reg free COM with HTA applications?

Since HTA applications are hosted within MSHTA.exe how does one provide a manifest? Plus I assume providing a MSHTA.exe.manifest could potentially break other HTA apps? ...

Remote debugging in VB6

Is it possible to remotely debug a process started outside VB6? The application is a VB6 application with quite a few dll/ocx resources. I am attempting to setup a ClickOnce deployment, using Registration-Free COM, of the VB6 app but have been getting errors when it executes. My understanding of the way that VB6 redirects COM registera...

Is anyone successfully using registration-free COM with .NET components?

Until recently, we were happily using registration-free COM for our native and .NET COM components. However, we ran into a weird issue where our application started crashing randomly on windows XP SP3 (but not on vista) after we only changed the version number of a .NET assembly to move from release candidate to release. (Don't you just ...

Registration Free (Regfree) COM

We are using a COM Object automation model to make our application available to our customers. They are using for the most part python to access our applicaton interface. As we want to be able to install (not yet run, that's another issue) different versions of the application, we are changing our COM components to be regfree. But tha...

Can I use RegFree Com with an application written in Excel VBA?

I have an application that is written in Excel VBA, myApp.xls. Currently we use InstallShield to distribute the application. Since we are moving to Windows Vista, I need to be able to install the application as a standard user. This does not allow for me to update the registry during the install process. In addition to the excel appl...

CoRegisterClassObject never works...

Recently I've tried to solve several different issues with CoRegisterClassObject (because its introduction on MSDN looks pretty nice) - unfortunately it never works for me. Am I doing something wrong? Here's what I've tried: (1) Use CoRegisterClassObject for proxy/stub objects: I have a downloaded COM server (in DLL) with its proxy/stub...

How do I use Reg-Free COM for a vb6 dll reference in a .net project?

I've been trying to solve this issue for a long time, and nothing seems to work. I have a COM DLL written in vb6. I add a reference to this DLL in .net, with the 'isolated' and 'copy local' properties set to true on the reference. Apparently this is supposed to enable reg-free com. But it doesn't work. If I try on another computer, or ...

How can In verify that my .Manifest file is valid?

I'm converting a VB6 app to use a Manifest for Reg Free deployment. I created a manifest with Make My Manifest but when I run the app I get an error (below). I want to make sure that my manifest isn't somehow invalid. (I opened it up and it looks Ok except for some unprintable characters, which seems odd for an XML format file. **----...

Microsoft.Windows.ActCtx on Windows Xp

These days I'm very much busy on developing an activex/com application. Some of our customers are working under heavily restricted windows environments. So i decided to make my application regfree. I found genman32.exe which can easily create manifests (also mt.exe is useful). Everything went fine but when i tried to execute my applicati...

Is there a way for registration free activation of COM componets.

IS there a way to activate a COM component which is EXE COM application and also it's dependent COM dlls? I want to activate this COM component from .NET application(VS 2005/VS 2008). the path of call is C# application --> invoking out-of-proc exe(this is through COM) and then this out-of-proc invokes few COM dlls ...

Isolation-mode (regfree) COM references defined twice (build error MSB3180)

I have several C# projects in one solution which reference some isolation-mode (regfree) COM DLLs. Some projects reference the same DLL, and when I build, I get error [MSB3180][1]: COM component 'SomeDll.dll' is defined in both 'Native.SomeProject.manifest' and 'Native.SomeOtherProject.manifest'". The projects must reference the same CO...

Registration-Free COM Interop and Dependent Assemblies

Hi folks - We are working on an integration of a large MFC-based application with a handful of managed (.NET) add-ins. Communication with these add-ins is done via COM. Historically, we've just used the registry to make these add-ins available (as COM servers) to the application. But, now we're trying to use registration-free COM inter...

How to do registration-free COM in a plug-in architecture

We use manifest files to do registration-free COM, as I've also elaborated on in this other question. Now we're trying to use registration-free COM with an application that supports plug-ins. The plug-ins are OCX files that can be added to the main application's folder after the main application is already installed. However, that mea...