install ole server?

I'm getting this message when I try to add a common dialog box to a form.  

"Cannot find ole server, install it."

What is this?

I'm have references to the proper .ocx and such...

scorp8
LVL 1
scorp8Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

vb_eddieCommented:
Hello scorp8,

make a note of the troublesome ocx filename/path...then press the START button on the bottom left hand side of the screen.

Select RUN then type in

REGSVR32 path/filename  then ok it.


where path/filename is the name+location of your ocx.


Good luck.

0
scorp8Author Commented:
Still not working.

scorp8
0
vb_eddieCommented:
You should be putting in something which looks like this:-

regsvr32 c:\winnt\system32\comdlg32.ocx


Does this part at least work?

0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

scorp8Author Commented:
Yes, it does work and successfully registers..  This one is a head scratch..  I'm just not sure what to do...

scorp8
0
vb_eddieCommented:
If you open the program code and select TOOLS....REFERENCES you should get a list of files (with tick boxes) that are associated with your program. Do any of them with ticks next to them say MISSING?

If so, you will have to put those missings files onto your machine & register them.

If all looks ok, then I can only think thast the common dialog box is not causing the problem.

Does your program use objects assigned to other Applications such as WORD, EXCEL? If so, are these applications installed on your machine.


If all this does not help, then I will need to have more info. Sample of the code, where is it falling over, what is the exact error message, error number,etc.
0
scorp8Author Commented:
I'll have to get the error message.  In short, it states it can't see the filedialog object...

I'll get the detailed message...

scorp8
0
scorp8Author Commented:
Here's the error message.

     Run-Time error '438':

     Object doesn't support this property or method.

I'll add points to this question as well..  I've been sitting on the problem for awhile and I've gotten nowhere.  I've had out network people reinstall software, etc. and the problem has not been ironed out....

Thanks for the help...

scorp8
0
vb_eddieCommented:
Hello old friend,


I have just created the same error that you are getting.

I believe you may be using the wrong methods/properties in your code.

Put this code in the same form as the Common Dialog control. Put the code , say in a button, so when you click the button this code runs. Replace ActiveXct10 with the name of your Common Dialog Control name:-




With Me.ActiveXCtl0

.CancelError = True
.FileName = ""
.DialogTitle = "Select Spreadsheet"
.FILTER = "Comma Separated Values (*.csv)|*.csv|Excel (*.xls)|*.xls"
.FilterIndex = 1
.Flags = &H4 + &H1000
.ShowOpen

End With



This should work........I will be surprised if it didn't.


Let me know how you get on.


0
scorp8Author Commented:
Once again, it did not work...

I don't understand why I'm unable to see my File Dialog object when I have registered just about every .ocx and .dll related to a File Dialog box.

When I view the form in design view my File Dialog object is blank, therefore showing me that it's not registered...

???

scorp8

0
vb_eddieCommented:

All I can suggest is trying to download another .ocx, .dll as the ones you have on yor machine may be corrupted?

You are using the Microsoft Common Dialog Control Version 6?


Another idea......From the database window, Select Tools .... ActiveXControls ..... you should be able to use Access to register these awkward files again.


We will get to the bottom of this......
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
scorp8Author Commented:
Thanks for the help...

scorp8
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.