473,385 Members | 1,942 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,385 software developers and data experts.

Problem with registering Vb Dll

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

Regards and thanks
Nov 20 '05 #1
23 1202
* "Catherine Jones" <no*@moreply.com> scripsit:
I need to register a Vb DLL under restricted acess privilages
please provide me a solution


Please include only groups to your posts which are related to the topic!

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #2
is your middle name Zeta, by any chance?
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:uC**************@TK2MSFTNGP11.phx.gbl...
* "Catherine Jones" <no*@moreply.com> scripsit:
I need to register a Vb DLL under restricted acess privilages
please provide me a solution


Please include only groups to your posts which are related to the topic!

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>

Nov 20 '05 #3
"Jose Caliente" <jc@noble.net> schrieb
is your middle name Zeta, by any chance?


Herfried K. Zeta Wagner??

;-)
--
Armin

Nov 20 '05 #4
I was asking Catherine Jones

:)
"Armin Zingler" <az*******@freenet.de> wrote in message
news:e0**************@TK2MSFTNGP09.phx.gbl...
"Jose Caliente" <jc@noble.net> schrieb
is your middle name Zeta, by any chance?


Herfried K. Zeta Wagner??

;-)
--
Armin

Nov 20 '05 #5
* "Armin Zingler" <az*******@freenet.de> scripsit:
"Jose Caliente" <jc@noble.net> schrieb
is your middle name Zeta, by any chance?


Herfried K. Zeta Wagner??

;-)


ROTFL

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #6
* "Jose Caliente" <jc@noble.net> scripsit:
is your middle name Zeta, by any chance?


No, not mine...

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #7
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

Nov 20 '05 #8
"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!
Nov 20 '05 #9
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


Nov 20 '05 #10
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



Nov 20 '05 #11
"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
Nov 20 '05 #12

"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

Nov 20 '05 #13
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
Nov 20 '05 #14
* "David G" <so*****@hotmail.com> scripsit:
When does VS.Net 2004 Whidbey come out ?
I would like to buy it !
AFAIS Winter 2004 or Spring 2005.
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.


Sorry, I don't know that.

Please don't make excessive use of X-posts.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #15

"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.
Nov 20 '05 #16
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.

Nov 20 '05 #17
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.


Nov 20 '05 #18
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/>
Nov 20 '05 #19
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/>

Nov 20 '05 #20
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/>


Nov 20 '05 #21
"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
Nov 20 '05 #22
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

Nov 20 '05 #23
gf


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



Nov 20 '05 #24

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

Similar topics

3
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...
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...
6
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...
4
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...
0
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...
0
by: unknown; | last post by:
hi i've got a problem about howto register a COM in a Visual Studio 2005 setup-project. this is the situation: i've got a project (unmanaged C++ ATL that will generate a COM dll as result)....
2
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...
1
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...
4
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
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,...
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...

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.