Click here to Skip to main content
15,881,882 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Modeless Dialog Box Pin
mmica9-Mar-04 1:44
mmica9-Mar-04 1:44 
GeneralRe: Modeless Dialog Box Pin
Prakash Nadar9-Mar-04 2:28
Prakash Nadar9-Mar-04 2:28 
GeneralRe: Modeless Dialog Box Pin
David Crow9-Mar-04 2:42
David Crow9-Mar-04 2:42 
GeneralRe: Modeless Dialog Box Pin
Prakash Nadar9-Mar-04 2:49
Prakash Nadar9-Mar-04 2:49 
GeneralRe: Modeless Dialog Box Pin
David Crow9-Mar-04 2:43
David Crow9-Mar-04 2:43 
GeneralRe: Modeless Dialog Box Pin
bilal789-Mar-04 1:51
bilal789-Mar-04 1:51 
GeneralRe: Modeless Dialog Box Pin
mmica9-Mar-04 2:35
mmica9-Mar-04 2:35 
GeneralShellExecute - cannot use unc path Pin
Sara Burns8-Mar-04 23:36
Sara Burns8-Mar-04 23:36 
I am unable to find the right combination to open a file on a server using a unc path in VC++ 6.0.
From the Run command I would enter "\\server\share\folder\test.txt"
If I use this with the ShellExecute open command it does not work. (I double-up the backslashes and send "\\\\server\\share\\folder\\test.txt")
If I send "F:\\folder\\test.txt" it does work, but that is not what I need as I do not know the local drive letter for the server.

I have found that if I send the Directory as "\\server\\share" and the File as "folder\\test.txt" this works. This is odd as the backslashes for the server have not been doubled.

What is the trick to sending the full unc path to open a file with ShellExecute.

Sara
GeneralRe: ShellExecute - cannot use unc path Pin
David Crow9-Mar-04 2:25
David Crow9-Mar-04 2:25 
GeneralRe: ShellExecute - cannot use unc path Pin
Prakash Nadar9-Mar-04 2:31
Prakash Nadar9-Mar-04 2:31 
GeneralRe: ShellExecute - cannot use unc path Pin
Sara Burns10-Mar-04 0:02
Sara Burns10-Mar-04 0:02 
GeneralHelp need: I need a list control like in the left pane of the FileOpen dialog Pin
porfessorDavid8-Mar-04 22:59
porfessorDavid8-Mar-04 22:59 
GeneralRe: Help need: I need a list control like in the left pane of the FileOpen dialog Pin
David Crow9-Mar-04 2:28
David Crow9-Mar-04 2:28 
GeneralCRichEditView help needed Pin
MolleX8-Mar-04 22:42
MolleX8-Mar-04 22:42 
Generalcustomizing internet explorer Pin
yourbuddy778-Mar-04 22:06
yourbuddy778-Mar-04 22:06 
GeneralFile Monitoring Pin
vikramlinux8-Mar-04 21:51
vikramlinux8-Mar-04 21:51 
GeneralRe: File Monitoring Pin
Dudi Avramov9-Mar-04 2:24
Dudi Avramov9-Mar-04 2:24 
GeneralBook about automation Pin
Member 7389388-Mar-04 20:46
Member 7389388-Mar-04 20:46 
GeneralRe: Book about automation Pin
Michael P Butler8-Mar-04 22:55
Michael P Butler8-Mar-04 22:55 
GeneralRe: Book about automation Pin
Member 7389388-Mar-04 23:08
Member 7389388-Mar-04 23:08 
GeneralRe: Book about automation Pin
Michael P Butler8-Mar-04 23:41
Michael P Butler8-Mar-04 23:41 
GeneralRe: Book about automation Pin
Member 7389389-Mar-04 0:41
Member 7389389-Mar-04 0:41 
Generalsending ARP packet Pin
Imtiaz Murtaza8-Mar-04 20:37
Imtiaz Murtaza8-Mar-04 20:37 
Generalwriting binary file Pin
Ming Yan8-Mar-04 20:25
Ming Yan8-Mar-04 20:25 
GeneralRe: writing binary file Pin
David Crow9-Mar-04 2:35
David Crow9-Mar-04 2: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.