?
Solved

install ole server?

Posted on 2003-03-07
11
Medium Priority
?
638 Views
Last Modified: 2007-12-19
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
0
Comment
Question by:scorp8
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 5
11 Comments
 

Expert Comment

by:vb_eddie
ID: 8097960
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
 
LVL 1

Author Comment

by:scorp8
ID: 8181418
Still not working.

scorp8
0
 

Expert Comment

by:vb_eddie
ID: 8182625
You should be putting in something which looks like this:-

regsvr32 c:\winnt\system32\comdlg32.ocx


Does this part at least work?

0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 1

Author Comment

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

scorp8
0
 

Expert Comment

by:vb_eddie
ID: 8184011
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
 
LVL 1

Author Comment

by:scorp8
ID: 8245853
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
 
LVL 1

Author Comment

by:scorp8
ID: 8245948
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
 

Expert Comment

by:vb_eddie
ID: 8252293
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
 
LVL 1

Author Comment

by:scorp8
ID: 8261605
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
 

Accepted Solution

by:
vb_eddie earned 80 total points
ID: 8263333

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
 
LVL 1

Author Comment

by:scorp8
ID: 8461816
Thanks for the help...

scorp8
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question