473,725 Members | 2,281 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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_mach ine ,But under restricted user privilages we
do not have access to Hkey_local_mach ine so we have to register under
Hkey_Current_us er.
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.

Jul 21 '05 #1
1 1616
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_mach ine ,But under restricted user
privilages we do not have access to Hkey_local_mach ine so we have to
register under Hkey_Current_us er.
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.publi c.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


Jul 21 '05 #2

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

Similar topics

2
1970
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 project? I can't find anything in the docs about this, oddly... Thanks, malcolm
16
1843
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
2
2436
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 inside this COM dll without actually registering it using regsvr32? The consumer of the application is a C# .aspx page. Thanks,
1
885
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 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...
1
2145
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 DLLSelfRegister function from the vb6stkit.dll As a VB.NET desktop utility this worked well. However,I have made the application into a service (customer's requirement) running in an administrators account. Now DLLSelfRegister fails to register the...
2
1531
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 Settings\User\Desktop\help.db";Extended Properties=Paradox 5.x I receive as an answer the following: "Could not find installable ISAM"
3
2715
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 & unmanaged DLLs into folder where some .NET application and a VB application has been installed. To be more clear, i will make some chnages to DLLs and using this tool(developed in CSharp) i will overwrite the existing version of DLLs - unmanaged...
0
1056
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 bundles along with that. Now we got .net 2005 edition and created one web application in .net 2.0. We use crystal reports that bundles with 2005 for this application. We have deployed the application in our public server and everything works fine...
2
2908
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 starting of winService it would look into certain folder configured with App.config and dynamically load assemblies from deployed dll-s. Registering of remote objects would be done in some AddonXXX: IAddonXXX class that is defined in each dll, and some...
0
8889
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9401
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9179
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9116
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6702
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4519
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3228
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 we have to send another system
2
2637
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2157
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.