?
Solved

Excel

Posted on 2001-09-14
2
Medium Priority
?
150 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 400 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

Enroll in September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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

718 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