Solved

Excel

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
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…
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…
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…

808 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