473,403 Members | 2,284 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

Problem with registering VB DLLs. Please help urgently....

I need to register a Vb DLL under restricted acess privilages please
provide me a solution.
Here is the complete issue:
I building a MSI using Vs.net ,One of the Dll's is Vb Component ( A shim
component basically) ,
Our application has to install both with Administrative privialges and
restricted user privilages .

The actual problem is that of registering this dll ,Since it tries to
register under Hkey_local_machine ,But under restricted user privilages we
do not have access to Hkey_local_machine so we have to register under
Hkey_Current_user.
I am trying to export the registry of the DLL and add it to my setup so
that it can be exported to the target machine but i am still not been able
to get it to work

Please do provide me with more information on this. This is urgent :-(

Thanks once again
Kelly G.

Nov 20 '05 #1
1 874
Kelly G. wrote:
I need to register a Vb DLL under restricted acess privilages please
provide me a solution.
Here is the complete issue:
I building a MSI using Vs.net ,One of the Dll's is Vb Component ( A
shim component basically) ,
Our application has to install both with Administrative privialges and
restricted user privilages .

The actual problem is that of registering this dll ,Since it tries to
register under Hkey_local_machine ,But under restricted user
privilages we do not have access to Hkey_local_machine so we have to
register under Hkey_Current_user.
I am trying to export the registry of the DLL and add it to my setup
so that it can be exported to the target machine but i am still not
been able to get it to work

Please do provide me with more information on this. This is urgent :-(

Thanks once again
Kelly G.


Well, there is not much you can do, because this is being governed by the
way the final machines are configured. You must install under administrative
priviledges, or that the user priviledges must be extended so that you are
able to install. Think of it this way: if you *could* do this so easily,
then NT's security features wouldn't be worth the paper they were designed
on.

Incidentally, what do you mean by "export[ing] the registry of the DLL" ?
If you mean copying the register information, then be careful that you get
every last key - there will typically be at least three entries. Even if
you put them in a regfile, you still would come back to the problem that it
is the registry, not the means of registering which is blocking your
attempt.

Funnily enough, I have just answered this question today in the same group
(and since you have multi-posted and cross-posted to every known group in
existance, I ought to tell you it was microsoft.public.vb.com). Your best
bet is to use OleView to load in your DLL, and you will be able to see all
the CLSIDs and IIDs and LIBIDs which need to be added to the registry.
Otherwise, you could look for RegMon, start it up, register your DLL on your
machines, and the keys added should be displayed.

--
Mark Bertenshaw
Kingston upon Thames
UK


Nov 20 '05 #2

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

Similar topics

2
by: mtpollack | last post by:
Hi, I have an application that depends, for successful deployment, on a COM dll that needs to be registered on the user's machine. How do I include te registration of this dll in my setup...
16
by: Catherine Jones | last post by:
I need to register a Vb DLL under restricted acess privilages please provide me a solution Regards and thanks
1
by: Kelly G. | last post by:
I need to register a Vb DLL under restricted acess privilages please provide me a solution. Here is the complete issue: I building a MSI using Vs.net ,One of the Dll's is Vb Component ( A shim...
2
by: Vikas | last post by:
Hello, I am trying to use a COM dll inside my C# application. But my production environment would not allow be register the COM dll. Are there any other options by which I can use a method...
1
by: Chris Petchey | last post by:
I have a VB.NET application which installs/updates other applications. Some of these other applications are VB6. Part of the processing includes registering the OCXs and DLLs and I use the...
2
by: pamelafluente | last post by:
I am trying to connect to a PARADOX .db (vs2005). I am using an OLEDB connection. This is the connection string I am using: Provider=Microsoft.Jet.OLEDB.4.0; Data Source="C:\Documents and...
3
by: gopal | last post by:
I am developing an application in CSharp - windows forms based, which copies the DLLs both unmanaged and managed DLLs from a shared folder and will overwrite the existing versions of managed &...
0
by: Ram | last post by:
Hello, We were developing asp.net application with 2003 version and installed the web applications in our public server and things went fine without any problem.We also use crystal report that...
6
by: Neil | last post by:
I'm having problems with an implementation of the Microsoft Rich Textbox Control 6.0 in an Access 2000 database. The form with the controls works fine except on two computers. On these computers,...
2
by: millevlada | last post by:
Hi all. Here is description of my run-time assembly loading problem: I would like to have winService hosting .Net remoting objects. But, it should work in sort of pluginable way, so during...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
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...

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.