Click here to Skip to main content
15,892,059 members
Home / Discussions / C#
   

C#

 
GeneralRe: Can an Attribute class find out, to which class it is actually attached? Pin
Andy4114-Oct-12 20:05
Andy4114-Oct-12 20:05 
AnswerRe: Can an Attribute class find out, to which class it is actually attached? Pin
BobJanova5-Oct-12 1:15
BobJanova5-Oct-12 1:15 
GeneralRe: Can an Attribute class find out, to which class it is actually attached? Pin
Andy4116-Oct-12 2:25
Andy4116-Oct-12 2:25 
QuestionReturning Object From HashTable Pin
AmbiguousName4-Oct-12 1:10
AmbiguousName4-Oct-12 1:10 
AnswerRe: Returning Object From HashTable Pin
Smart Arab4-Oct-12 1:54
Smart Arab4-Oct-12 1:54 
AnswerRe: Returning Object From HashTable Pin
Member 94836444-Oct-12 1:59
Member 94836444-Oct-12 1:59 
AnswerRe: Returning Object From HashTable Pin
Manfred Rudolf Bihy4-Oct-12 2:22
professionalManfred Rudolf Bihy4-Oct-12 2:22 
AnswerRe: Returning Object From HashTable Pin
Bernhard Hiller4-Oct-12 21:05
Bernhard Hiller4-Oct-12 21:05 
Questionbusiness process management Pin
Sagar Pulidindi4-Oct-12 1:04
Sagar Pulidindi4-Oct-12 1:04 
AnswerRe: BUSINESS PROCESS MANAGEMENT Pin
OriginalGriff4-Oct-12 9:34
mveOriginalGriff4-Oct-12 9:34 
QuestionC# Pin
S Akshay4-Oct-12 0:19
S Akshay4-Oct-12 0:19 
AnswerRe: C# Pin
Eddy Vluggen4-Oct-12 0:42
professionalEddy Vluggen4-Oct-12 0:42 
QuestionJQUERY in C# Pin
JabbarJahambana3-Oct-12 22:00
JabbarJahambana3-Oct-12 22:00 
AnswerRe: JQUERY in C# Pin
Pete O'Hanlon3-Oct-12 22:30
mvePete O'Hanlon3-Oct-12 22:30 
AnswerRe: JQUERY in C# Pin
palakshamb4-Oct-12 23:42
palakshamb4-Oct-12 23:42 
QuestionTagLibSharp help needed Pin
joost.versteegen3-Oct-12 20:42
joost.versteegen3-Oct-12 20:42 
When I try to write to a comment tag field and save the file, I get either expected result, wrong result or an error. Does anyone have suggestions or tips? The intent is to add text to the metadata of jpg images so that I can search images later. Here's the code sofar:
private void buttonOpenFile_Click(object sender, EventArgs e)
{
  using(OpenFileDialog d = new OpenFileDialog())
  {
    d.InitialDirectory = @"D:\";
    d.Filter = "All jpeg files|*.jpg;*.jpeg";
    d.ShowDialog();
    _File = TagLib.File.Create(d.FileName,"image/jpeg", TagLib.ReadStyle.None);
  }
  textBox1.Text = _File.Tag.Comment;
}
private void buttonSaveFile_Click(object sender, EventArgs e)
{
  _File.Tag.Comment = textBox1.Text;
  _File.Save();
}

AnswerRe: TagLibSharp help needed Pin
Smart Arab3-Oct-12 21:18
Smart Arab3-Oct-12 21:18 
AnswerRe: TagLibSharp help needed Pin
joost.versteegen3-Oct-12 21:41
joost.versteegen3-Oct-12 21:41 
QuestionEquation on c# Pin
sabuhi_asad3-Oct-12 20:41
sabuhi_asad3-Oct-12 20:41 
AnswerRe: Equation on c# Pin
Richard MacCutchan3-Oct-12 21:41
mveRichard MacCutchan3-Oct-12 21:41 
QuestionImplementing Private Inheritence Pin
AmbiguousName3-Oct-12 19:07
AmbiguousName3-Oct-12 19:07 
AnswerRe: Implementing Private Inheritence Pin
Peter_in_27803-Oct-12 19:21
professionalPeter_in_27803-Oct-12 19:21 
GeneralRe: Implementing Private Inheritence Pin
AmbiguousName3-Oct-12 19:33
AmbiguousName3-Oct-12 19:33 
GeneralRe: Implementing Private Inheritence Pin
Peter_in_27803-Oct-12 19:50
professionalPeter_in_27803-Oct-12 19:50 
AnswerRe: Implementing Private Inheritence Pin
Pete O'Hanlon3-Oct-12 22:19
mvePete O'Hanlon3-Oct-12 22:19 

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.