->Take it as a joke. I have not seen those vb codes for ages not that
I miss them.
->I was being psychotic dude. If I offended you, pardon me. :|
That's OK, It's just that I have had a few emails along this line that
were not jokes. Sorry for jumping on you.
Steve.
->In article <833403083.2488...@dden.demon.co.uk>,
St...@dden.demon.co.uk says...
->>
Quote
->>Frank Han <hfr...@ix.netcom.com> wrote:
->>
Quote
->>->Steve Thompson wrote:
->>->>
->>->> I am trying to convert the following code, Can anyone help me
in
->>doing
->>->> this?
->>->>
->>->> This is for microsofts icp, particulary the NNTP component.
->>->>
->>->> Thanks,
->>->>
->>->> Steve.
->>->>
->>->> [Code follows]
->>->>
->>->> Private Sub NNTP_DocOutput(ByVal DocOutput As DocOutput)
->>->> Dim Data As String
->>->> Dim Hdr As Object
->>->>
->>->> Select Case DocOutput.State
->>->> Case icDocBegin
->>->> txtOutput.Text = ""
->>->> Case icDocHeaders
->>->> For Each Hdr In DocOutput.Headers
->>->> Select Case LCase(Hdr.Name)
->>->> Case "subject"
->>->> txtSubject.Text = Hdr.Value
->>->> Case "from"
->>->> txtName.Text = Hdr.Value
->>->> txtEmailAddress.Text = Hdr.Value
->>->> Case "newsgroups"
->>->> txtGroup.Text = Hdr.Value
->>->> Case Else
->>->> End Select
->>->> Next
->>->> Case icDocData
->>->> DocOutput.GetData Data
->>->>
->>->> Select Case TRANSACTION
->>->> Case transLISTGROUPS
->>->> txtOutput.Text = txtOutput.Text & Data
->>->> Case transGETMESSAGE
->>->> txtOutput.Text = txtOutput.Text & Data
->>->> Case transGETARTICLEHEADERS
->>->> txtOutput.Text = txtOutput.Text & Data
->>->> Case Else
->>->> End Select
->>->> Case icDocEnd
->>->> Case icDocError
->>->> Case icDocNone
->>->> End Select
->>->>
->>->> End Sub
->>
->>->Geeeeee man. I almost chocked myself. I thought the nightmare of
VB
->>was
->>->comming back. Please post delphi related msg in this news group.
->>
->>
->>->Phweeeeee....... Thank god. it was just a miss post.
->>
->>->From a poor man just recovering from C and VB. :)
->>
->>
->>Excuse me, but I was arsking for help in converting this VB code TO
->>DELPHI. Is this really off topic ?
->>
->>
->>Steve.
->>
->>