Need an advice regarding OCX file
i just want to ask a question about OCX,
everytime im going to create a simple program like for example this yahoo invisible checker
http://img695.imageshack.us/img695/6336/59471542.jpg
after compiling it the program works perfect here in my computer (from the PC where i have my VB6 installed)
then if im going to put it on the other machine with same OS which is XP it asks for an OCX, after putting an OCX yes it will work now my question is:
is there any way to get rid of that? i mean creating a simple program without having an error with OCX?
like for example if you add and xpbutton.ocx on your program you also need to put that ocx on the folder of the exe if you are going to use it in other PC,
so its not adviceable to use thing like xpbutton or any other thing which is needed to have an ocx?
what can you advice for a newbie like me regarding ocx?
Re: Need an advice regarding OCX file
Off Topic: I am curious...
1) How would you check if someone is in invisible mode?
2) Whether it is ethical to do so i.e. if you can do that check... considering that it is an invasion of privacy?
Re: Need an advice regarding OCX file
ohh sorry for that sir,
its just a personal use, and i dont have any intention to bother anyone on my contact while he is on invi mode,
its just happen that i am selling something which is gsm related gadget like samsung unlocker, nokia flasher/unlocker and LG Motorola and other brands which is a gadget on gsm business and the scenario is i can give this gadget on my friends which i know personally, i can sell them without having me paid fully. i mean they can give half the price of it and the other half is on the next month...or when the time they want me to pay
sad to say there are people that when you owe something on him he just hide himself on yahoo... and never make himself available with my account... that is the reason why i have that program...
sometimes its absurd that almost 4-6 months never been online...
hope you understand my point.
can you answer my question now :D
thank you sir for the reaction.
Re: Need an advice regarding OCX file
Nearly every vb6 app uses an Ocx in some form or another. Its just a libray of code you are using. The long and short of it is this. If you use the Ocx, you have to ship your application with it unless they already have it.
You can remove your dependencies on a library by coding one yourself, but as you have chosen to use an Ocx you either don't want to code one yourself, your can't code it yourself or you can't be bothered :). Why re-invent the wheel.
Re: Need an advice regarding OCX file
well to be honest im a newbie, and i cant code such thing by my self (dll's)
so i need bring those ocx together with my file everytime i want to use it on other pc ( its not that hard)
and i will just accept it :D
another question about DLL, so if im going to put the application on the other pc and it request a dll like for example MSSTDFMT.DLL, do i really need to register it? not like the ocx that it will work without registering it?
i put the dll on syste32 and still it said need to register the dll bla bla bla,
sorry its noob's question, :D
i should have search it on google instead of asking it here, am getting shy to ask and bother you guys to answer my noob question :D
sorry for that
i appreciate the answer...
thanks sir
Re: Need an advice regarding OCX file
The application will look in the registry for the location of the .ocx file. You can have more than 1 on your machine so when you register a file you tell it to use THAT version of the file. However, if they have another application that can not use this version of the file, it will break. This is where the expression "dll-hell" comes in (same for .ocx files, they are very similar).
If its a system ocx, like 'common controls' then its likely already installed, if its not installed, you have to do it. Thats the whole purpose of installers to deal with issues like this. As you have said its only for you, just keep running the app until you get a list of things that are not installed and copy em, register them and move on. If you want to do it properly, you've got some reading to do.
Re: Need an advice regarding OCX file
Loud and Clear,
atleast i now have an idea what to do next :D read and read
think i have to go to the next step...
thanks all, and i think i have the answer i want to know
regards
Re: Need an advice regarding OCX file
Quote:
Originally Posted by
koolsid
Off Topic: I am curious...
1) How would you check if someone is in invisible mode?
2) Whether it is ethical to do so i.e. if you can do that check... considering that it is an invasion of privacy?
this is a common use by many app in MSN (old versions)
these days, the only thing that left is that you can know
if your one of your contact man has deleted you from his list
and this feature is supoorted also by MSN itself, (not only third party)
isn't it invasion of privacy ?
Re: Need an advice regarding OCX file
to the OP
you can put all the components (exe,ocx,dll) in one folder
and pack this folder to a self exctractor file.
this way all the files will be exctracted and everything should work.
you can also include setup program in this package.
for more details, you can look at WinRAR (shareware) site or 7-ZIP (open source) site
Re: Need an advice regarding OCX file
Thread closed. We don't support anyone who writes "unlockers".