Click here to Skip to main content
15,886,664 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# source code for converting wav file to mp3 format under Windows CE Pin
Mycroft Holmes4-Nov-09 21:35
professionalMycroft Holmes4-Nov-09 21:35 
General[Message Deleted] Pin
gazabdi4-Nov-09 22:28
gazabdi4-Nov-09 22:28 
GeneralRe: C# source code for converting wav file to mp3 format under Windows CE Pin
Richard MacCutchan4-Nov-09 23:07
mveRichard MacCutchan4-Nov-09 23:07 
GeneralRe: C# source code for converting wav file to mp3 format under Windows CE Pin
Mycroft Holmes4-Nov-09 23:38
professionalMycroft Holmes4-Nov-09 23:38 
QuestionProblem in Printing Receipt using Crystal Report using C# code Pin
sharad Pyakurel4-Nov-09 16:43
sharad Pyakurel4-Nov-09 16:43 
QuestionHelp on Key Press Event Pin
Saiyed Alam4-Nov-09 15:57
Saiyed Alam4-Nov-09 15:57 
AnswerRe: Help on Key Press Event Pin
PIEBALDconsult4-Nov-09 16:26
mvePIEBALDconsult4-Nov-09 16:26 
AnswerRe: Help on Key Press Event Pin
Calla4-Nov-09 21:47
Calla4-Nov-09 21:47 
Just listen for the KeyPress event of the form (if it's in fact a WinForm application). When the key, or the key combination, is pressed just run your method. For instance:
this.KeyPress += new System.Windows.Forms.KeyEventHandler(this.MyApp_KeyPress);

private void MyApp_KeyPress(object sender, System.Windows.Forms.KeyEventArgs e)
{
   if (e.KeyCode == Keys.F5)
   {
      this.MyMethod(); //MyMethod is the function you want to call
      return;
   }
}

private void MyMethod()
{
   MessageBox.Show("MyMethod");
}

QuestionWIA initialize object problem PinPopular
Gindi Bar Yahav4-Nov-09 11:08
Gindi Bar Yahav4-Nov-09 11:08 
AnswerRe: WIA initialize object problem Pin
Erik Rude11-Jul-10 22:11
Erik Rude11-Jul-10 22:11 
GeneralRe: WIA initialize object problem Pin
hazem00120-Jul-10 7:51
hazem00120-Jul-10 7:51 
GeneralRe: WIA initialize object problem Pin
NEspinosa23-Sep-10 14:38
NEspinosa23-Sep-10 14:38 
Questiondatetime Pin
jashimu4-Nov-09 10:15
jashimu4-Nov-09 10:15 
AnswerRe: datetime Pin
Christian Graus4-Nov-09 11:33
protectorChristian Graus4-Nov-09 11:33 
Questionneed help with adding a worker thread to my singleton Pin
abiemann4-Nov-09 9:09
abiemann4-Nov-09 9:09 
AnswerRe: need help with adding a worker thread to my singleton Pin
PIEBALDconsult4-Nov-09 9:13
mvePIEBALDconsult4-Nov-09 9:13 
GeneralRe: need help with adding a worker thread to my singleton Pin
abiemann4-Nov-09 12:51
abiemann4-Nov-09 12:51 
GeneralRe: need help with adding a worker thread to my singleton Pin
PIEBALDconsult4-Nov-09 14:05
mvePIEBALDconsult4-Nov-09 14:05 
AnswerRe: need help with adding a worker thread to my singleton Pin
Luc Pattyn4-Nov-09 9:39
sitebuilderLuc Pattyn4-Nov-09 9:39 
GeneralRe: need help with adding a worker thread to my singleton Pin
PIEBALDconsult4-Nov-09 10:56
mvePIEBALDconsult4-Nov-09 10:56 
GeneralRe: need help with adding a worker thread to my singleton Pin
Luc Pattyn4-Nov-09 11:08
sitebuilderLuc Pattyn4-Nov-09 11:08 
GeneralRe: need help with adding a worker thread to my singleton Pin
abiemann4-Nov-09 12:42
abiemann4-Nov-09 12:42 
GeneralRe: need help with adding a worker thread to my singleton Pin
Luc Pattyn4-Nov-09 12:47
sitebuilderLuc Pattyn4-Nov-09 12:47 
GeneralRe: need help with adding a worker thread to my singleton Pin
PIEBALDconsult4-Nov-09 14:22
mvePIEBALDconsult4-Nov-09 14:22 
QuestionTrouble understanding IDisposable Pin
daviiie4-Nov-09 5:35
daviiie4-Nov-09 5:35 

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.