Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 580
  • Last Modified:

is there a way to embed .ocx file to .exe

Well, i have a program that written in visual basic and it need two .ocx files to work with. they are mswinsck.ocx and comdlg32.ocx. But in my system, those two .ocx didn't get registered. Now i want to register it but he also disabled the regsvr32 :(

Is there a way to make my program work even if those two didn't get registered ?

thanks...
0
ThangNhocNgayXua
Asked:
ThangNhocNgayXua
  • 5
  • 3
  • 2
  • +3
3 Solutions
 
CrazyOneCommented:
>>>Is there a way to make my program work even if those two didn't get registered ?

I don't think so. I am pretty sure they have to be registered to be used.
0
 
CrazyOneCommented:
>>>he also disabled the regsvr32

Who disabled it?
0
 
ThangNhocNgayXuaAuthor Commented:
the administrator ;)
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
CrazyOneCommented:
Then I am afraid you are out of luck unfortunately :(
0
 
ThangNhocNgayXuaAuthor Commented:
oh that so bad ;x  I wish i can decompile the program and get the source code and modify it ;x. Thanks anyway
0
 
CrazyOneCommented:
decompiling is usually disallowed according the license agreement of most software vendors though.
0
 
bhagyeshtCommented:
try
 rundll32 yourocx.ocx,DLLRegisterServer

more data at
http://www.megasecurity.org/Info/Sennaspy08022001.html
0
 
ThangNhocNgayXuaAuthor Commented:
they disallowed me to use every .exe in the windows folder :((
0
 
CrazyOneCommented:
Is it just you or is it company policy.
0
 
bhagyeshtCommented:
ThangNhocNgayXua: I guess the only way is to ask the admin to give you access or ask him to register them form you. I he has  "disallowed me to use every .exe in the windows folder " there is nothing you can do as all the system required exe/ocx are in the same folder. Please I would suggest please close the question.
at your own risk - if you know the administrator password use it to register.
0
 
mcmurrickCommented:
There are ways to get around the administrative password or even change it without knowing the original password. However your continued employment would be at risk to superceed company policys and security mechanisms to make these modifications to the  machine yourself. I have to agree with bhagyesht that you need to contact your support and request they make the needed modifications or if you are a trusted employee depending on your environment and the applications usefulness to the company going through the proper channels to obtain the access you need should not be a problem.
0
 
PoromenosCommented:
< edited>
0
 
PoromenosCommented:
He's not breaking the policy. The admin disabled running .exe files in the windows folder, and I didn't tell him how to run .exe files in the windows folder, I told him how to get what he wanted done.
0
 
turn123Commented:
ThangNhocNgayXua,
No comment has been added lately (67 days), so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area for this question:

RECOMMENDATION: split points between CrazyOne http:#9671614 and bhagyesht http:#9684188 and mcmurrick http:#9742845

Please leave any comments here within 7 days.

-- Please DO NOT accept this comment as an answer ! --

Thanks,

turn123
EE Cleanup Volunteer
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 5
  • 3
  • 2
  • +3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now