Solved

Excel

Posted on 2001-09-14
2
141 Views
Last Modified: 2010-05-02
I am generating an Excel shortcut in an email using the Outlook COM object, like this

Set NewMsg = olApp.CreateItem(0)

for my users using Win2k and NT they will double click on it and it works fine. For those users using (eek!) Windows 95 they will double click on the icon and either get a permissions denied error or it hangs-up. I'm on a novel Network.

Any sugesstions???
0
Comment
Question by:thenrich
2 Comments
 
LVL 3

Expert Comment

by:jrspano
ID: 6483654
just a guess, but do you have the com stuff installed on the w95 machines?  Put dcom98(i think 95 will take it but if not use dcom95) on it and run it again.  win nt comes with this stuff on it already.  You might also try mdac2.6 I don't think mdac will has any bering on your outlook programming but it might.  Here again 2000 comes with it 95/98 doesn't.
0
 
LVL 44

Accepted Solution

by:
bruintje earned 100 total points
ID: 6484396
Hi thenrich, to make that complete

When you make an OLE call, as CreateObject (xxx.Application), it's in fact an DCOM call. And DCOM has rights access, as user account or NTFS permissions !!! You have to execute DCOMCNFG to configure it, and set permission to execute DCOM call or DCOM object creation.

So install the dcom stuff and run dcomcnfg to give the process the proper permissions to run com commands on windows 95

HTH:O)Bruintje
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

743 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now