I need to register a Vb DLL under restricted acess privilages
please provide me a solution
Regards and thanks 16 1813
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.com> wrote in message
news:OO**************@TK2MSFTNGP10.phx.gbl... I need to register a Vb DLL under restricted acess privilages please provide me a solution
Regards and thanks
"Catherine Jones" <no*@moreply.com> wrote in message <news:OO**************@TK2MSFTNGP10.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:jlfoster%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!
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*****@somewhere.com> wrote in message
news:ub**************@TK2MSFTNGP10.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.com> wrote in message news:OO**************@TK2MSFTNGP10.phx.gbl... I need to register a Vb DLL under restricted acess privilages please provide me a solution
Regards and thanks
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_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
Regards
Kelly
"Joseph Geretz" <jg*****@nospam.com> wrote in message
news:OC**************@TK2MSFTNGP12.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*****@somewhere.com> wrote in message news:ub**************@TK2MSFTNGP10.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.com> wrote in message news:OO**************@TK2MSFTNGP10.phx.gbl... I need to register a Vb DLL under restricted acess privilages please provide me a solution
Regards and thanks
"Kelly G." <no*@moreply.com> wrote in message news:OV**************@TK2MSFTNGP10.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_machine ,But under restricted user privilages we do not have access to Hkey_local_machine so we have to register under Hkey_Current_user.
A VB DLL is a COM component. COM components require entries in HKEY_LOCAL_MACHINE so that code that needs to instantiate
the component can find the component. Using HKEY_CURRENT_USER 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 DllRegisterServer and DllUnregisterServer 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
"Catherine Jones" <no*@moreply.com> ëúá
áäåãòä:OO**************@TK2MSFTNGP10.phx.gbl... I need to register a Vb DLL under restricted acess privilages please provide me a solution
Regards and thanks
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
"David G" <so*****@hotmail.com> wrote in message
news:uw****************@tk2msftngp13.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.microsoft.com.
This a dotnet group microsoft.public.dotnet.languages.vb
"Jeff Johnson [MVP: VB]" <pa******@com.geocities> wrote in message
news:OT**************@TK2MSFTNGP10.phx.gbl... "David G" <so*****@hotmail.com> wrote in message news:uw****************@tk2msftngp13.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.microsoft.com.
David, look at the TO: line, it is cross-posted to a ton of newsgroups.
james
"David G" <so*****@hotmail.com> wrote in message
news:Or**************@TK2MSFTNGP10.phx.gbl... This a dotnet group microsoft.public.dotnet.languages.vb
"Jeff Johnson [MVP: VB]" <pa******@com.geocities> wrote in message news:OT**************@TK2MSFTNGP10.phx.gbl... "David G" <so*****@hotmail.com> wrote in message news:uw****************@tk2msftngp13.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.microsoft.com.
David G wrote: This a dotnet group microsoft.public.dotnet.languages.vb
No, this is SEVEN newsgroups all at once, in about FIVE of which it was off-topic.
It might behoove you to learn to understand your tools (e.g., outlook express)
before you spout off AS IF you understood what people were talking about. "Jeff Johnson [MVP: VB]" <pa******@com.geocities> wrote in message news:OT**************@TK2MSFTNGP10.phx.gbl... "David G" <so*****@hotmail.com> wrote in message news:uw****************@tk2msftngp13.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.microsoft.com.
--
looking for work again <http://obob.com/bob/resume/>
Well the message is not posted in those groups only in this one.
"Bob O`Bob" <fi*******@yahoogroups.com> wrote in message
news:40***********@yahoogroups.com... David G wrote: This a dotnet group microsoft.public.dotnet.languages.vb No, this is SEVEN newsgroups all at once, in about FIVE of which it was
off-topic. It might behoove you to learn to understand your tools (e.g., outlook
express) before you spout off AS IF you understood what people were talking about.
"Jeff Johnson [MVP: VB]" <pa******@com.geocities> wrote in message news:OT**************@TK2MSFTNGP10.phx.gbl... "David G" <so*****@hotmail.com> wrote in message news:uw****************@tk2msftngp13.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.microsoft.com.
-- looking for work again <http://obob.com/bob/resume/>
It was until your post trimmed it down to
microsoft.public.dotnet.general,microsoft.public.d otnet.languages.vb.
"David G" <so*****@hotmail.com> wrote in message
news:ON****************@TK2MSFTNGP12.phx.gbl... Well the message is not posted in those groups only in this one. "Bob O`Bob" <fi*******@yahoogroups.com> wrote in message news:40***********@yahoogroups.com... David G wrote: This a dotnet group microsoft.public.dotnet.languages.vb No, this is SEVEN newsgroups all at once, in about FIVE of which it was
off-topic. It might behoove you to learn to understand your tools (e.g., outlook express) before you spout off AS IF you understood what people were talking
about. "Jeff Johnson [MVP: VB]" <pa******@com.geocities> wrote in message news:OT**************@TK2MSFTNGP10.phx.gbl... > > "David G" <so*****@hotmail.com> wrote in message > news:uw****************@tk2msftngp13.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.microsoft.com. > >
-- looking for work again <http://obob.com/bob/resume/>
"David G" <so*****@hotmail.com> wrote in message news:Or**************@TK2MSFTNGP10.phx.gbl...
Why did you cross post this to microsoft.public.access.activexcontrol?
--
Michael Culley
Why is it posted as a reply to Catherine's original post????
Martin
"Michael Culley" <mc*****@NOSPAMoptushome.com.au> wrote in message
news:ea****************@TK2MSFTNGP12.phx.gbl... "David G" <so*****@hotmail.com> wrote in message
news:Or**************@TK2MSFTNGP10.phx.gbl... Why did you cross post this to microsoft.public.access.activexcontrol?
-- Michael Culley
Yhe man u can od it
"Eagle Win" <zs****@21cn.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl... Jim Carlock <an*******@127.0.0.1> wrote in message news:uW**************@TK2MSFTNGP09.phx.gbl... I'm wondering if it's possible to knock this message back to four years in the past?
-- Jim Carlock http://www.microcosmotalk.com/ Post replies to the newsgroup.
"ìéøï" <ww*********@allail.co.il> wrote in message news:uE**************@TK2MSFTNGP10.phx.gbl...
"Catherine Jones" <no*@moreply.com> ëú? áäåãòä:OO**************@TK2MSFTNGP10.phx.gbl... I need to register a Vb DLL under restricted acess privilages please provide me a solution
Regards and thanks
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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...
|
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...
|
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...
|
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...
|
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
|
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...
|
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...
|
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...
|
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...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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,...
|
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...
|
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...
|
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,...
| |