Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 79
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compare Value in Cell 1 to a List, Return Value if Match otherwise Return Null Ben Excel Discussion (Misc queries) 2 March 15th 07 01:02 AM
LOOKUP and return the column heading for IF/THEN return for False NN Excel Discussion (Misc queries) 1 October 6th 06 11:24 AM
check if reference exists, then return its value or return 0 doudou Excel Worksheet Functions 1 June 4th 05 09:17 PM
regsvr32 Seth[_3_] Excel Programming 4 August 8th 03 10:12 PM
VBA Syntax for VLOOKUP to return array of return values Alan Beban[_3_] Excel Programming 7 August 5th 03 11:41 AM


All times are GMT +1. The time now is 11:45 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"