Click here to Skip to main content
15,879,535 members
Home / Discussions / C#
   

C#

 
GeneralRe: questions about an array? Pin
Keith Barrow18-Sep-09 4:59
professionalKeith Barrow18-Sep-09 4:59 
AnswerRe: questions about an array? Pin
dan!sh 18-Sep-09 4:37
professional dan!sh 18-Sep-09 4:37 
GeneralRe: questions about an array? Pin
JollyMansArt18-Sep-09 4:51
JollyMansArt18-Sep-09 4:51 
Questiongetfilename Pin
kennyhibs18-Sep-09 3:58
kennyhibs18-Sep-09 3:58 
AnswerRe: getfilename Pin
Wes Aday18-Sep-09 4:14
professionalWes Aday18-Sep-09 4:14 
GeneralRe: getfilename Pin
kennyhibs18-Sep-09 4:27
kennyhibs18-Sep-09 4:27 
GeneralRe: getfilename Pin
Wes Aday18-Sep-09 4:43
professionalWes Aday18-Sep-09 4:43 
AnswerRe: getfilename Pin
OriginalGriff18-Sep-09 4:18
mveOriginalGriff18-Sep-09 4:18 
GetFileName returns the name of the file: "song.mp3" - i.e. without the path. If you have this in the current directory (as in the case of the project directory) then it can find it. Give it the whole pathed file name and you should be fine. Try
if (File.Exists(listBox1.SelectedItem.ToString())
   {
   dsAudioPlayer1....
   }
else
   {
   MessageBox.Show("Cannot find \"" + listBox1.SelectedItem.ToString() + "\"");
   }


No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.

This message is made of fully recyclable Zeros and Ones

QuestionCreatin Combo lists using an App Config file Pin
TheFoZ18-Sep-09 3:33
TheFoZ18-Sep-09 3:33 
AnswerRe: Creatin Combo lists using an App Config file Pin
Atul Kharecha18-Sep-09 3:45
Atul Kharecha18-Sep-09 3:45 
GeneralRe: Creatin Combo lists using an App Config file Pin
TheFoZ18-Sep-09 4:00
TheFoZ18-Sep-09 4:00 
QuestionCan I use IDTExtensibility in VSTO? Pin
SRKSHOME18-Sep-09 3:23
SRKSHOME18-Sep-09 3:23 
QuestionWindows media player problem Pin
bunty20k18-Sep-09 3:16
bunty20k18-Sep-09 3:16 
AnswerRe: Windows media player problem Pin
Atul Kharecha18-Sep-09 3:48
Atul Kharecha18-Sep-09 3:48 
QuestionImplementation of Doubly linked list Pin
parantn18-Sep-09 2:33
parantn18-Sep-09 2:33 
AnswerRe: Implementation of Doubly linked list Pin
SeMartens18-Sep-09 2:40
SeMartens18-Sep-09 2:40 
AnswerRe: Implementation of Doubly linked list Pin
OriginalGriff18-Sep-09 2:48
mveOriginalGriff18-Sep-09 2:48 
GeneralRe: Implementation of Doubly linked list Pin
Ian Shlasko18-Sep-09 2:52
Ian Shlasko18-Sep-09 2:52 
GeneralRe: Implementation of Doubly linked list Pin
Luc Pattyn18-Sep-09 3:47
sitebuilderLuc Pattyn18-Sep-09 3:47 
GeneralRe: Implementation of Doubly linked list Pin
OriginalGriff18-Sep-09 4:22
mveOriginalGriff18-Sep-09 4:22 
AnswerRe: Implementation of Doubly linked list Pin
PIEBALDconsult18-Sep-09 4:40
mvePIEBALDconsult18-Sep-09 4:40 
QuestionNeed Help in Regular Expression? Pin
Jollyguy18-Sep-09 1:47
Jollyguy18-Sep-09 1:47 
AnswerRe: Need Help in Regular Expression? Pin
Luc Pattyn18-Sep-09 1:59
sitebuilderLuc Pattyn18-Sep-09 1:59 
QuestionHow to Install MySql in silent mode with Setup Application Pin
Paramhans Dubey18-Sep-09 1:45
professionalParamhans Dubey18-Sep-09 1:45 
QuestionDOM Problems ? Pin
Jacobb Michael18-Sep-09 1:22
Jacobb Michael18-Sep-09 1:22 

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.