Click here to Skip to main content
15,890,741 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionvb2005 how to discover and connect to bluetooth devices Pin
Member 1302699727-Feb-17 8:25
Member 1302699727-Feb-17 8:25 
SuggestionRe: vb2005 how to discover and connect to bluetooth devices Pin
Richard MacCutchan27-Feb-17 21:24
mveRichard MacCutchan27-Feb-17 21:24 
GeneralRe: vb2005 how to discover and connect to bluetooth devices Pin
Member 1302699727-Feb-17 23:42
Member 1302699727-Feb-17 23:42 
GeneralRe: vb2005 how to discover and connect to bluetooth devices Pin
Richard MacCutchan28-Feb-17 0:09
mveRichard MacCutchan28-Feb-17 0:09 
AnswerRe: vb2005 how to discover and connect to bluetooth devices Pin
Gerry Schmitz28-Feb-17 7:16
mveGerry Schmitz28-Feb-17 7:16 
Questionabout keyboard shortcuts using in vb Pin
Member 1171801921-Feb-17 20:08
Member 1171801921-Feb-17 20:08 
AnswerRe: about keyboard shortcuts using in vb Pin
Jochen Arndt21-Feb-17 21:43
professionalJochen Arndt21-Feb-17 21:43 
QuestionProblem set Lyrics mp3 encoded iso-8859-1 TagLib visual basic [Moved] Pin
Member 1165739820-Feb-17 10:32
Member 1165739820-Feb-17 10:32 
Hello everyone, I'm new here.
I am desperate for a solution to my problem in the visual basic code.
With the library TagLib I can write ID3v2 tags on mp3. I'm having trouble seeing the text Lyrics on Android devices and I realized that the problem is the text encoding (by TagLib).
With an encoding in ISO-8859-1 or UTF16 everything works good, but with UTF8 encoding will not work.
What I would know is how can I set the encoding TagLib write ISO-8859-1.
I do not know how, but it is the library that selects and applies automatic text encoding even if I have encode the text before in ISO-8859-1.
How can I fix?

Here's the code:


VB
Imports TagLib

Dim Testo As String = "Text Lyrics"
Dim mp3 As TagLib.File = TagLib.File.Create("C:\Music.mp3")

'convertion in iso-8859-1
'Dim byText() As Byte = System.Text.Encoding.Unicode.GetBytes(Testo)
'Dim strTemp As Byte() = Encoding.Convert(Encoding.UTF8, Encoding.GetEncoding("iso-8859-1"), byText)

mp3.Tag.Lyrics = Testo 
mp3.Save()
mp3.Dispose()



Thanks!

modified 20-Feb-17 17:52pm.

GeneralRe: Error set Lyrics mp3 encoded iso-8859-1 TagLib visual basic Pin
Tim Carmichael20-Feb-17 10:35
Tim Carmichael20-Feb-17 10:35 
GeneralRe: Problem set Lyrics mp3 encoded iso-8859-1 TagLib visual basic Pin
Jon McKee20-Feb-17 11:17
professionalJon McKee20-Feb-17 11:17 
AnswerRe: Problem set Lyrics mp3 encoded iso-8859-1 TagLib visual basic [Moved] Pin
Richard MacCutchan20-Feb-17 20:45
mveRichard MacCutchan20-Feb-17 20:45 
GeneralRe: Problem set Lyrics mp3 encoded iso-8859-1 TagLib visual basic [Moved] Pin
Member 1165739824-Feb-17 11:59
Member 1165739824-Feb-17 11:59 
Questionvb.net, ListView, Using Groups, how to build them - group is always named default in blue Pin
jkirkerx20-Feb-17 10:00
professionaljkirkerx20-Feb-17 10:00 
AnswerThis seems to work, let me try the other end, trying read it Pin
jkirkerx20-Feb-17 10:17
professionaljkirkerx20-Feb-17 10:17 
QuestionVB code for adding a Pivot table in excel using VS2013 Pin
Member 1300691516-Feb-17 22:27
Member 1300691516-Feb-17 22:27 
QuestionIs there an example for Outlook Addin projects. Pin
Rahul MD16-Feb-17 9:32
Rahul MD16-Feb-17 9:32 
AnswerRe: Is there an example for Outlook Addin projects. Pin
Richard MacCutchan16-Feb-17 21:46
mveRichard MacCutchan16-Feb-17 21:46 
GeneralRe: Is there an example for Outlook Addin projects. Pin
Rahul MD17-Feb-17 5:25
Rahul MD17-Feb-17 5:25 
QuestionRe: Is there an example for Outlook Addin projects. Pin
Richard MacCutchan17-Feb-17 6:59
mveRichard MacCutchan17-Feb-17 6:59 
AnswerRe: Is there an example for Outlook Addin projects. Pin
Rahul MD17-Feb-17 7:17
Rahul MD17-Feb-17 7:17 
GeneralRe: Is there an example for Outlook Addin projects. Pin
Richard MacCutchan17-Feb-17 22:10
mveRichard MacCutchan17-Feb-17 22:10 
QuestionMake a Skype for Business (S4B) from a windows form? Pin
JasonB596316-Feb-17 8:15
JasonB596316-Feb-17 8:15 
AnswerRe: Make a Skype for Business (S4B) from a windows form? Pin
Richard Deeming16-Feb-17 8:47
mveRichard Deeming16-Feb-17 8:47 
GeneralRe: Make a Skype for Business (S4B) from a windows form? Pin
JasonB596316-Feb-17 9:47
JasonB596316-Feb-17 9:47 
GeneralRe: Make a Skype for Business (S4B) from a windows form? Pin
Richard Deeming16-Feb-17 10:15
mveRichard Deeming16-Feb-17 10:15 

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.