Solved

Excel

Posted on 2001-09-14
2
148 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
[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
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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month11 days, 15 hours left to enroll

623 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