|
-
Nov 22nd, 2000, 11:33 AM
#1
Thread Starter
New Member
I would like to create an installation software but I have some problem on computer where previous versions of certain OCX are installed (or are not installed).
In fact I must create a software which can be ran on any windows computer. When the software begins, he must check if OCX present on the system are ok. If not, he must upgrade automaticaly these OCX. At this time, I must upgrade 4 OCX: Richtx32.ocx, comctl32.ocx, comdlg32.ocx et tabctl32.ocx.
Anybody can help me?
Thank you in advance,
Philippe HALET
-
Nov 22nd, 2000, 11:36 AM
#2
Frenzied Member
I'm not sure but if you re-register them, maybe they will be updated.
Else
unregister them,delete them and register the new ones!
-
Nov 22nd, 2000, 11:52 AM
#3
Thread Starter
New Member
it's probably true, could you explain how I can register an OCX from a VB application?
Thanks,
Philippe
PS: I'm french speaker, if you want you can send me directly an email in french!
-
Nov 22nd, 2000, 11:56 AM
#4
Frenzied Member
Shell "Regsvr32.exe /s " & to_reg, vbNormal
to_reg would be your.ocx to register.
Shell "Regsvr32.exe /u /s " & to_reg, vbNormal
To uninstall.
Sorry but i find it faster to reply here than with an email.
Mais on peut quand meme parler en francais!!
-
Nov 22nd, 2000, 12:15 PM
#5
Thread Starter
New Member
On va quand même continuer en anglais. Cela peut être utile pour tout le monde!
Pour info, de quelle région du québec es-tu?
1a) Do you think it's possible to register ocx without unregister the current version because it's probably dangerous to unregister a newest version of an ocx and replace it by my version?
1b) If point 1a is not possible, there is a way to determine who of two ocx is the newest (to avoid a replacement of an older version)? In other word, how I can retrieve the version number of an ocx from my application?
2) The application regserv.exe copy file in the good path?
Thanks,
Philippe
-
Nov 22nd, 2000, 12:42 PM
#6
Frenzied Member
Je suis en Outaouais,a Aylmer
For your question, i don't know how to see the version
but i'll look!
-
Nov 22nd, 2000, 12:48 PM
#7
Frenzied Member
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
|