|
-
Jun 7th, 2010, 09:27 AM
#1
Thread Starter
Member
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

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?
-
Jun 7th, 2010, 09:45 AM
#2
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?
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
-
Jun 7th, 2010, 09:54 AM
#3
Thread Starter
Member
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 
thank you sir for the reaction.
-
Jun 7th, 2010, 10:20 AM
#4
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.
-
Jun 7th, 2010, 10:38 AM
#5
Thread Starter
Member
-
Jun 7th, 2010, 11:11 AM
#6
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.
-
Jun 7th, 2010, 11:24 AM
#7
Thread Starter
Member
Re: Need an advice regarding OCX file
Loud and Clear,
atleast i now have an idea what to do next 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
-
Jun 7th, 2010, 11:31 AM
#8
Hyperactive Member
Re: Need an advice regarding OCX file
 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 ?
-
Jun 7th, 2010, 11:35 AM
#9
Hyperactive Member
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
-
Jun 7th, 2010, 11:59 AM
#10
Re: Need an advice regarding OCX file
Thread closed. We don't support anyone who writes "unlockers".
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
|