Curtwell
asked on
regsvr, XP?
I´m writing a program that register the controls(ocx) inside itself.
It works fine on win98 but when I run it on XP the regsvr says it
can´t find the file I want to register.
I know XP have regsvr in directory "windir\system32" but it still don´t
work... I try to manualy regsiter them whit regsvr and It don´t work either.
It just tells me that it can´t find the file...
So what can I do?
It works fine on win98 but when I run it on XP the regsvr says it
can´t find the file I want to register.
I know XP have regsvr in directory "windir\system32" but it still don´t
work... I try to manualy regsiter them whit regsvr and It don´t work either.
It just tells me that it can´t find the file...
So what can I do?
ASKER
Sorry this is not the problem...
the thing is that I can´t even do this:
I go to the XP command promt and go to the "windir\system32" directory. Then types in:
regsvr32 c:\whatever\fname.ocx
and I get the message can´t find file, I´ve checked whit various directories for the file but it wont work.
This is extremly odd... I´m not an expert but I do know that a program should be able to find a file if u give it the right directory, and that is what I have done.
So, some help would be most kind.
the thing is that I can´t even do this:
I go to the XP command promt and go to the "windir\system32" directory. Then types in:
regsvr32 c:\whatever\fname.ocx
and I get the message can´t find file, I´ve checked whit various directories for the file but it wont work.
This is extremly odd... I´m not an expert but I do know that a program should be able to find a file if u give it the right directory, and that is what I have done.
So, some help would be most kind.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Did you solve your problem?
What cause it?
What cause it?
ASKER
The ocx was corruted... just sended over a new one and it worked fine... hehe.. somethimes u just don´t think about things.. thx
call shell("c:\windows\system32
If this isn't your problem, what does your code look like ?