| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| In my application use MAPI32 functions to send mail. On windows Vista if I run the application normally works, if I start the program as administrator the mail is not sent. Any idea? Thanks Danilo |
|
#2
| |||
| |||
| Danilo, Does the admin account have a valid mail-client installed ? John Danilo Giuliani schreef: > In my application use MAPI32 functions to send mail. > On windows Vista if I run the application normally works, if I start the > program as administrator the mail is not sent. > Any idea? > > Thanks > > Danilo |
|
#3
| |||
| |||
| Danilo, If I recon well, different users have access to different identities sets Massimo Bighelli "Danilo Giuliani" <softdevo@tiscali.it> ha scritto nel messaggio news:48c22d3a$0$11367$5fc30a8@news.tiscali.it... > In my application use MAPI32 functions to send mail. > On windows Vista if I run the application normally works, if I start the > program as administrator the mail is not sent. > Any idea? > > Thanks > > Danilo |
|
#4
| |||
| |||
| > If I recon well, different users have access to different identities sets > Yes but on the PC I have only one User "Danilo" that is the Administrator. Si ma sul PC ho un solo utente Danilo che č l'amministratore. Danilo > > > > "Danilo Giuliani" <softdevo@tiscali.it> ha scritto nel messaggio > news:48c22d3a$0$11367$5fc30a8@news.tiscali.it... >> In my application use MAPI32 functions to send mail. >> On windows Vista if I run the application normally works, if I start the >> program as administrator the mail is not sent. >> Any idea? >> >> Thanks >> >> Danilo > |
|
#5
| |||
| |||
| Danilo, I would try 'Run as administrator'. Ander Vista programs do not inherit logged user rights. If running 'as administrator' works, then you can change the manifest (if you supply one) to elevate your application to administrative level. I never done this in VO, I do it for some of my .NET applications. Michael "Danilo Giuliani" <softdevo@tiscali.it> wrote in message news:48c29a33$0$11368$5fc30a8@news.tiscali.it... > >> If I recon well, different users have access to different identities sets >> > > Yes but on the PC I have only one User "Danilo" that is the Administrator. > > Si ma sul PC ho un solo utente Danilo che č l'amministratore. > > Danilo > >> >> >> >> "Danilo Giuliani" <softdevo@tiscali.it> ha scritto nel messaggio >> news:48c22d3a$0$11367$5fc30a8@news.tiscali.it... >>> In my application use MAPI32 functions to send mail. >>> On windows Vista if I run the application normally works, if I start the >>> program as administrator the mail is not sent. >>> Any idea? >>> >>> Thanks >>> >>> Danilo >> > |
|
#6
| |||
| |||
| "Michael Rubinstein" <mSPAM_REMOVE@mŽubinstein.com> ha scritto nel messaggio news:6ifob1FqhgscU1@mid.individual.net... > Danilo, I would try 'Run as administrator'. Ander Vista programs do not > inherit logged user rights. If running 'as administrator' works, then you > can change the manifest (if you supply one) to elevate your application to > administrative level. I never done this in VO, I do it for some of my .NET > applications. > > Michael > At a point in my application I have to synchronize the time the internal clock, and therefore my application must have administrator rights. In. Net as you do it ? (to elevate your application to administrative level) Thanks Danilo |
|
#7
| |||
| |||
| Danilo. This is not correct. In Vista and XP you simply set the settings to the correct time server (either your domain controller or for a stand alone PC, the ISP's time server) and it happens for you. You certainly should not be doing this from your application. It is a Windows level thing and must be independent from applications. Look up Net Time in google. Geoff > > At a point in my application I have to synchronize the time the internal > clock, and therefore my application must have administrator rights. > > In. Net as you do it ? (to elevate your application to administrative level) > > Thanks > > Danilo |
|
#8
| |||
| |||
| Not always, Geoff. I have an app that syncs data between different servers, and it also syncs the system times. This is necessary because the time servers are not accurate enough. -- Ginny Caughey www.wasteworks.com "Geoff Schaller" <geoffx@softxwareobjectives.com.au> wrote in message news:48c37c1f$1@dnews.tpgi.com.au... > Danilo. > > This is not correct. In Vista and XP you simply set the settings to the > correct time server (either your domain controller or for a stand alone > PC, the ISP's time server) and it happens for you. > > You certainly should not be doing this from your application. It is a > Windows level thing and must be independent from applications. Look up Net > Time in google. > > Geoff > > >> >> At a point in my application I have to synchronize the time the internal >> clock, and therefore my application must have administrator rights. >> >> In. Net as you do it ? (to elevate your application to administrative >> level) >> >> Thanks >> >> Danilo > |
|
#9
| |||
| |||
| But this is difficult.... certainly in a domain scenario. In essence it should be the domain that is sync'd and then workstations with the DC. Once you go EBS and SBS you risk significant problems if you time sync in any other way. But ok, if this is a totally standalone system then I guess there is something in the original requirement but I wonder about your statement about time servers. Mostly we should choose 7 or 8 servers to use on our DC and set the comparator ranges appropriately. I don't see how they could become inaccurate. Geoff "Ginny Caughey" <ginny.caughey.online@wasteworks.com> wrote in message news:48c3c0ef$0$3376$c3e8da3@news.astraweb.com: > Not always, Geoff. I have an app that syncs data between different servers, > and it also syncs the system times. This is necessary because the time > servers are not accurate enough. > > -- > > Ginny Caughey > www.wasteworks.com > > > > "Geoff Schaller" <geoffx@softxwareobjectives.com.au> wrote in message > news:48c37c1f$1@dnews.tpgi.com.au... > > > Danilo. > > > > This is not correct. In Vista and XP you simply set the settings to the > > correct time server (either your domain controller or for a stand alone > > PC, the ISP's time server) and it happens for you. > > > > You certainly should not be doing this from your application. It is a > > Windows level thing and must be independent from applications. Look up Net > > Time in google. > > > > Geoff > > > > > > >> > >> At a point in my application I have to synchronize the time the internal > >> clock, and therefore my application must have administrator rights. > >> > >> In. Net as you do it ? (to elevate your application to administrative > >> level) > >> > >> Thanks > >> > >> Danilo > > > |
|
#10
| |||
| |||
| Geoff, Just because you can't see how the servers could become inaccurate doesn't mean it doesn't happen in practice. -- Ginny Caughey www.wasteworks.com "Geoff Schaller" <geoffx@softxwareobjectives.com.au> wrote in message news:48c3c2cd@dnews.tpgi.com.au... > But this is difficult.... certainly in a domain scenario. In essence it > should be the domain that is sync'd and then workstations with the DC. > Once you go EBS and SBS you risk significant problems if you time sync in > any other way. > > But ok, if this is a totally standalone system then I guess there is > something in the original requirement but I wonder about your statement > about time servers. Mostly we should choose 7 or 8 servers to use on our > DC and set the comparator ranges appropriately. I don't see how they could > become inaccurate. > > Geoff > > > "Ginny Caughey" <ginny.caughey.online@wasteworks.com> wrote in message > news:48c3c0ef$0$3376$c3e8da3@news.astraweb.com: > >> Not always, Geoff. I have an app that syncs data between different >> servers, >> and it also syncs the system times. This is necessary because the time >> servers are not accurate enough. >> >> -- >> >> Ginny Caughey >> www.wasteworks.com >> >> >> >> "Geoff Schaller" <geoffx@softxwareobjectives.com.au> wrote in message >> news:48c37c1f$1@dnews.tpgi.com.au... >> >> > Danilo. >> > >> > This is not correct. In Vista and XP you simply set the settings to the >> > correct time server (either your domain controller or for a stand alone >> > PC, the ISP's time server) and it happens for you. >> > >> > You certainly should not be doing this from your application. It is a >> > Windows level thing and must be independent from applications. Look up >> > Net >> > Time in google. >> > >> > Geoff >> > >> > >> >> >> >> >> At a point in my application I have to synchronize the time the >> >> internal >> >> clock, and therefore my application must have administrator rights. >> >> >> >> In. Net as you do it ? (to elevate your application to administrative >> >> level) >> >> >> >> Thanks >> >> >> >> Danilo >> >> > > |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.