PC Review


Reply
Thread Tools Rate Thread

Creating an Outlook application object on Vista (UAC)

 
 
Yuri Nijsen
Guest
Posts: n/a
 
      14th Jul 2008
While creating an Outlook application object on Vista I cannot communicate
with Outlook if the integrity levels of my app and Outlook are not the same.
Say my app is running at "high" integrity and outlook is running in "normal"
integrity level, the app doesn't work. Only when both apps are running at the
same level it will work.

Anyone got a solution for this? Only thing I can think of is too always
launch outlook as an administrator. But that is a bit of a hackish solution.
 
Reply With Quote
 
 
 
 
Roady [MVP]
Guest
Posts: n/a
 
      14th Jul 2008
What do you mean with "integrity"?
You mean your application only works under an administrator context? Why do
you need that? What does your application do?

Note that there is a developers newsgroup down the hall;
outlook.program_vba

--
Robert Sparnaaij [MVP-Outlook]
Coauthor, Configuring Microsoft Outlook 2003
http://www.howto-outlook.com/
Outlook FAQ, HowTo, Downloads, Add-Ins and more

http://www.msoutlook.info/
Real World Questions, Real World Answers

-----

"Yuri Nijsen" <Yuri (E-Mail Removed)> wrote in message
news:E03AF0C3-EBE5-4AC8-BD1A-(E-Mail Removed)...
> While creating an Outlook application object on Vista I cannot communicate
> with Outlook if the integrity levels of my app and Outlook are not the
> same.
> Say my app is running at "high" integrity and outlook is running in
> "normal"
> integrity level, the app doesn't work. Only when both apps are running at
> the
> same level it will work.
>
> Anyone got a solution for this? Only thing I can think of is too always
> launch outlook as an administrator. But that is a bit of a hackish
> solution.


 
Reply With Quote
 
Yuri Nijsen
Guest
Posts: n/a
 
      14th Jul 2008
Yes, with integrity I mean the UAC levels an app can run under. Since users
can decide to run an app as an administrator it is a valid situation that our
app runs at a higher level then outlook.

I did find someone else who talks about this problem, but has no solution
http://weblogs.asp.net/whaggard/arch...-on-vista.aspx

Kind Regards,
Yuri Nijsen


"Roady [MVP]" wrote:

> What do you mean with "integrity"?
> You mean your application only works under an administrator context? Why do
> you need that? What does your application do?
>
> Note that there is a developers newsgroup down the hall;
> outlook.program_vba
>
> --
> Robert Sparnaaij [MVP-Outlook]
> Coauthor, Configuring Microsoft Outlook 2003
> http://www.howto-outlook.com/
> Outlook FAQ, HowTo, Downloads, Add-Ins and more
>
> http://www.msoutlook.info/
> Real World Questions, Real World Answers
>
> -----
>
> "Yuri Nijsen" <Yuri (E-Mail Removed)> wrote in message
> news:E03AF0C3-EBE5-4AC8-BD1A-(E-Mail Removed)...
> > While creating an Outlook application object on Vista I cannot communicate
> > with Outlook if the integrity levels of my app and Outlook are not the
> > same.
> > Say my app is running at "high" integrity and outlook is running in
> > "normal"
> > integrity level, the app doesn't work. Only when both apps are running at
> > the
> > same level it will work.
> >
> > Anyone got a solution for this? Only thing I can think of is too always
> > launch outlook as an administrator. But that is a bit of a hackish
> > solution.

>

 
Reply With Quote
 
Roady [MVP]
Guest
Posts: n/a
 
      14th Jul 2008
Check with the developers in the newsgroup I pointed out.

--
Robert Sparnaaij [MVP-Outlook]
Coauthor, Configuring Microsoft Outlook 2003
http://www.howto-outlook.com/
Outlook FAQ, HowTo, Downloads, Add-Ins and more

http://www.msoutlook.info/
Real World Questions, Real World Answers

-----

"Yuri Nijsen" <(E-Mail Removed)> wrote in message
news:EC548FB1-300B-4821-AC43-(E-Mail Removed)...
> Yes, with integrity I mean the UAC levels an app can run under. Since
> users
> can decide to run an app as an administrator it is a valid situation that
> our
> app runs at a higher level then outlook.
>
> I did find someone else who talks about this problem, but has no solution.
> http://weblogs.asp.net/whaggard/arch...-on-vista.aspx
>
> Kind Regards,
> Yuri Nijsen
>
>
> "Roady [MVP]" wrote:
>
>> What do you mean with "integrity"?
>> You mean your application only works under an administrator context? Why
>> do
>> you need that? What does your application do?
>>
>> Note that there is a developers newsgroup down the hall;
>> outlook.program_vba
>>
>> --
>> Robert Sparnaaij [MVP-Outlook]
>> Coauthor, Configuring Microsoft Outlook 2003
>> http://www.howto-outlook.com/
>> Outlook FAQ, HowTo, Downloads, Add-Ins and more
>>
>> http://www.msoutlook.info/
>> Real World Questions, Real World Answers
>>
>> -----
>>
>> "Yuri Nijsen" <Yuri (E-Mail Removed)> wrote in message
>> news:E03AF0C3-EBE5-4AC8-BD1A-(E-Mail Removed)...
>> > While creating an Outlook application object on Vista I cannot
>> > communicate
>> > with Outlook if the integrity levels of my app and Outlook are not the
>> > same.
>> > Say my app is running at "high" integrity and outlook is running in
>> > "normal"
>> > integrity level, the app doesn't work. Only when both apps are running
>> > at
>> > the
>> > same level it will work.
>> >
>> > Anyone got a solution for this? Only thing I can think of is too always
>> > launch outlook as an administrator. But that is a bit of a hackish
>> > solution.

>>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating an Outlook application object on Vista (UAC) Yuri Nijsen Microsoft Outlook VBA Programming 0 14th Jul 2008 12:55 PM
Problem with ActiveX creating object on IE 7 in Vista SteveWSR Windows Vista General Discussion 2 28th Jan 2008 04:47 AM
Error while creating Outlook-Application-Object on OL2003/Vista? =?Utf-8?B?d3VzY2hiYQ==?= Microsoft Outlook VBA Programming 8 29th Aug 2007 02:54 PM
creating Excel Application Object in C#? =?Utf-8?B?U2l4U2lnbWFHdXk=?= Microsoft Excel Programming 2 10th Jul 2006 09:55 PM
Creating an object that has the entire application scope. =?Utf-8?B?dnZlbms=?= Microsoft VB .NET 2 26th Oct 2004 11:29 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:22 AM.