Click here to Skip to main content
15,908,634 members
Home / Discussions / Work Issues
   

Work Issues

 
AnswerRe: Getting MS certification Pin
Vasudevan Deepak Kumar2-Jul-07 21:56
Vasudevan Deepak Kumar2-Jul-07 21:56 
QuestionSharepoint Workflow problem Pin
NagendraGunaga26-Apr-07 3:38
NagendraGunaga26-Apr-07 3:38 
QuestionASP.NET 2.0 QFE KB913393 Pin
nadinekamal24-Apr-07 20:29
nadinekamal24-Apr-07 20:29 
AnswerRe: ASP.NET 2.0 QFE KB913393 [modified] Pin
Dave Kreskowiak1-May-07 9:13
mveDave Kreskowiak1-May-07 9:13 
QuestionDatabase Jobs Pin
Bulky Fellow22-Apr-07 23:44
Bulky Fellow22-Apr-07 23:44 
AnswerRe: Database Jobs Pin
Bulky Fellow26-Apr-07 21:29
Bulky Fellow26-Apr-07 21:29 
AnswerRe: Database Jobs Pin
Colin Angus Mackay26-Apr-07 23:03
Colin Angus Mackay26-Apr-07 23:03 
QuestionNeed ur help with VB Pin
jayu_s_a19-Apr-07 6:17
jayu_s_a19-Apr-07 6:17 
Foll is my code:

Private Function ParseMail() As String
On Error GoTo ErrTrap
'
'Parameters
'
'Purpose This procedure will check and let us know what action to be
' taken aginst the command sent from mobile
'
'Comments
'
'Returns String - Command parsed from the mail
'
'Change History
'Date Edit Author Comment
'-----------+-------+-------+---------------------------------------------
'27-Jan-07 [100] Jay Created
'29-Jan-07 [101] Jay Added parameter values parsing facility
'-----------+-------+-------+---------------------------------------------
'
'Set up our variables
Dim oApp As Outlook.Application 'Create an object for outlook application
Dim oNpc As NameSpace 'Name space to drildown message folder
Dim oMails As MailItem 'To find our mail
Dim sCommand As String
Dim iMsgCount As Integer
Dim sMsgHead As String
'Lets apply values to our variables
Set oApp = CreateObject("Outlook.Application")
Set oNpc = oApp.GetNamespace("MAPI")
iMsgCount = 0
'Lets iterate through an easy For Each loop
For Each oMails In oNpc.GetDefaultFolder(olFolderInbox).Items
If oMails.UnRead Then
sParam = ""
'Change the Subject comparition string based on your service provider message
If UCase(oMails.Subject) = UCase(Trim(txtSubject.Text)) Then
sCommand = Mid(oMails.Body, 1, InStr(1, oMails.Body, Chr(13)) - 1)
If InStr(1, sCommand, "~") <> 0 Then
ParseMail = Mid(sCommand, 1, InStr(1, sCommand, "~") - 1)
sParam = Mid(sCommand, InStr(1, sCommand, "~") + 1)
Else
ParseMail = sCommand
End If
oMails.UnRead = False
End If
' If Send Unread mail Header is checked then send info to mobile
If chkUnReadMail.Value = 1 Then
If UCase(oMails.Subject) <> UCase(Trim(txtSubject.Text)) Then
If InStr(1, sAlertedMails, Trim(oMails.EntryID)) = 0 Then
sAlertedMails = sAlertedMails & Trim(oMails.EntryID) & ","
sMsgHead = "From: " & oMails.SenderName & vbCrLf
sMsgHead = sMsgHead & "Sub: " & oMails.Subject & vbCrLf
sMsgHead = sMsgHead & "DT: " & oMails.SentOn & vbCrLf
sMsgHead = sMsgHead & "MSGID: " & oMails.EntryID & "~"
SendSMS sMsgHead
End If
End If
End If
End If
Next oMails
Exit Function
ErrTrap:
txtLog = txtLog & "Error In ParseMail(): "
txtLog = txtLog & Err.Description & vbCrLf
End Function

I m having a compile error :"Object required"and also "Invalid Parameter call or argument". I think this may be due to the line "sCommand = Mid(oMails.Body, 1, InStr(1, oMails.Body, Chr(13)) - 1)". Plz help.
AnswerRe: Need ur help with VB Pin
Christian Graus19-Apr-07 12:52
protectorChristian Graus19-Apr-07 12:52 
QuestionWebsite Deployment Pin
umaheshchandra19-Apr-07 0:03
umaheshchandra19-Apr-07 0:03 
AnswerRe: Website Deployment Pin
sidbaruah25-Jun-07 22:51
sidbaruah25-Jun-07 22:51 
QuestionHai plz share Interview in dotnet 2+ Exp + IBM Pin
sundeeppatil10-Apr-07 11:04
sundeeppatil10-Apr-07 11:04 
AnswerRe: Hai plz share Interview in dotnet 2+ Exp + IBM Pin
Colin Angus Mackay12-May-07 0:07
Colin Angus Mackay12-May-07 0:07 
GeneralRe: Hai plz share Interview in dotnet 2+ Exp + IBM Pin
Paul Conrad14-May-07 9:52
professionalPaul Conrad14-May-07 9:52 
AnswerRe: Hai plz share Interview in dotnet 2+ Exp + IBM Pin
Vasudevan Deepak Kumar2-Jul-07 21:57
Vasudevan Deepak Kumar2-Jul-07 21:57 
QuestionTraining Advice Pin
MikeMarq1-Apr-07 18:58
MikeMarq1-Apr-07 18:58 
AnswerRe: Training Advice Pin
Steve Maier5-Apr-07 5:57
professionalSteve Maier5-Apr-07 5:57 
GeneralRe: Training Advice Pin
BMP19805-Apr-07 8:44
BMP19805-Apr-07 8:44 
GeneralRe: Training Advice Pin
Steve Maier5-Apr-07 9:11
professionalSteve Maier5-Apr-07 9:11 
AnswerRe: Training Advice Pin
Dan Neely5-Apr-07 9:28
Dan Neely5-Apr-07 9:28 
QuestionCertification in C++ Pin
Andy Rama23-Mar-07 21:19
Andy Rama23-Mar-07 21:19 
AnswerRe: Certification in C++ Pin
Michael Dunn25-Mar-07 9:07
sitebuilderMichael Dunn25-Mar-07 9:07 
AnswerExperience vs Certification Pin
BMP198030-Mar-07 8:26
BMP198030-Mar-07 8:26 
GeneralRe: Experience vs Certification Pin
Vasudevan Deepak Kumar1-Apr-07 5:29
Vasudevan Deepak Kumar1-Apr-07 5:29 
GeneralRe: Experience vs Certification Pin
BMP19801-Apr-07 6:36
BMP19801-Apr-07 6:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.