 |
|
 |
HI! thanks for the help. 
is there any way to create a recurrencing appointment with LUNAR Calendar date?
i mean by OutLook addin or c#, or other programs...
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
<b>this is very nice code, but only limited to IE it is not working in MOZAILA & SAFARI & CHORME....
because... ActiveX only support by IE
Any Idea How we can run this code in SAFARI & CHROME??</b>
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hi Amit,
I have not tried the same for other browsers as of now. I will update you in case i find the alternatives.
Thanks.
|
| Sign In·View Thread·PermaLink | 5.00/5 |
|
|
|
 |
|
|
 |
|
|
 |
|
 |
Hi,
You can find code similar to what you are asking as one of my answers to previously asked questions below.
Thanks.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
hi Sandeep Mewara,
I try this code in my local machine and made changes in security option of internet as shown, but it will not work. I am using IE6 for browsing,.Net 2005 for building web application,Outlook 2007 calendar for creating and deleleting appointments from web application.
Other thing , this code set appointment for current date only. but in my application,I wanted to set an appointment from startdate to enddata(may be 2 days, 3days,15 days,...), then what changes we have to made in this code.
modified on Friday, April 24, 2009 2:27 AM
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hi,
It works for me in the same environment. Please check if all the settings are properly done.
For adding appointments for other than today, make changes in the javascript code where we set date. You can adjust the dates as per your will.
- Sandeep
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hi This code works well and good in IE7. But its not working in IE6. Please suggest me if any other modifications are to be done in order to make it work in IE6 and Mozilla.
Thanks in advance
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
It's quite strange for me. When i developed the same, i used to use IE6 only. It used to work perfectly fine.
I will recheck with latest version of IE6.
- Sandeep
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
 |
|
 |
Hi Sandeep, this is just what Im looking for and I downloaded the source file. But when I try to open the project in VS2008 it fails and cannot load. Am I doing something wrong or is something missing from the project?
Cheers
bsidey
|
| Sign In·View Thread·PermaLink | 2.00/5 |
|
|
|
 |
|
 |
Hey hi!
Nothing is wrong with the project file. It was made in VS2005. When you are trying to open it in VS2008, hope its asking for a conversion. Once it is successfully converted, it should work fine.
Do tell me if you face any issue.
Thanks, Sandeep.
|
| Sign In·View Thread·PermaLink | 2.00/5 |
|
|
|
 |
|
 |
Hi
The article provided is very helpful and excellent. But the outlook gets updated only the client machine. Now i got a requirement where i need to find the outlook of someother person through the emailid and the update the outlook. It would be greatly helpful to me if anyone can provide me the solution
Thanks in advance Naina
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
First Thanks Naina.
This particular sample that i had shown above was for the scenario where everyone can import/export appointments from their respective system outlook calendar.
Now, as per the requirement you had said, first thing that comes to mind is a security issue. secondly thing, if you have permissions configured - it should be an exchange server, then only we can think of adding appointments for other (like shared calendars and access to them) third thing, if you need something like what you said, do you need that in a Web Application? Seems like some admin needs to update everyones calendar or something - can be a desktop application!
Do clarify.
Thanks, Sandeep.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hi Sandeep
Sorry for my late reply. The above javascript code is working perfectly in my system. what you have told is exactly right. The admin wants to update every ones outlook calender. I have did this in a different way by sending a mail to everyone which have an attachment as vcal
before sending mail i have made remainderset to "false". but still in the attachment i could see the remainder set to true.
Hope am clear with what i meant to tell.
Thanks Usha 
|
| Sign In·View Thread·PermaLink | 1.00/5 |
|
|
|
 |
|
 |
Ok.
You were not very clear, seems like you had some other problem (in the way you used to do the current requirement) which you said in your reply.
What i wanted to say was, since it is an admin update - it would had been better for you to provide a desktop application doing this for you. (Instead of Web App!)
Still if you need to do it though web, do tell, i will try to help you with the code that can send appointments to others calendar (assuming all security permissions are taken care) via Javascript for Web Applications.
Btw...yourself Naina or Usha! 
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hi sandeep
We want to handle it through the web application only.
And one more thing , can we delete a particular appointment from outlook.
i did this(deleting), by getting the outlook items and in for loop i checked the appointment to be deleted and then deleted. But for each appointment its accessing the outlook and before accessing the outlook its asking a security question whether to allow to access the outlook or not. For example if there are 10 appointments , then am getting security question 10 times where i need to click "ok" 10 times which is not at all advisable. so is there any way to avoid this?
I am also sending a mail to the receipnt from outlook by using forwardasvcal(). so a mail goes to the person with the appointment as attachment. before sending the mail i have set the remainder as false. but when i open the attachment the remainder is checked......i am unable to avoid checking the remainder through the application....
Lots of doubts, but should any how finish it.
hope am clear now?
Thanks Naina 
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Ok. Naina. 
About accessing calendars of different people and setting an appointment, try the following JS in your web application:
function SetAppointmentsInOthersCalendar() { // name or email address of person whose Calendar you want to use var strName = "sandeep.mewara@xyz.com" ; var objolApp = new ActiveXObject( "Outlook.Application" ); var objNS = objolApp.GetNamespace("MAPI"); try { objRecip = objNS.CreateRecipient(strName); objRecip.Resolve(); if(objRecip.Resolved) { var olFolderCalendar = 9; var objFolder = objNS.GetSharedDefaultFolder(objRecip, olFolderCalendar); var olAppointmentItem = 1; var objAppt = objFolder.Items.Add(olAppointmentItem); var olMeeting = 1; objAppt.Start = OutlookCompatibleDate("12/21/2008"); objAppt.Duration = 30 ; objAppt.Subject = "Weekly Feature Team Meeting"; objAppt.Body = "Project Status & Updates!"; objAppt.Location = "1st Floor Conference Room"; objAppt.ReminderSet = false; objAppt.ReminderMinutesBeforeStart = 5; objAppt.AllDayEvent = false; objAppt.MeetingStatus = olMeeting;
//Add required attendees var objRecipts = objAppt.Recipients ; var olRequired = 1; objRecip = objRecipts.Add("sandeep.mewara@xyz.com"); objRecip.Type = olRequired; objRecipts.ResolveAll(); objAppt.Save(); objAppt.Send(); } } catch (ex) { alert("Error!"); } }
About the prompts, those are the security parts of Outlook, which i really doubt can be suppressed and neither should we try.
Hope this solves the issue that you are facing.
Thanks, Sandeep.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
how do you get values other than 1,2,3 (or any other number) in the export from? i tried using (i) but it doesn't work.
eg var search = new Array(); for(i=0;i < myOutlookItems.Count;i++) { search[i] = myOutlookItems(i); }
also tried search[i]= myOutlookItems.(i).Subject; search[i]= myOutlookItems.items(i).Subject; and search[i]= myOutlookItems.items(i);
Even tried substituting items with outlookFolder
keep getting array index out of range.
ahhh never mind just realized (i) starts at 1 not 0!!!! knew i would get it before too long.
modified on Friday, September 5, 2008 6:02 AM
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Yep! you got it right.
I didn't received any mail that a question was posted or would had saved some time of yours. 
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
I am using asp.net 2002. I set the property in internet explorer as you described and I have Outlook 2003 installed on the client machine. I keep getting the "Outlook needs to be installed on the machine for data to export.". What else could be causing this or How can I debug it?
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
1 reason is that you don't have initialize and script active x controls not marked as safe set to prompt or enabled.
|
| Sign In·View Thread·PermaLink | 1.50/5 |
|
|
|
 |