|
-
Oct 15th, 2000, 03:56 PM
#1
Thread Starter
Frenzied Member
Im trying to make my
own installer how would
I register a ocx?
I want to register mswinsck.ocx
Thanks!
-
Oct 15th, 2000, 04:34 PM
#2
Fanatic Member
Code:
Shell ("regsvr32.exe mswinsck.ocx")
Gl,
D!m
-
Oct 15th, 2000, 04:35 PM
#3
Thread Starter
Frenzied Member
So you dont have to give the
whole path right?
-
Oct 15th, 2000, 05:29 PM
#4
Correct. Think of Shell as typing into the Run Dialog. You don't need to specify C:\Windows\System\Regsvr32, just Regsvr32.
-
Oct 15th, 2000, 05:37 PM
#5
You do have to specify the path if the dll or ocx is not in the Win/System directory.
Code guru had some great code for doing this programmatically without calling shell, but I can't find it. Itis pretty prominent on the site - it was voted to best source last year if I recall correctly
- gaffa
-
Oct 15th, 2000, 05:57 PM
#6
transcendental analytic
Code:
Shell ("regsvr32.exe /h mswinsck.ocx")
WEll, try that, i'm sure you like the result better now
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Oct 15th, 2000, 05:59 PM
#7
Thread Starter
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
|