Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Regsvr32 return value
Can anyone point me to the online documentation for regsvr. I've been
looking on msdn and cannot find anything useful. In particular, I'm trying to work out what the return value means. I have regsvr running using the /s silent switch, with a distributed add-in master loader checking for version updates of any component files, which may include ocx or dll file types that are downloaded but may need to be registered. A successful ocx registration is returning 3892, while an unsuccessful dll registration is returning 2512. I need to be able to handle any registration errors but the numbers coming back don't seem to make much sense. Thanks in advance. Robin Hammond www.enhanceddatasystems.com Check out our XspandXL add-in |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Regsvr32 return value
Hi Robin H,
Which return are you talking. Is it from shell function like below? return = Shell "REGSVR32.EXE /s """ & Application.Path & "\yourfile.ocx""" If so, then it isn't much useful for error control since it returns only the task ID of the Windows started program. I think you have to verify directly on registry, if the registration had success. HTH --- Orlando Magalhães Filho (So that you get best and rapid solution and all may benefit from the discussion, please reply within the newsgroup, not in email) "Robin Hammond" escreveu na mensagem ... Can anyone point me to the online documentation for regsvr. I've been looking on msdn and cannot find anything useful. In particular, I'm trying to work out what the return value means. I have regsvr running using the /s silent switch, with a distributed add-in master loader checking for version updates of any component files, which may include ocx or dll file types that are downloaded but may need to be registered. A successful ocx registration is returning 3892, while an unsuccessful dll registration is returning 2512. I need to be able to handle any registration errors but the numbers coming back don't seem to make much sense. Thanks in advance. Robin Hammond www.enhanceddatasystems.com Check out our XspandXL add-in |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Regsvr32 return value
Your welcome.
Orlando Magalhães Filho "Robin Hammond" escreveu na mensagem ... Orlando, Thanks for the quick response. That's exactly what I am getting. It makes sense now. Robin Hammond www.enhanceddatasystems.com Check out our XspandXL add-in "Orlando Magalhães Filho" wrote in message ... Hi Robin H, Which return are you talking. Is it from shell function like below? return = Shell "REGSVR32.EXE /s """ & Application.Path & "\yourfile.ocx""" If so, then it isn't much useful for error control since it returns only the task ID of the Windows started program. I think you have to verify directly on registry, if the registration had success. HTH --- Orlando Magalhães Filho (So that you get best and rapid solution and all may benefit from the discussion, please reply within the newsgroup, not in email) "Robin Hammond" escreveu na mensagem ... Can anyone point me to the online documentation for regsvr. I've been looking on msdn and cannot find anything useful. In particular, I'm trying to work out what the return value means. I have regsvr running using the /s silent switch, with a distributed add-in master loader checking for version updates of any component files, which may include ocx or dll file types that are downloaded but may need to be registered. A successful ocx registration is returning 3892, while an unsuccessful dll registration is returning 2512. I need to be able to handle any registration errors but the numbers coming back don't seem to make much sense. Thanks in advance. Robin Hammond www.enhanceddatasystems.com Check out our XspandXL add-in |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Compare Value in Cell 1 to a List, Return Value if Match otherwise Return Null | Excel Discussion (Misc queries) | |||
LOOKUP and return the column heading for IF/THEN return for False | Excel Discussion (Misc queries) | |||
check if reference exists, then return its value or return 0 | Excel Worksheet Functions | |||
regsvr32 | Excel Programming | |||
VBA Syntax for VLOOKUP to return array of return values | Excel Programming |