Click here to Skip to main content
15,897,371 members
Home / Discussions / C#
   

C#

 
AnswerRe: Connect to a remote MySql DB Pin
stancrm12-Oct-09 2:31
stancrm12-Oct-09 2:31 
AnswerRe: Connect to a remote MySql DB Pin
SummerBulb12-Oct-09 2:38
SummerBulb12-Oct-09 2:38 
GeneralRe: Connect to a remote MySql DB Pin
stancrm12-Oct-09 2:46
stancrm12-Oct-09 2:46 
Questionthread problem Pin
Member 59031012-Oct-09 2:06
Member 59031012-Oct-09 2:06 
AnswerRe: thread problem Pin
stancrm12-Oct-09 2:14
stancrm12-Oct-09 2:14 
Questionpaging in Sharepoint document library Pin
Sudhir Mangla12-Oct-09 1:11
professionalSudhir Mangla12-Oct-09 1:11 
AnswerRe: paging in Sharepoint document library Pin
Not Active12-Oct-09 1:35
mentorNot Active12-Oct-09 1:35 
QuestionConnect to mapped network drive Pin
musefan12-Oct-09 1:05
musefan12-Oct-09 1:05 
Hi All,

I have an application (Win Forms) that amongst other things downloads files from a server. This is done with the use of a mapped network drive.

The problem is sometimes the network drive will have a red cross (vista) to show it is not connected, it simply takes the user to double-click the desired path in order for it to connect. But if I try to access it through code while it is 'not connected' then it fails. All it takes is the user to double-click the drive and then the application will work again fine. But I don't want users to have to do this.

Basically, I want to know if there is a way I can check the connection status, and if need be, attempt to connect the drive before accessing the files. I don't want to un-map/re-map the drive each time either.

Thanks for any suggestions

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

AnswerRe: Connect to mapped network drive Pin
Henry Minute12-Oct-09 1:29
Henry Minute12-Oct-09 1:29 
GeneralRe: Connect to mapped network drive Pin
musefan12-Oct-09 1:35
musefan12-Oct-09 1:35 
GeneralRe: Connect to mapped network drive Pin
Henry Minute12-Oct-09 1:49
Henry Minute12-Oct-09 1:49 
GeneralRe: Connect to mapped network drive Pin
musefan12-Oct-09 2:42
musefan12-Oct-09 2:42 
GeneralRe: Connect to mapped network drive Pin
musefan12-Oct-09 3:10
musefan12-Oct-09 3:10 
GeneralRe: Connect to mapped network drive Pin
Luc Pattyn12-Oct-09 3:50
sitebuilderLuc Pattyn12-Oct-09 3:50 
GeneralRe: Connect to mapped network drive Pin
musefan12-Oct-09 5:28
musefan12-Oct-09 5:28 
GeneralRe: Connect to mapped network drive Pin
ragnaroknrol12-Oct-09 7:56
ragnaroknrol12-Oct-09 7:56 
Questionhow to compare textbox string with data base field Pin
Mangesh Tomar12-Oct-09 0:49
Mangesh Tomar12-Oct-09 0:49 
AnswerRe: how to compare textbox string with data base field Pin
Luc Pattyn12-Oct-09 1:00
sitebuilderLuc Pattyn12-Oct-09 1:00 
AnswerRe: how to compare textbox string with data base field Pin
Md. Marufuzzaman12-Oct-09 1:24
professionalMd. Marufuzzaman12-Oct-09 1:24 
AnswerRe: how to compare textbox string with data base field Pin
OriginalGriff12-Oct-09 3:08
mveOriginalGriff12-Oct-09 3:08 
QuestionDynamically created Icon for Number in Taskbar Pin
stancrm11-Oct-09 23:30
stancrm11-Oct-09 23:30 
AnswerRe: Dynamically created Icon for Number in Taskbar Pin
freakyit11-Oct-09 23:46
freakyit11-Oct-09 23:46 
GeneralRe: Dynamically created Icon for Number in Taskbar Pin
stancrm11-Oct-09 23:54
stancrm11-Oct-09 23:54 
GeneralRe: Dynamically created Icon for Number in Taskbar Pin
freakyit11-Oct-09 23:59
freakyit11-Oct-09 23:59 
AnswerRe: Dynamically created Icon for Number in Taskbar Pin
Luc Pattyn12-Oct-09 0:04
sitebuilderLuc Pattyn12-Oct-09 0:04 

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.