Click here to Skip to main content
15,919,245 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHow to disable TabPage of TabControl Pin
Sumit Prakash Sharma9-Apr-09 23:11
professionalSumit Prakash Sharma9-Apr-09 23:11 
AnswerRe: How to disable TabPage of TabControl Pin
Nilesh Hapse10-Apr-09 1:47
Nilesh Hapse10-Apr-09 1:47 
GeneralRe: How to disable TabPage of TabControl Pin
Sumit Prakash Sharma10-Apr-09 22:53
professionalSumit Prakash Sharma10-Apr-09 22:53 
AnswerRe: How to disable TabPage of TabControl Pin
Eddy Vluggen10-Apr-09 1:50
professionalEddy Vluggen10-Apr-09 1:50 
GeneralRe: How to disable TabPage of TabControl Pin
Sumit Prakash Sharma10-Apr-09 22:48
professionalSumit Prakash Sharma10-Apr-09 22:48 
GeneralRe: How to disable TabPage of TabControl Pin
Eddy Vluggen10-Apr-09 23:27
professionalEddy Vluggen10-Apr-09 23:27 
GeneralRe: How to disable TabPage of TabControl Pin
Sumit Prakash Sharma11-Apr-09 2:36
professionalSumit Prakash Sharma11-Apr-09 2:36 
Questionerror in the function parse mail Pin
kaustubh879-Apr-09 22:40
kaustubh879-Apr-09 22:40 
we are working on the project controlling pc thru mobile ..
we are getting an error in the function parse mail as"invalid procedure call or argument"pls tell us how to rectify tat error...thanx in advance..
the code is as follows...

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
'
''
'Returns String - Command parsed from the mail
'

'
'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




waiting for your earliest reply..
pls help us with tat error..
AnswerRe: error in the function parse mail Pin
Dave Kreskowiak10-Apr-09 2:51
mveDave Kreskowiak10-Apr-09 2:51 
Questiondifference between textbox.text = "" and textbox.clear Pin
nishkarsh_k9-Apr-09 22:18
nishkarsh_k9-Apr-09 22:18 
AnswerRe: difference between textbox.text = "" and textbox.clear Pin
Sumit Prakash Sharma9-Apr-09 22:53
professionalSumit Prakash Sharma9-Apr-09 22:53 
AnswerRe: difference between textbox.text = "" and textbox.clear Pin
Eddy Vluggen10-Apr-09 1:55
professionalEddy Vluggen10-Apr-09 1:55 
QuestionNeed help in reading RSS feed and storing Pin
Surej709-Apr-09 20:25
Surej709-Apr-09 20:25 
AnswerRe: Need help in reading RSS feed and storing Pin
Dave Kreskowiak10-Apr-09 2:48
mveDave Kreskowiak10-Apr-09 2:48 
GeneralRe: Need help in reading RSS feed and storing Pin
Surej7010-Apr-09 8:48
Surej7010-Apr-09 8:48 
AnswerRe: Need help in reading RSS feed and storing Pin
Surej7011-Apr-09 9:10
Surej7011-Apr-09 9:10 
QuestionPostedFile Is Nothing on DataGrid File Upload Pin
dstrube9-Apr-09 11:27
dstrube9-Apr-09 11:27 
AnswerRe: PostedFile Is Nothing on DataGrid File Upload Pin
Dave Kreskowiak10-Apr-09 2:47
mveDave Kreskowiak10-Apr-09 2:47 
Questionapplication/website required Pin
sahil sherwani9-Apr-09 11:14
sahil sherwani9-Apr-09 11:14 
AnswerRe: application/website required Pin
Mycroft Holmes9-Apr-09 22:31
professionalMycroft Holmes9-Apr-09 22:31 
QuestionNeed Help with Shuffle of a deck Pin
ymilan9-Apr-09 10:44
ymilan9-Apr-09 10:44 
AnswerRe: Need Help with Shuffle of a deck Pin
Dalek Dave9-Apr-09 12:28
professionalDalek Dave9-Apr-09 12:28 
GeneralRe: Need Help with Shuffle of a deck Pin
ymilan10-Apr-09 5:02
ymilan10-Apr-09 5:02 
AnswerRe: Need Help with Shuffle of a deck Pin
Dave Kreskowiak10-Apr-09 2:40
mveDave Kreskowiak10-Apr-09 2:40 
GeneralRe: Need Help with Shuffle of a deck Pin
ymilan10-Apr-09 4:59
ymilan10-Apr-09 4:59 

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.