|
-
Aug 19th, 2000, 10:00 PM
#1
Thread Starter
New Member
Everything was fine until tonite..
Suddenly I have gotten this message.
"File Not Found"
When I start a New VB Program and also
when I try to open one of my existing programs
that used commondialog.
Here is what the log file says...
--------------
Line 50: Class MSComDlg.CommonDialog of control CommonDialog1 was not a loaded control class.
Line 73: Class ComctlLib.ProgressBar of control ProgressBar1 was not a loaded control class.
Line 53: The property name _ExtentX in CommonDialog1 is invalid.
Line 54: The property name _ExtentY in CommonDialog1 is invalid.
Line 55: The property name _Version in CommonDialog1 is invalid.
Line 80: The property name _ExtentX in ProgressBar1 is invalid.
Line 81: The property name _ExtentY in ProgressBar1 is invalid.
Line 82: The property name _Version in ProgressBar1 is invalid.
------------------------------------
I use VB Pro 5.0
Any help is greatly appreciated.
I don't know how to correct this problem.
I am a novice ;-)
Thanks in advance... Ron
-
Aug 19th, 2000, 10:33 PM
#2
It looks like you lost the OCX files or that the files have been unregistrated somehow.
Try registration the controls again using RegSvr32.exe
-
Aug 19th, 2000, 10:40 PM
#3
incase you dont know how,
go to start button - > run - > RegSvr32 "path to OCX file"
RegSvr32 does not need to be capitalized....
and that brings a question that i have been wondering but forgot to ask,
how does RegSvr32 work?
what calls does it make?
can it be written in vb or C++ or does it have to be ASM or another super low lever language?????
-
Aug 19th, 2000, 10:46 PM
#4
What RegSvr32 is doing is simply (?) adding the registration for a COM object to the Windows registry. You could do this manually with RegEdit (but I don't recommend doing so) so the code behind RegSvr32 can't be that complex.
-
Aug 19th, 2000, 10:51 PM
#5
Thread Starter
New Member
Still not working ;-(
OCX files are there and registered..
I still get a "File not found" when loading..
Ron
-
Aug 19th, 2000, 11:04 PM
#6
Try downloading a new ocx. Here is a link from PatorJk's site to download ComDlg32.ocx.
-
Aug 20th, 2000, 08:47 AM
#7
Thread Starter
New Member
Thanks All ;-)
Thanks everyone, especially Matthew.
The new comdlg32.ocx worked, but 1st I had
to delete comdlg32.dep and comdlg32.oca
from my windows\system directory.
Then re-boot...
Now I'm back in action again ;-)
You guys saved my a$$ again...
Hope I can help out someday...
Thanks again...Ron Wischer
-
Sep 26th, 2000, 03:51 PM
#8
Hyperactive Member
I have some .OCA and .DEP files along with my .OCX, just like you had.
I thought I had to join these files in my installation package. Should I avoid doing this? What are these files?
Thanks
-
Sep 26th, 2000, 04:11 PM
#9
If the file doesn't exist, when you load it into your form or something even uses the ocx, it will write an oca file.
OCA is a Control Typelib Cache file.
Blah blah..holds ocx information.
And a DEP file is a Dependency file for setup wizards.
Blah blah..contains some ocx information.
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
|