473,756 Members | 7,560 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem with registering Vb Dll

I need to register a Vb DLL under restricted acess privilages
please provide me a solution

Regards and thanks
Jul 21 '05 #1
16 1844
Don't mind these guys LMAO
There is some solutions, I'll leave it up to you to decide which is better
or not...

1) pay $$$ to Desiware and export the functions out of the VB6/.NET DLL's
and use API declerations to call the DLL's, no Registration needed.
2) Rewrite the DLL's in C++, exporting the functions and calling them using
API declerations.
3) {Not recommended, but hey, sometimes...} If you are under a domained
environemnt, allow the users access to the registry, or certian keys, then
the issue goes away.
4) Rewrite the DLL's in VB.NET, no registration needed.

Otherwise, you can ask these guys, I've been banging my head against the
walls over this one for some time, and #3 is my solution, but in-process on
#4.

HTH
Sueffel

"Catherine Jones" <no*@moreply.co m> wrote in message
news:OO******** ******@TK2MSFTN GP10.phx.gbl...
I need to register a Vb DLL under restricted acess privilages
please provide me a solution

Regards and thanks

Jul 21 '05 #2
"Catherine Jones" <no*@moreply.co m> wrote in message <news:OO******* *******@TK2MSFT NGP10.phx.gbl>. ..
I need to register a Vb DLL under restricted acess privilages
please provide me a solution


This sounds like an organizational problem. In effect, you've been
required to run a marathon, but you must wear dancing clogs instead
of running shoes. You won't even be able to properly update the VB
run-times, and God help you if you need to install MDAC, MSDE, or
Jet!

--
Joe Foster <mailto:jlfoste r%40znet.com> Sign the Check! <http://www.xenu.net/>
WARNING: I cannot be held responsible for the above They're coming to
because my cats have apparently learned to type. take me away, ha ha!
Jul 21 '05 #3
But ultimately, Joe Foster is correct. This is an organizational /
administrative problem. As such, this will require an organizational /
administrative solution. Setting up such a scenario and then asking your
development department to solve it is foolhardy IMO. Some of what you
propose is cumbersome at best and changes the whole strategy of VB6/ActiveX
development. How are you going to deploy user controls? Third party DLLs? At
worst, some of what you propose is not even possible, if write access is
restricted to the user login.

If domain administration is going to take control of user workstations in
this manner, then they need to take control of software deployments as well.
This means developers need to release MSI installs and domain admins need to
set up group policies to push these products out to the users' workstation.

- Joe Geretz -

"Sueffel" <so*****@somewh ere.com> wrote in message
news:ub******** ******@TK2MSFTN GP10.phx.gbl...
Don't mind these guys LMAO
There is some solutions, I'll leave it up to you to decide which is better
or not...

1) pay $$$ to Desiware and export the functions out of the VB6/.NET DLL's
and use API declerations to call the DLL's, no Registration needed.
2) Rewrite the DLL's in C++, exporting the functions and calling them using API declerations.
3) {Not recommended, but hey, sometimes...} If you are under a domained
environemnt, allow the users access to the registry, or certian keys, then
the issue goes away.
4) Rewrite the DLL's in VB.NET, no registration needed.

Otherwise, you can ask these guys, I've been banging my head against the
walls over this one for some time, and #3 is my solution, but in-process on #4.

HTH
Sueffel

"Catherine Jones" <no*@moreply.co m> wrote in message
news:OO******** ******@TK2MSFTN GP10.phx.gbl...
I need to register a Vb DLL under restricted acess privilages
please provide me a solution

Regards and thanks


Jul 21 '05 #4
Hi

Thanks for the help.
Well actually the information was not enough ,I think the problem was due to
me not providing the complete details

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

Regards
Kelly
"Joseph Geretz" <jg*****@nospam .com> wrote in message
news:OC******** ******@TK2MSFTN GP12.phx.gbl...
But ultimately, Joe Foster is correct. This is an organizational /
administrative problem. As such, this will require an organizational /
administrative solution. Setting up such a scenario and then asking your
development department to solve it is foolhardy IMO. Some of what you
propose is cumbersome at best and changes the whole strategy of VB6/ActiveX development. How are you going to deploy user controls? Third party DLLs? At worst, some of what you propose is not even possible, if write access is
restricted to the user login.

If domain administration is going to take control of user workstations in
this manner, then they need to take control of software deployments as well. This means developers need to release MSI installs and domain admins need to set up group policies to push these products out to the users' workstation.
- Joe Geretz -

"Sueffel" <so*****@somewh ere.com> wrote in message
news:ub******** ******@TK2MSFTN GP10.phx.gbl...
Don't mind these guys LMAO
There is some solutions, I'll leave it up to you to decide which is better or not...

1) pay $$$ to Desiware and export the functions out of the VB6/.NET DLL's and use API declerations to call the DLL's, no Registration needed.
2) Rewrite the DLL's in C++, exporting the functions and calling them

using
API declerations.
3) {Not recommended, but hey, sometimes...} If you are under a domained
environemnt, allow the users access to the registry, or certian keys, then the issue goes away.
4) Rewrite the DLL's in VB.NET, no registration needed.

Otherwise, you can ask these guys, I've been banging my head against the
walls over this one for some time, and #3 is my solution, but in-process

on
#4.

HTH
Sueffel

"Catherine Jones" <no*@moreply.co m> wrote in message
news:OO******** ******@TK2MSFTN GP10.phx.gbl...
I need to register a Vb DLL under restricted acess privilages
please provide me a solution

Regards and thanks



Jul 21 '05 #5
"Kelly G." <no*@moreply.co m> wrote in message news:OV******** ******@TK2MSFTN GP10.phx.gbl...
Hi

Thanks for the help.
Well actually the information was not enough ,I think the problem was due to
me not providing the complete details

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.


A VB DLL is a COM component. COM components require entries in HKEY_LOCAL_MACH INE so that code that needs to instantiate
the component can find the component. Using HKEY_CURRENT_US ER is not an option unless you are targeting only Win2K and
up.

If this is the only file in the entire installation that requires registration I'll be surprised. But if it is, then you
have the option of rewriting the DLL's calling code in order to avoid the registration requirement altogether. This is
not a trivial task, but it is possible.

It's also possible to write your own DllRegisterServ er and DllUnregisterSe rver routines using a third-party tool, but
that also is not trivial.

The correct answer has already been stated. The install program requires temporary rights to portions of the Registry
that are normally off-limits. This is an administrative issue, not a programmatic one.

-Peter
Jul 21 '05 #6

"Catherine Jones" <no*@moreply.co m> ëúá
áäåãòä:OO****** ********@TK2MSF TNGP10.phx.gbl. ..
I need to register a Vb DLL under restricted acess privilages
please provide me a solution

Regards and thanks

Jul 21 '05 #7
When does VS.Net 2004 Whidbey come out ?
I would like to buy it !

Will it also allow a developer to upgrade from vb6 pro ?
And what proff do i need since all I have is the cd, the case and the
original box . Is that enough to qualify for an upgrade ? I must have lost
the receipt years ago.

Thanks
Jul 21 '05 #8

"David G" <so*****@hotmai l.com> wrote in message
news:uw******** ********@tk2msf tngp13.phx.gbl. ..
When does VS.Net 2004 Whidbey come out ?


When it DOES come out and you have questions, please note below:

Please ask .NET questions in newsgroups with "dotnet" in their names. The
*.vb.* groups are for VB6 and earlier. If you don't see the *.dotnet.*
groups on your news server, connect directly to the Microsoft server:
msnews.microsof t.com.
Jul 21 '05 #9
This a dotnet group microsoft.publi c.dotnet.langua ges.vb

"Jeff Johnson [MVP: VB]" <pa******@com.g eocities> wrote in message
news:OT******** ******@TK2MSFTN GP10.phx.gbl...

"David G" <so*****@hotmai l.com> wrote in message
news:uw******** ********@tk2msf tngp13.phx.gbl. ..
When does VS.Net 2004 Whidbey come out ?


When it DOES come out and you have questions, please note below:

Please ask .NET questions in newsgroups with "dotnet" in their names. The
*.vb.* groups are for VB6 and earlier. If you don't see the *.dotnet.*
groups on your news server, connect directly to the Microsoft server:
msnews.microsof t.com.

Jul 21 '05 #10

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

Similar topics

3
15073
by: Stangonline.com | last post by:
Ok, im familiar with typical troubleshooting of this type on problem, but I do not do any programming myself. Im hoping you guys can help me with an install problem that I am having. I have an application that fails to register 2 .ocx files during installation. The OS is Windows Server 2003 running as a terminal server. I have since tried to install the same application in Windows 2000 Terminal server and it worked fine. SO im...
1
1618
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...
6
7935
by: harry | last post by:
Hi, I have a program that runs on multiple client pc's. Occasionally one or more of those pc's use VPN to connect to another corporate network. When using VPN they need to set proxy server in Internet Explorer connection settings (proxy:8080). However, as soon as this setting is enabled, the remoting program running on their pc stops communicating with the server it sends data to. I've disabled proxy setting on the affected pc, rebooted...
4
1101
by: Colin | last post by:
Hi there, Can anyone tell me what is wrong with my VS.NET? Recently I am trying to create a new Web project by the VS.NET 2003 in the win2000 prof, however I get a message say:"VS.NET has detect that the specified Web server is not running ASP.NET version1.1. You will be unable to run ASP.NET Web applications." I have done following to try to get rid this problem. 1) remove the framework 2.0 beta from Window "Add/remove programs" and...
23
1230
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
0
265
by: rakesh_nits | last post by:
Hi All, I want to add a contextual menu item when the user drag and drop any folder or file using right mouse button from local folder to a shared web folder or vice a versa.how can i achieve this and which interface i have to implement and where in registry i have to register it.using icontextmenu and ishellextinit interface and registering them for HKCR\Folder\shellex\dragdrophandlers and HKCR\Directory\shellex\dragdrophandlers works...
2
1616
by: styliek | last post by:
I know this might not be the right place for a sql problem but as im writhing in php I thought someone might be able to help. Im creating a registering page, where the scripts should first check if the business name exists or not, if it doesnt exist it should bring the user to a page to create the business details. If the business name already exists it should check if it has been activated already, again if it has been activated it will...
1
2473
by: WT | last post by:
Hello, My code is using a class inherited from TextWriterTraceLister, creating a new object on Application_Start and inserting it in the listeners collection. This has run for years,but on a new 2003 server with all last fixes, I am unable to get a trace, it seems that our code is not called, no trace file is writen on disk. trying a remote debug with vs2005, we step in Application_Start after changing web.config, and then it start...
4
3168
by: Dave Burns | last post by:
I am self hosting a Web Service in a Windows service. I am trying to start the service using the NT AUTHORITY\NetworkService account. I get a NullReferenceException on ServiceHost.Open() in the ServiceBase.OnStart() method. SCM throws a 1067 error as well. I get the same problem with NT AUTHORITY\LocalService. When I use the LocalSystem account, my domain account, or another regular user account, the windows service starts just fine.
0
9275
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10040
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...
0
9873
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9713
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...
0
8713
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6534
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5142
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
3806
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
3
2666
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.