Click here to Skip to main content
15,925,602 members
Home / Discussions / Work Issues
   

Work Issues

 
GeneralRe: Specs Pin
Sk8tz13-May-07 20:00
professionalSk8tz13-May-07 20:00 
GeneralRe: Specs Pin
Colin Angus Mackay13-May-07 21:07
Colin Angus Mackay13-May-07 21:07 
QuestionGetting MS certification Pin
Blumen2-May-07 1:02
Blumen2-May-07 1:02 
AnswerRe: Getting MS certification Pin
Steve Maier3-May-07 7:04
professionalSteve Maier3-May-07 7:04 
GeneralRe: Getting MS certification Pin
Blumen3-May-07 22:53
Blumen3-May-07 22:53 
GeneralRe: Getting MS certification Pin
Francois Benadie8-May-07 13:11
Francois Benadie8-May-07 13:11 
GeneralRe: Getting MS certification Pin
Blumen9-May-07 1:55
Blumen9-May-07 1:55 
GeneralRe: Getting MS certification Pin
brianwelsch22-May-07 9:31
brianwelsch22-May-07 9:31 
GeneralRe: Getting MS certification Pin
code_wiz13-May-07 2:49
code_wiz13-May-07 2:49 
GeneralRe: Getting MS certification Pin
Steve Maier13-May-07 15:19
professionalSteve Maier13-May-07 15:19 
GeneralRe: Getting MS certification Pin
code_wiz14-May-07 8:37
code_wiz14-May-07 8:37 
GeneralRe: Getting MS certification Pin
Steve Maier14-May-07 13:57
professionalSteve Maier14-May-07 13:57 
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 

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.