Very Important problem in OCX & Resource (plzzzzzzzzzzzzzzzzzzzzz)
Note: I don't speak english very well
...
well i don't know where to start..
ok.. i made a program using "comdlg32.ocx" and then a made another program wich contain a resource file....
this resource file contain "comdlg32.ocx
and i make it EXE..
and when i start the program.. the OCX files will go to the system directory...
but when i start the program that i use in it the OCX file,the program dosn't work (but the comdlg32.ocx is in the system directory ) the picture of the message box is in the Attachement
and plz don't tell me to use a setup program or any thing like that
i hope that you understand what i mean cause i don't speak english very well..
Last edited by Shady Soft; Feb 10th, 2005 at 09:17 PM.
Re: Very Important problem in OCX & Resource (plzzzzzzzzzzzzzzzzzzzzz)
Click on Add-ins -> Add In Manager, and click on the Package and Deployment Wizard, (not highlighted, but shown below). Double-click on it, and set it to Load at Startup. Then, you can read this tutorial on how to use it. Welcome to the forums. Good Luck!
Re: Very Important problem in OCX & Resource (plzzzzzzzzzzzzzzzzzzzzz)
First..thx for ur help
but i said ("and plz don't tell me to use a setup program or any thing like that")
you maybe didn't understand what i mean....
the only raison that made me ask this question cause i know that there is an answer...
cause i see it in another program (i couldn't put it in the attachement cause they tell me (exemple.zip:
File Too Large. Limit for this filetype is 500.0 KB. Your file is 558.9 KB. )
download from here: http://www.geocities.com/kkanj22/exemple.zip
this file contain 3 ocx files..and when u run it..the program will extract them to the sys dir...(that is what i did..but like i told u before it appear an error)..
Conclusion: I want to know how to made a program like that
and maybe then you'll know what i mean(and thx for ur help)
plzzzzzzzzzzzz...i really need the answer for this question
Last edited by Shady Soft; Feb 10th, 2005 at 10:58 PM.
Re: Very Important problem in OCX & Resource (plzzzzzzzzzzzzzzzzzzzzz)
I don't know what is the problem any more
i don't know if the problem is registartion + when i write that is Start>>Run
REGSVR32 "c:/WINDOWS/SYSTEM/COMDLG32.OCX"
they tell me (in the attachement)
but whyyyyyyyyyyyyyyyyy(the Ocx file is in the sys dir)
what should i do..
this problem is driving me crazy
Re: Very Important problem in OCX & Resource (plzzzzzzzzzzzzzzzzzzzzz)
Which version of VB do you have?
Sorry, I don't run other peoples .exe's. The problem may be that the control is already registered.
You could try unregistering it.
VB Code:
Regsvr32 /u myocx.ocx
and then try registering it again. it seems odd that the program won't run, though. it may use a different version, in which case you may harm your system.
Last edited by dglienna; Feb 10th, 2005 at 11:54 PM.
Re: Very Important problem in OCX & Resource (plzzzzzzzzzzzzzzzzzzzzz)
dglienna something is missing the regedit can help in most
" I never did anything worth doing entirely by accident.... Almost none of my inventions were derived in that manner. They were achieved by having trained myself to be analytical and to endure and tolerate hard work."
" Many of life's failures are experienced by people who did not realize how close they were to success when they gave up. "
- Thomas Alva Edison-
Re: Very Important problem in OCX & Resource (plzzzzzzzzzzzzzzzzzzzzz)
What on earth??????
Why are you placing OCXs in your EXE and then extracting them?
Why? I am totally confused. What benefit does this have?
I would seriously not use this method as you have the ability to trash a PC...