User Profile

Collapse

Profile Sidebar

Collapse
netLynx
netLynx
Last Activity: Jun 10 '13, 07:10 PM
Joined: Aug 21 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • PartsCount = 6, but Parts array is Parts(7). Where does 7 come from?

    I guess my issue is, I'm not exactly sure what this line of code is doing:
    Code:
    parts(System.Math.Max(System.Threading.Interlocked.Increment(partCount), partCount - 1)) = Int32.Parse(buf)
    If I step thru in debug mode, ipData has the following in it:
    158,57,168,75,2 2,221 (len=20)
    PartsCount starts at 0 and crashes when...
    See more | Go to post

    Leave a comment:


  • issue when using code to FTP file to another server.

    I am using the following code to FTP a file from one server to another:

    Code:
    Private Function createDataSocket() As Socket
    sendCommand("PASV")
    If retValue <> 227 Then
    Throw New IOException(reply.Substring(4))
    End If
    Dim index1 As Integer = reply.IndexOf("("c)
    Dim index2 As Integer = reply.IndexOf(")"c)
    Dim ipData As String = reply.Substring(index1
    ...
    See more | Go to post

  • Using VB.NET and MAPI to retrieve Exchange EMail Attachments

    Hi,
    I am rewriting code from VB6 using MAPI into VB.NET

    I need to read an attachment off an email on an Exchange Server.
    In the old VB6 (not written by me) they restrict the Messages.type to "IPM.NOTE" on the Inbox and then retrieve any attachments.

    If I do the same in VB.NET, any email I receive that has an attachment is not picked up if I restrict for "IPM.NOTE".

    ...
    See more | Go to post
No activity results to display
Show More
Working...