Click here to Skip to main content
15,867,453 members
Home / Discussions / C#
   

C#

 
AnswerRe: Modal Window in Smart Parts Pin
Michael Sync29-Aug-07 17:40
Michael Sync29-Aug-07 17:40 
GeneralRe: Modal Window in Smart Parts Pin
Alaric_30-Aug-07 2:21
professionalAlaric_30-Aug-07 2:21 
GeneralRe: Modal Window in Smart Parts Pin
Michael Sync30-Aug-07 5:00
Michael Sync30-Aug-07 5:00 
GeneralRe: Modal Window in Smart Parts Pin
umashankergr830-Aug-07 8:28
umashankergr830-Aug-07 8:28 
QuestionFile.Exists problems with mapped network drive. Pin
UweOeder29-Aug-07 8:37
professionalUweOeder29-Aug-07 8:37 
AnswerRe: File.Exists problems with mapped network drive. Pin
snorkie29-Aug-07 8:54
professionalsnorkie29-Aug-07 8:54 
GeneralRe: File.Exists problems with mapped network drive. Pin
Vikram A Punathambekar29-Aug-07 17:41
Vikram A Punathambekar29-Aug-07 17:41 
AnswerRe: File.Exists problems with mapped network drive. [modified] Pin
Alaric_29-Aug-07 9:51
professionalAlaric_29-Aug-07 9:51 
are you certain that your code is referencing the resource correctly?
Oederu wrote:
I write the "FilePath + FileName" to a file and use that in Windows Explorer and I can successfully open the file

That tells you that it's not a permissions issue

Here's a snippet from one of my current projects to show one way of handling this:
this.serverPath = @"\\"+serverUtility.OptimalServer.alias + serverUtility.OptimalServer.directoryPath;

Notice the '@' character. That is a special character that specifies that you are entering a verbatim string literal.
The '\' character usually triggers an escape sequence, but with the @ character in front of it, it is treated as any other character. This technique probably won't work for you though, because your '\'s are embedded inside your strings. You probably are going to want to do a string replace on the '\' to make it '\\' . That will specify that you are triggering an escape sequence and wanting to type a '\'


-- modified at 16:02 Wednesday 29th August, 2007
[Note] The "\\" included in my snippet is NOT the same "\\" that you will have to use. My "\\" indicates that I'm wanting to access an external resource(which works with the '@'). YOUR "\\" (without the @) will handle your first slash as an escape initiation and the second slash as a print

"I need build Skynet. Plz send code"

AnswerRe: File.Exists problems with mapped network drive. Pin
Spacix One29-Aug-07 10:19
Spacix One29-Aug-07 10:19 
GeneralRe: File.Exists problems with mapped network drive. Pin
UweOeder29-Aug-07 20:46
professionalUweOeder29-Aug-07 20:46 
QuestionRijndael Encryption Question.. Pin
Dio2229-Aug-07 8:26
Dio2229-Aug-07 8:26 
AnswerRe: Rijndael Encryption Question.. [modified] Pin
Alaric_29-Aug-07 10:06
professionalAlaric_29-Aug-07 10:06 
AnswerRe: Rijndael Encryption Question.. Pin
xfitr229-Aug-07 16:46
xfitr229-Aug-07 16:46 
QuestionInstallation Binder / Deployment Utility Pin
Muhammad Nauman Yousuf29-Aug-07 8:14
Muhammad Nauman Yousuf29-Aug-07 8:14 
AnswerRe: Installation Binder / Deployment Utility Pin
Spacix One29-Aug-07 8:44
Spacix One29-Aug-07 8:44 
QuestionCan "custom attributes" work for private objects? Pin
cyhsu99929-Aug-07 7:00
cyhsu99929-Aug-07 7:00 
AnswerRe: Can "custom attributes" work for private objects? Pin
Pete O'Hanlon29-Aug-07 9:19
subeditorPete O'Hanlon29-Aug-07 9:19 
GeneralRe: Can "custom attributes" work for private objects? Pin
cyhsu99929-Aug-07 16:31
cyhsu99929-Aug-07 16:31 
QuestionStudio 2005 Standard Pin
BoneSoft29-Aug-07 6:37
BoneSoft29-Aug-07 6:37 
QuestionObtaining a HANDLE from IO.Ports.SerialPort Pin
TheIdleProgrammer29-Aug-07 5:25
TheIdleProgrammer29-Aug-07 5:25 
AnswerRe: Obtaining a HANDLE from IO.Ports.SerialPort Pin
pbraun29-Aug-07 6:09
pbraun29-Aug-07 6:09 
GeneralRe: Obtaining a HANDLE from IO.Ports.SerialPort Pin
TheIdleProgrammer29-Aug-07 6:32
TheIdleProgrammer29-Aug-07 6:32 
AnswerRe: Obtaining a HANDLE from IO.Ports.SerialPort Pin
snorkie29-Aug-07 9:31
professionalsnorkie29-Aug-07 9:31 
QuestionHow make a dll in Visual C++ to use in C#? Pin
Rui A Sousa29-Aug-07 5:19
Rui A Sousa29-Aug-07 5:19 
AnswerRe: How make a dll in Visual C++ to use in C#? Pin
led mike29-Aug-07 6:16
led mike29-Aug-07 6:16 

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.