FÓRUM DigiVoice

Fórum de Suporte Digivoice

Você não está logado.

#1 03/04/2012 11:03:08

tiagodib
Membro

Problema ao adicionar Componente OCX no projeto

Bom dia,
estou com problemas ao adicionar o componente OCX em um projeto. Ao atualizar a versão da voicerlib para 4.3.0.1 RC3 o seguinte erro é exibido ao adicionar o componente em um formulário:
---------------------------
Microsoft Visual Studio
---------------------------
Failed to create component 'AxHost'.  The error message follows:

'System.Runtime.InteropServices.COMException (0x80070008): A wrapper assembly is not registered for this type library.

   at System.Windows.Forms.Design.DocumentDesigner.AxToolboxItem.CreateComponentsCore(IDesignerHost host)

   at System.Drawing.Design.ToolboxItem.CreateComponentsCore(IDesignerHost host, IDictionary defaultValues)

   at System.Drawing.Design.ToolboxItem.CreateComponents(IDesignerHost host, IDictionary defaultValues)

   at System.Windows.Forms.Design.OleDragDropHandler.CreateTool(ToolboxItem tool, Control parent, Int32 x, Int32 y, Int32 width, Int32 height, Boolean hasLocation, Boolean hasSize, ToolboxSnapDragDropEventArgs e)'
---------------------------
OK   
---------------------------

Na versão 4.3.0.0 RC4 o problema não ocorre. O que poderia ser?

Estou desenvolvendo em C#.

Offline

 

#2 05/04/2012 15:19:01

PattyC
Visitante

Re: Problema ao adicionar Componente OCX no projeto

Olá!

Para feedback do fórum:

No acesso remoto, observamos que ao abrir um projeto novo e colar o componente OCX o erro não acontece.

Talvez esteja faltando alguma configuração específica no Visual Studio ou no projeto.

Atenciosamente.

 

#3 01/03/2017 00:12:36

janob
Membro

Re: Problema ao adicionar Componente OCX no projeto

tiagodib,

Para resolver este problema Leia o tópico "Problema ao ligar a monitoração de áudio - C#" - http://www.digivoice.com.br/forum2/viewtopic.php?id=2795

Ali você vai encontrar informações sobre como usar o OCX no seu projeto c# e também tem o meu projeto para download. Ele esta parcialmente funcionando e também possui tratamento de eventos.

Offline

 

Rodapé do fórum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson