User Profile

Collapse

Profile Sidebar

Collapse
KRITGuy
KRITGuy
Last Activity: Oct 3 '23, 03:18 PM
Joined: Jul 10 '23
Location: Idanha a Nova, Portugal
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • KRITGuy
    replied to Receive POP3 e-mails as .eml file
    in .NET
    This works fine to suck emails from your POP3 Account and export them as .eml files to C:\Windows\Temp

    It's a Winsock solution.

    I found it online, have used it and it works just fine. HOWEVER, I am looking for a simple VB6 example (in full) to convert the eml file attachments to files and export them too. So far, I have searched for about 14 hours solid. :-)

    I prefer vb6, but would accept a simple vb.net...
    See more | Go to post

    Leave a comment:


  • The use of backslash variables is not bad, rather than the HTML "<BR>" of course.

    The reason I went with the "Replace" function is that this was raised as a VB6 Question :-)

    This suggests that the question was intended to achieve a programmatic response in VB6.

    But yes, I do prefer your backslash variables :-)

    Cheers,
    Kevin
    See more | Go to post

    Leave a comment:


  • Though this may be better

    A$ = "Hello " & vbCrLf
    A$ = A$ & "World" & vbCrLf

    A$ = Replace(A$, vbCr "")
    A$ = Replace(A$, vbLf, "<BR>")

    (Just in case)

    :-)
    See more | Go to post

    Leave a comment:


  • Open in Binary mode. Read the entire file into A$

    A$ = Replace(A$, vbCrLf, "<BR>")

    That would likely resolve it for you.

    Play with this simple snippet :-)

    A$ = "Hello " & vbCrLf
    A$ = A$ & "World" & vbCrLf

    A$ = Replace(A$, vbCrLf, "<BR>")

    Cheers,
    Kevin
    See more | Go to post

    Leave a comment:


  • KRITGuy
    replied to SSIS and HEX conversion.
    I use this in my Classic ASP. Oftentimes I transfer Notes from a Memo Field in a VB App to an Access Database on a simple IIS HTTP Server.

    So that sort of data is expanded to 7-bit and hexed.

    In the ASP Page it's converted with my HexToASCII function:

    Cheers,
    Kevin

    <%
    FUNCTION HexToASCII (Param)
    HexToAscii = Param
    Command = ""
    ...
    See more | Go to post

    Leave a comment:


  • KRITGuy
    started a topic Eliminating Content Theft from an RTF Object

    Eliminating Content Theft from an RTF Object

    Hey Guys,

    Using VB6: I have a 200 millisecond timer obj on a form with an RTF Obj on the form which contains RTF documentation.

    The timer commands Clipboard.Clear when the RichText Object receives the focus, and for a further 2 seconds after it loses that focus.

    It works fine and eliminates the content theft.

    Without simply guessing... does anybody actually know for a fact if there might...
    See more | Go to post
No activity results to display
Show More
Working...