Click here to Skip to main content
15,902,939 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How can I convert to TIFF file format? Pin
earl13-Jul-06 5:12
earl13-Jul-06 5:12 
QuestionPlease,help me with jar-files in java Pin
beganovic_swe12-Jul-06 9:37
beganovic_swe12-Jul-06 9:37 
AnswerRe: Please,help me with jar-files in java Pin
Christian Graus12-Jul-06 9:43
protectorChristian Graus12-Jul-06 9:43 
GeneralRe: Please,help me with jar-files in java Pin
led mike12-Jul-06 9:49
led mike12-Jul-06 9:49 
GeneralRe: Please,help me with jar-files in java Pin
beganovic_swe12-Jul-06 22:33
beganovic_swe12-Jul-06 22:33 
QuestionCrash in MFC extension DLL [modified] Pin
act_x12-Jul-06 8:23
act_x12-Jul-06 8:23 
AnswerRe: Crash in MFC extension DLL Pin
led mike12-Jul-06 9:14
led mike12-Jul-06 9:14 
QuestionInvoke Self-Registration of an ActiveX Pin
Christopher Stratmann12-Jul-06 8:11
Christopher Stratmann12-Jul-06 8:11 
I have a .ocx file that I am trying to install on many computers. I have found code in MSDN which shows how to register ActiveX in Visual 6.0 C++. http://msdn2.microsoft.com/en-us/library/ms177531.aspx[^] I successfully put this code into my application so before my program starts up it checks the registry to see if the activeX is installed and if it is not then it will copy the file to the C:\ and install it. This is working for admins only right now.

I copy it to the C:\ and not the system32 folder because the user that is logged on may not have admin rights to do so.

My problem is installing ActiveX will not work if the user doesn't have admin rights. I have tried with my program and using "regsvr32.exe C:\my.ocx" which returns and error stating "DllRegisterServer in C:\my.ocx failed. Return code was: 0x8002801c".

I know there is a function where I can run a batch file as another user (like an admin user) but I dont have a global admins userid and password.

Is there anyway to register an ActiveX with a less privileged user?

Thanks Chris
QuestionRe: Invoke Self-Registration of an ActiveX Pin
David Crow12-Jul-06 9:05
David Crow12-Jul-06 9:05 
GeneralRe: Invoke Self-Registration of an ActiveX Pin
Christopher Stratmann12-Jul-06 9:55
Christopher Stratmann12-Jul-06 9:55 
AnswerRe: Invoke Self-Registration of an ActiveX Pin
Eric Dahlvang12-Jul-06 11:34
Eric Dahlvang12-Jul-06 11:34 
QuestionChecking if a window is minimized Pin
slippnslide12-Jul-06 7:35
slippnslide12-Jul-06 7:35 
AnswerRe: Checking if a window is minimized Pin
David Crow12-Jul-06 7:38
David Crow12-Jul-06 7:38 
GeneralRe: Checking if a window is minimized Pin
slippnslide12-Jul-06 8:50
slippnslide12-Jul-06 8:50 
GeneralRe: Checking if a window is minimized Pin
David Crow12-Jul-06 9:00
David Crow12-Jul-06 9:00 
GeneralRe: Checking if a window is minimized Pin
slippnslide12-Jul-06 9:10
slippnslide12-Jul-06 9:10 
QuestionRe: Checking if a window is minimized Pin
David Crow12-Jul-06 10:01
David Crow12-Jul-06 10:01 
AnswerRe: Checking if a window is minimized Pin
slippnslide12-Jul-06 10:05
slippnslide12-Jul-06 10:05 
GeneralRe: Checking if a window is minimized Pin
David Crow12-Jul-06 10:29
David Crow12-Jul-06 10:29 
GeneralRe: Checking if a window is minimized Pin
slippnslide12-Jul-06 11:16
slippnslide12-Jul-06 11:16 
GeneralRe: Checking if a window is minimized Pin
David Crow13-Jul-06 2:31
David Crow13-Jul-06 2:31 
QuestionCLSID..error [modified] urgent pls Pin
RockyJames12-Jul-06 7:26
RockyJames12-Jul-06 7:26 
AnswerRe: CLSID..error [modified] urgent pls Pin
David Crow12-Jul-06 7:37
David Crow12-Jul-06 7:37 
GeneralRe: CLSID..error [modified] urgent pls Pin
RockyJames12-Jul-06 7:39
RockyJames12-Jul-06 7:39 
AnswerRe: CLSID..error [modified] urgent pls [modified] Pin
Neil Van Eps12-Jul-06 8:10
Neil Van Eps12-Jul-06 8:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.