Results 1 to 7 of 7

Thread: Stand alone application

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2000
    Location
    BELGIUM
    Posts
    3

    Question

    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

  2. #2
    Frenzied Member sebs's Avatar
    Join Date
    Sep 2000
    Location
    Aylmer,Qc
    Posts
    1,606
    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!

  3. #3

    Thread Starter
    New Member
    Join Date
    Nov 2000
    Location
    BELGIUM
    Posts
    3
    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!

  4. #4
    Frenzied Member sebs's Avatar
    Join Date
    Sep 2000
    Location
    Aylmer,Qc
    Posts
    1,606

    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!!

  5. #5

    Thread Starter
    New Member
    Join Date
    Nov 2000
    Location
    BELGIUM
    Posts
    3
    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

  6. #6
    Frenzied Member sebs's Avatar
    Join Date
    Sep 2000
    Location
    Aylmer,Qc
    Posts
    1,606
    Je suis en Outaouais,a Aylmer
    For your question, i don't know how to see the version
    but i'll look!

  7. #7
    Frenzied Member sebs's Avatar
    Join Date
    Sep 2000
    Location
    Aylmer,Qc
    Posts
    1,606
    Look Here

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width