none
how to convert .txt file to .vnt file ?

    Question

  • hi all

    am using galaxy s2 that make not file created by it to .vnt file which cannot be opened on windows

    I made a program that convert .txt file to codec nokia txt file by using this code

               

                My.Computer.FileSystem.WriteAllText("c:\sms\SMS.txt", T1.Text, False, System.Text.Encoding.Unicode)
    

    so whats the code that used to  convert .txt file to .vnt file

    thanks

    Tuesday, August 14, 2012 10:06 PM

All replies

  • From this link http://www.fileinfo.com/extension/vnt

    "Text note format used by various cell phones, such as the Notes application on Sony Ericsson mobile phones; saved in a text format with a header that starts with "BEGIN:VNOTE" and ends with "END:VNOTE."

    The contents of a VNT file can be viewed in a standard text editor.  However, the message may be encoded using one of several encoding methods.  For example, some VNT files are encoded with quoted-printable, or "QP" encoding.  This encodes each character with an equal sign, followed by two hexadecimal digits (for example "=20" represents a space).  Therefore, it may be difficult to interpret the text without a QP decoder."

    According to the above information the .vnt file you create may require one of several encoding methods. If you do not require an encoding method and your .txt file is in the proper format you could probably just change the file extension to .vnt


    You've taught me everything I know but not everything you know.

    Tuesday, August 14, 2012 10:42 PM
  • The below code will allow you to change the file extension of a file from .txt to .vnt or vice versa.

    Option Strict On
    
    Public Class Form1
    
        Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    
        End Sub
    
        Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
            My.Computer.FileSystem.RenameFile("C:\Users\John\Desktop\Test.Txt", "Test.Vnt")
        End Sub
    
        Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
            My.Computer.FileSystem.RenameFile("C:\Users\John\Desktop\Test.Vnt", "Test.Txt")
        End Sub
    
    End Class


    You've taught me everything I know but not everything you know.

    Wednesday, August 15, 2012 2:36 AM
  • The below code will allow you to change the file extension of a file from .txt to .vnt or vice versa.

    Option Strict On
    
    Public Class Form1
    
        Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    
        End Sub
    
        Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
            My.Computer.FileSystem.RenameFile("C:\Users\John\Desktop\Test.Txt", "Test.Vnt")
        End Sub
    
        Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
            My.Computer.FileSystem.RenameFile("C:\Users\John\Desktop\Test.Vnt", "Test.Txt")
        End Sub
    
    End Class


    You've taught me everything I know but not everything you know.

    stil same ruselt

    when i convert .vnt file to .txt file and i open it 

    it gave me this

    BEGIN:VNOTE
    VERSION:1.1
    BODY;CHARSET=UTF-8;ENCODING=QUOTED-PRINTABLE:1.200=0D=0A1.300=0D=0A1.200=0D=0A1.500=0D=0A1.500=0D=0A1.200=0D=0A1.500=0D=0A0.600=0D=0A1.000=0D=0A1.200=0D=0A1.600=0D=0A1.300=0D=0A1.300=0D=0A2.000=0D=0A1.200=0D=0A1.100=0D=0A1.200=0D=0A2.400=0D=0A1.200=0D=0A1.600=0D=0A1.000=0D=0A1.400=0D=0A0.700=0D=0A0.700=0D=0A0.700=0D=0A0.800=0D=0A0.800=0D=0A0.700=0D=0A0.700=0D=0A0.700
    DCREATED:20120630T020356
    LAST-MODIFIED:20120801T031616
    END:VNOTE

    Wednesday, August 15, 2012 10:51 PM
  • "For example, some VNT files are encoded with quoted-printable, or "QP" encoding.  This encodes each character with an equal sign, followed by two hexadecimal digits (for example "=20" represents a space).  Therefore, it may be difficult to interpret the text without a QP decoder."

    BODY;CHARSET=UTF-8;ENCODING=QUOTED-PRINTABLE:1.200=0D=0A1.300=0D=0A1.200=0D=0A1.500=0D=0A1.500=0D=0A1.200=0D=0A1.500=0D=0A0.600=0D=0A1.000=0D=0A1.200=0D=0A1.600=0D=0A1.300=0D=0A1.300=0D=0A2.000=0D=0A1.200=0D=0A1.100=0D=0A1.200=0D=0A2.400=0D=0A1.200=0D=0A1.600=0D=0A1.000=0D=0A1.400=0D=0A0.700=0D=0A0.700=0D=0A0.700=0D=0A0.800=0D=0A0.800=0D=0A0.700=0D=0A0.700=0D=0A0.700

    You can check out the following

    http://www.example-code.com/vbdotnet/crypt_quoted-printable.asp


    You've taught me everything I know but not everything you know.

    Thursday, August 16, 2012 12:47 AM
  • still no use

    Monday, August 20, 2012 10:30 PM