pulpfiction
Members-
Posts
1,210 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by pulpfiction
-
Well I use VS 2003, reference for outlook was available in the add reference--> COM--> MS Outlook 9.0But i guess this is the dllMicrosoft.Office.Interop.Outlook.dll
-
Hi guys, This is really a great forum.. Well this is about meFull name: HarishAlternative name(s): N\aBirth date(dd/mm/yyyy):13/06/1983Gender: MaleZodiacal sign: GeminiCountry of residance: US (been here for 1 yr) From IndiaState of residance:OklahomaHeight:5' 10''Weight:160 lbsEyes:BlackHair:BlackSmoking/Drinking/Drugs:No/No/NoFavourite Music:Rock, hip hopFavourite Movies:Saw, Pulpfiction, Forrest Gump.......Interest:Basket Ball, Pets: None
-
This is the full page code, i am testing this in a seperate page.Dim oApp As Outlook.Application = New Outlook.ApplicationClass Dim oname As Outlook.NameSpace = oApp.GetNamespace("MAPI") Dim ofolder As Outlook.MAPIFolder Dim cntfld As Outlook.MAPIFolder = oname.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderContacts) cntfld.Items.Sort("Email1Address") Response.Write(cntfld.Items.Item(1)) Dim t As Outlook.ContactItem t = cntfld.Items.Item(1) Response.Write(t.Email1Address)What i noticed is that when i comment the code in the red, i get the o/p somthing like this. for the line in GREENSystem.__ComObjectBut when I uncomment the RED part it is not displaying the page. Loading take a very long time, what could be wrong.......
-
Dim oApp As Outlook.Application = New Outlook.ApplicationClass Dim oname As Outlook.NameSpace = oApp.GetNamespace("MAPI") Dim ofolder As Outlook.MAPIFolder Dim cntfld As Outlook.MAPIFolder = oname.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderContacts) cntfld.Items.Sort("Email1Address") Response.Write(cntfld.Items.Item(1)) Dim t As Outlook.ContactItem t = cntfld.Items.Item(1) Response.Write(t.Email1Address)
-
This is the output i am getting with the above code, how come????Folder Name = InboxItems in the Folder = 141And i have 141 mails in my inbox.....
-
I want to access the Outlook in the local system, think can be done without any middleware. Found a reference MS Outlook 9.0 in COM. another change was, "impersonate=true". This code below works to a certain extent but i'am not able to get the mail ID's, any suggestions. Thanks Dim oApp As New Outlook.ApplicationDim oname As Outlook.NameSpace = oApp.GetNamespace("MAPI")Dim cCalendar As Outlook.MAPIFolder = oname.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderCalendar)Dim ofolder As Outlook.MAPIFolderDim cnt As Outlook.MAPIFolder = oname.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderContacts)Response.Write("Folder Name = " + cnt.Name)Response.Write("<br>")Response.Write("Items in the Folder = ")Response.Write(cnt.Items.Count.ToString)Response.Write("<br>")Response.Write("<li>" + cnt.Items.Item(1).ToString)
-
Hi Guys,I am trying to get the mail IDs from the contacts from the MS OUTLOOK. This is the code i am using now, but not working....ERROR:System.NullReferenceException: Object reference not set to an instance of an object. Dim oApp As Outlook.Application Dim oname As Outlook.NameSpace = oApp.GetNamespace("MAPI") Dim ofolder As Outlook.MAPIFolder Dim cntfld As Outlook.MAPIFolder = oname.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderContacts)oname.Logon("username", "password", True, True) Dim addr As Outlook.AddressList = oname.AddressLists.Item(0) ofolder = oname.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderContacts) Dim oMailItem As Outlook.MailItem = oApp.CreateItem(Outlook.OlItemType.olMailItem) oMailItem.To = ofolder.Items.Item(0) oMailItem.Subject = "This is a test mail" oMailItem.Body = "This is a test Mail" oMailItem.Save() oMailItem.Send() TIA
-
Hi guys,I have very little idea about Active Directory. The question is can i retrieve the users in the network (Active Directory) using ASP
-
Try this....<script language="javascript">function test1(va){var opt = va.selectedIndex;var val = va.options[opt].value;document.write(val);}</script><SELECT name="opt" style="WIDTH: 200px" onchange="test1(this)"><OPTION value="option 1">option 1</OPTION><OPTION value="option 2">option 2</OPTION><OPTION value="option 3">option 3</OPTION><OPTION value="option 4">option 4</OPTION></SELECT>
-
Hope this works....declare @s intSELECT @s=sum(R/Amt) FROM TABLE_NAMESELECT Item,B/Amt,R/Amt,@s as Total Rcvd from TABLE_NAME
-
Replace the double qoutes with single quotes in document.write. like below<script language=javascript>document.write('<img src="OJA-Logo.jpg">')</script>
-
Check this site...http://www.codeproject.com/useritems/EmailApplication.asp
-
Well, In general the URL query string is used to pass few values to another page like this..www.domain.com?id=123&name=test(the variables are after the "?")fewer data can be sent, But if you have many values to be passed, the url will be too long, (not preferred)..I guess you too have many variables.I'm Not pretty sure, I could be wrong
-
The above code must be ur info.html, so what are the things that you want to send it to the prresults.htm
-
Hi, This is what WIKIPEDIA says Check out the site belowhttp://en.wikipedia.org/wiki/ECMAScript
-
Hi, For the error in the Include files, i guess there's a # symbol missing, check out the site belowInclude Files
-
Hi,The JS function will retrive the values that you pass using the query string<html><script type="text/javascript">var qsParm = new Array();function qs() {var query = window.location.search.substring(1);var parms = query.split('&');for (var i=0; i<parms.length; i++) { var pos = parms.indexOf('='); if (pos > 0) { var key = parms.substring(0,pos); var val = parms.substring(pos+1); qsParm[key] = val; document.write(qsParm[key]) document.write("<br />") } }}</script></head><body onload="qs()"></html>HTH
-
If this is what you are looking for...http://www.alistapart.com/articles/horizdropdownsHTH
-
If the datatype of the date field in not datetime, you can use CONVERT or CAST to convert to datetime.
-
Hi try this codefunction deci(){ var decimals=2 //# of decimal digits var original_number=12345.6789 // sample data var result1 = original_number * Math.pow(10, decimals) var result2 = Math.round(result1) var result3 = result2 / Math.pow(10, decimals) document.write(result3)}HTH
-
Hi Why do you want to write in bits and pieces, write it togeather in one function,<script type="text/javascript">var mutu=50function cnt(){mutu=mutu+1if(mutu == 52){document.write("reached 52")}}</script><form><input type="button" onclick="cnt()" value="Lisää"></form>
-
I didnt read the question exactly last time, ignore that replytry the new one, I just modified the old post
-
HiThis seems to be working fine for me..function question(){var answer=prompt("Who you are?","")if (answer == "idiot"){window.location="http://www.w3schools.com"}elsewindow.location="http://www.google.com"}
-
Hey High Caliber, WOW!! the code works really grt.TY
-
Hi Guys,The datatype of the field DOB in the sql server db is VARCHAR, I want to convert it to Date. Is this command correct.CONVERT(varchar, DOB, 103) TIA