Trang Chủ | Diễn Đàn | Thành Viên (Đăng Ký) | Tìm Kiếm | Tutorial Room
Microsoft .NET - Visual 2008 + SpeechLib (Class Not Registered)
Hỏi đáp, trao đổi chung về Microsoft .NET và Visual Studio .NET. Các câu hỏi cụ thể về ASP.NET, C#.NET và VB.NET xin hãy gởi vào các box con tương ứng!
First page Previous page  (Page 1 )   1   Next page Last page
Visual 2008 + SpeechLib (Class Not Registered)
Member
Member since
21:18 28-11-2007
Posts: 4
Fantasy Points: 14
Rank
question Posted at 22:34 07-02-2010 Move Move Topic   Pin/Unpin Pin Topic   Lock Lock Topic
Có bạn nào có kinh nghiệm lập trình COM hay dùng Speech SDK của microsoft mà bị lỗi Class Not Registered chưa? Mình hiện dính lỗi này, bạn nào biết vui lòng chỉ giáo với:

System.Runtime.InteropServices.COMException was unhandled
Message="Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))"
Source="Interop.SpeechLib"
ErrorCode=-2147221164



Mình đã kiểm tra trong registry, cài lại, và dùng regsvr32 để register nhưng vẫn chưa được, hix.
Reply Reply   Quote Quote   Edit Edit   Delete Delete   Report Report
This post has been viewed 298 time(s). 1 direct repli(es) and 4 indirect repli(es).
Title Poster
question Visual 2008 + SpeechLib (Class Not Registered)
 
answer Re: Visual 2008 + SpeechLib (Class Not Registered)
NBThanh
Re: Visual 2008 + SpeechLib (Class Not Registered)
Forum Moderator
Member since
20:03 17-08-2001
Posts: 17,616
Fantasy Points: 153,007
Rank
answer Posted at 22:41 07-02-2010
Reply to Visual 2008 + SpeechLib (Class Not Registered) (dragonfight)
Lỗi này thường là do bạn chưa đăng ký cái OCX/DLL với hệ thống. Qui trình đăng ký thì tương tự nhau thôi, nhưng mỗi lib tên file và số lượng các COM cần đăng ký sẽ có khác chút. Bạn nên xem trên site của MS hướng dẫn cụ thể cách đăng ký/sử dụng :-)
Reply Reply   Quote Quote   Edit Edit   Delete Delete   Report Report
This post has been viewed 296 time(s). 1 direct repli(es) and 3 indirect repli(es).
Title Poster
answer Re: Visual 2008 + SpeechLib (Class Not Registered)
 
answer Re: Visual 2008 + SpeechLib (Class Not Registered)
dragonfight
Re: Visual 2008 + SpeechLib (Class Not Registered)
Member
Member since
21:18 28-11-2007
Posts: 4
Fantasy Points: 14
Rank
answer Posted at 05:41 08-02-2010
Reply to Re: Visual 2008 + SpeechLib (Class Not Registered) (NBThanh)
Cám ơn bạn, thực tình mình tìm trên mạng mấy ngày nay mà vẫn chưa có được cách giải quyết triệt để :(
Reply Reply   Quote Quote   Edit Edit   Delete Delete   Report Report
This post has been viewed 273 time(s). 1 direct repli(es) and 2 indirect repli(es).
Title Poster
answer Re: Visual 2008 + SpeechLib (Class Not Registered)
 
answer Re: Visual 2008 + SpeechLib (Class Not Registered)
quan
Re: Visual 2008 + SpeechLib (Class Not Registered)
Member
Member since
19:30 12-02-2002
Posts: 363
Fantasy Points: 6,373
Rank
answer Posted at 18:27 08-02-2010
Reply to Re: Visual 2008 + SpeechLib (Class Not Registered) (dragonfight)
Bạn thử cách sau đây:

Để cài đặt library, copy file <yourlib>.dll vào System32 directory (thường đặt ở C:\Windows\System32) và chạy lệnh từ command line:

regsvr32 C:\Windows\System32\<yourlib>.dll
Reply Reply   Quote Quote   Edit Edit   Delete Delete   Report Report
This post has been viewed 250 time(s). 1 direct repli(es) and 1 indirect repli(es).
Title Poster
answer Re: Visual 2008 + SpeechLib (Class Not Registered)
 
answer Re: Visual 2008 + SpeechLib (Class Not Registered)
bigbelly
Re: Visual 2008 + SpeechLib (Class Not Registered)
Member
Member since
00:40 28-11-2009
Posts: 465
Fantasy Points: 1,616
Rank
answer Posted at 18:41 08-02-2010
Reply to Re: Visual 2008 + SpeechLib (Class Not Registered) (quan)
Cái gì đây hả bạn quan?
dragonfight:
Mình đã kiểm tra trong registry, cài lại, và dùng regsvr32 để register nhưng vẫn chưa được
Avira là thiên hạ vô địch thủ
G Data là đại minh chủ võ lâm!
Reply Reply   Quote Quote   Edit Edit   Delete Delete   Report Report
This post has been viewed 247 time(s). 1 direct repli(es) and 0 indirect repli(es).
Title Poster
answer Re: Visual 2008 + SpeechLib (Class Not Registered)
 
answer Re: Visual 2008 + SpeechLib (Class Not Registered)
dragonfight
Re: Visual 2008 + SpeechLib (Class Not Registered)
Member
Member since
21:18 28-11-2007
Posts: 4
Fantasy Points: 14
Rank
answer Posted at 20:56 08-02-2010
Reply to Re: Visual 2008 + SpeechLib (Class Not Registered) (bigbelly)
Thanks các bạn, mình vừa cài lại XP, Visual 2005 (trước là VS 2k8 sp1 + Win7)

hiện tại đã chạy tốt, mình chưa hiểu là lỗi do OS hay VS

@Quan: cách của bạn mình cũng thử nhưng ko được.
Reply Reply   Quote Quote   Edit Edit   Delete Delete   Report Report
This post has been viewed 238 time(s). 0 direct repli(es) and 0 indirect repli(es).
First page Previous page  (Page 1 )   1   Next page Last page

Permissions: Create Topic: No  |  Reply Topic: No  |  Attach File: No  |  Make Poll: No

Vietnamese Keyboard: AUTO TELEX VNI VIQR VIQR* OFF

Go top || Print page ||

All logos, trademarks and graphics artwork in this site are property of their respective owners.
Opinions expressed in articles within this site are those of their owners and may not reflect the opinion of TXBB.

TXBB: Home - Disclaimer - Help - Contact
Copyright (C) 2000-2006 TXBB. All rights reserved.

TreXanh Bulletin Board v2.0 (Build: #332 Nov 21, 2006)

DEBUG INFORMATION
Execution 0.227s - SQL used 6s - Concurrent process(es) 0