473,511 Members | 9,983 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Registration problems

Hello,

I'm using the Windows Image Acquisition library in a project, but I'm
running into problems using it.

I've done the following:

- Registered the wiaaut.dll library;

- Gone to the toolbox and right clicked 'Choose Items...', selected the
Device from the 'Choose Toolbox Items'/'COM Components', selected the
DeviceManager class, clicked 'OK' (this causes two dlls, AxInterop.WIA.dll
and Interop.WIA.dll to be generated);

- Built the project;

- Ran the built executable.

When the code gets to this line in the code:

Dim devMgr As WIA.DeviceManager = New WIA.DeviceManagerClass

it errors with the following message:

Creating an instance of the COM Component with the CLSID
{E1C5D730-7E97-4D8A-9E42-BBAE87C2059F} from the IClassFactory failed due to
the following error: 80040154

Now I know that 80040154 is a "Class not registered" error. So I checked the
registry, and for sure, I saw that under My Computer\HKEY_CLASSES_ROOT\CLSID
there was a node with the {E1C5D730-7E97-4D8A-9E42-BBAE87C2059F}, and this
node had a folder named ProgID which had default value of
WIA.DeviceManager.1.

So I don't quite understand why I'm getting a no-registration error. Is
there anything I'm doing wrong?

TIA,
--
Akin

(aknak at aksoto dot idps dot co dot uk)
Nov 12 '06 #1
0 1192

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2158
by: Ashok K Kumar | last post by:
Hi, I have a ATL Attributed DLL which exposes a COM Component. My requirement is, whenever, the DLL is registered, I also would like to add some entries to the HKLM/Softwares/CompanyName........
0
1069
by: zoneal | last post by:
I am having two problems concerning COM Interop Registration: While building a project (COM DLL) that has reference to other DLL project (not COM). I getting this error: COM Interop...
11
3097
by: Prince of Code | last post by:
Hey There, I have been to this group for a couple of days. I am really impressed by the way people respond. I get answers for all my doubts and that too more info. So I am putting across a doubt...
2
7671
by: news | last post by:
I just upgraded to PHP 4.4.2 on my Slackware 10.2 system. And Apache/mySQL/PHP all work great through a browser. No errors. But when I try to run a PHP script through the command line, which I...
0
2470
by: RHSFSS | last post by:
Hi, I have a Drag and Drop registration problem (See http://www.thescripts.com/forum/thread434707.html for similar problem post), can anyone out thereadvise on the best solution? I have a .NET 2.0 ...
1
10108
by: delusion7 | last post by:
Trying to create a table and insert records from a webform and I keep getting this message: "Successfully created the registration table. Unable to execute the query. Error code...
2
1205
by: roger26 | last post by:
I am having trouble with a registration page. Which contains 3 groups of radio buttons and a check box i having hard time to making it work. I have added code for matching the password too but having...
0
962
by: DanielP | last post by:
I'm trying to call a C# assembly from an unmanaged C++ app, but I'm having some problems. I've tracked it down to a registration problem, and a search through the registry shows that the guid I've...
2
2420
by: nirav11 | last post by:
# include <iostream> # include <fstream> # include <iomanip> # include <cstdlib> // needed for exit () using namespace std; int main() { ifstream inFile; ofstream outFile;
0
7251
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7148
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7367
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
5072
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4743
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3230
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3217
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1581
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
451
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.