Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ActiveX problem
Message
 
À
11/07/2003 21:44:12
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Titre:
Divers
Thread ID:
00809121
Message ID:
00809523
Vues:
25
>Hi Brain,
>
>Thx for your helping, but u know we don't have default path command in VB, then where I should put the ocx file will be better, cause I don't want to hard code the file path in my application.
>
>Thanks
>Aston

It is best practice to install the OCX file into the system directory of the windows folder.

Make sure it is the right system directory for the OS though.

ie. 95 uses Windows\System
NT and 2000 use WinNT\System32

By always installing there it should make registration easy. If you really want to play it safe though you could always copy the OCX into the same folder as your app.

then use
app.path & "\MYFILE.OCX"

Good Luck!
Brian Seekford
Seekford Solutions, Inc.
http://www.SeekfordSolutions.com
Internet ActiveX Controls and .NET Class Libraries.
SMTP/S FTP POP3/S HTTP/S SNTP MIME PING WHOIS TRACEROUTE NNTP DNS MX
Base64, UUEncode, yEnc, MD5, SHA1, URL, Quoted-Printable.
Resizer and Tooltips
Email Verification and more. Check us out!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform