Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

install ole server?

Posted on 2003-03-07
11
Medium Priority
?
652 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
  • 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Windows Explorer lets you open cabinet (cab) files like any other folder. In VBA you can easily handle normal files and folders, but opening and indeed creating cabinet files takes a lot more - and that's you'll find here.
A Case Study of using the Windows API to provide RS232 communications capability in Access without the use of Active-X controls.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
Enter Foreign and Special Characters Enter characters you can't find on a keyboard using its ASCII code ... and learn how to make a handy reference for yourself using Excel ~ Use these codes in any Windows application! ... whether it is a Micr…
Suggested Courses

580 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