|
-
Apr 8th, 2000, 10:15 PM
#1
Thread Starter
New Member
Hi,
this is doing my head in and any help would be greatly appreciated.
I have a program in VB6.0, NT4.0 which sets some settings in the registry. It works fine on my machine, but comes up with the dreaded 429 error when run from a remote (VB-less) install. The only funky part of the program is the bit that accesses the registry, and that is initiated by the following API call:
Code:
Private Declare Function RegOpenKeyEx Lib "advapi32" Alias "RegOpenKeyExA" (ByVal hKey As Long, ByVal lpSubKey As String, _
ByVal ulOptions As Long, ByVal samDesired As Long, ByRef phkResult As Long) As Long
I have all the DLL's I can think of in the directory. And I'm not too sure about what is involved in registering activeX's or whatever, so I haven't done much of that.
There is a similar API call used in the standard VB about dialog box, so if I create a blank project and add an about form, it also does not work on a remote install.
I've read all the stuff I can find (on the web and in MSDN) about this error, but not much of it makes sense to me, or help's me in solving this problem. Anyone got any ideas?
Mark.
[Edited by markdav on 04-09-2000 at 11:21 AM]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|