Click here to Skip to main content
15,920,111 members
Home / Discussions / C#
   

C#

 
RantRe: How can I get the copy of the pdf file when it is opened on IE? Pin
musefan30-Mar-09 2:05
musefan30-Mar-09 2:05 
AnswerRe: How can I get the copy of the pdf file when it is opened on IE? Pin
Xmen Real 30-Mar-09 2:45
professional Xmen Real 30-Mar-09 2:45 
QuestionAbout .dll and User Control Proctection Pin
Isaac Gordon30-Mar-09 1:47
Isaac Gordon30-Mar-09 1:47 
AnswerRe: About .dll and User Control Proctection Pin
DaveyM6930-Mar-09 1:50
professionalDaveyM6930-Mar-09 1:50 
QuestionC# timer issue Pin
Supra230-Mar-09 1:30
Supra230-Mar-09 1:30 
AnswerRe: C# timer issue Pin
N a v a n e e t h30-Mar-09 1:35
N a v a n e e t h30-Mar-09 1:35 
Questionlisting files in C# Pin
mrithula830-Mar-09 1:13
mrithula830-Mar-09 1:13 
AnswerRe: listing files in C# Pin
musefan30-Mar-09 2:16
musefan30-Mar-09 2:16 
I think you need to re-think you design. And please use more descriptive variable names. and h can never be both 0 and 1, so your two if statements need to be and else if, or a swicth, or even better get rid of them completely as you never use h in your code so its value has no matter in the output you get.

I am assuming you have a list box with two entries. One c:/ and one d:/, correct? if so then ss (which i assume is getting the drive letter) is not working as you expect, try debuging it with a writeline or messagebox showing its value. if you can confirm this then you can move to the problem being else where.

Life goes very fast. Tomorrow, today is already yesterday.

Questionproblem with sqldatareader Pin
prasadbuddhika30-Mar-09 1:12
prasadbuddhika30-Mar-09 1:12 
AnswerRe: problem with sqldatareader Pin
musefan30-Mar-09 1:27
musefan30-Mar-09 1:27 
AnswerRe: problem with sqldatareader Pin
NickPace30-Mar-09 6:04
NickPace30-Mar-09 6:04 
QuestionHow to programatically play a video? Pin
George_George30-Mar-09 0:46
George_George30-Mar-09 0:46 
AnswerRe: How to programatically play a video? Pin
musefan30-Mar-09 1:24
musefan30-Mar-09 1:24 
GeneralRe: How to programatically play a video? Pin
George_George30-Mar-09 1:50
George_George30-Mar-09 1:50 
GeneralRe: How to programatically play a video? Pin
musefan30-Mar-09 2:00
musefan30-Mar-09 2:00 
GeneralRe: How to programatically play a video? Pin
George_George30-Mar-09 2:14
George_George30-Mar-09 2:14 
GeneralRe: How to programatically play a video? Pin
musefan30-Mar-09 2:20
musefan30-Mar-09 2:20 
GeneralRe: How to programatically play a video? Pin
George_George30-Mar-09 2:35
George_George30-Mar-09 2:35 
QuestionUnable to copy error in C# Pin
mrithula830-Mar-09 0:34
mrithula830-Mar-09 0:34 
AnswerRe: Unable to copy error in C# Pin
Pete O'Hanlon30-Mar-09 0:39
mvePete O'Hanlon30-Mar-09 0:39 
AnswerRe: Unable to copy error in C# Pin
musefan30-Mar-09 0:39
musefan30-Mar-09 0:39 
GeneralRe: Unable to copy error in C# Pin
mrithula830-Mar-09 0:45
mrithula830-Mar-09 0:45 
Questionneed to access the value of property "SETUPEXEDIR" Pin
honeyashu30-Mar-09 0:27
honeyashu30-Mar-09 0:27 
Questionpagination of datagrid Pin
dilip51430-Mar-09 0:08
dilip51430-Mar-09 0:08 
AnswerRe: pagination of datagrid Pin
Christian Graus30-Mar-09 0:29
protectorChristian Graus30-Mar-09 0:29 

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.