Click here to Skip to main content
15,919,749 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to receive app launch message? Pin
chpsoft4-Mar-04 14:28
chpsoft4-Mar-04 14:28 
AnswerRe: how to receive app launch message? Pin
Joel Lucsy4-Mar-04 16:00
Joel Lucsy4-Mar-04 16:00 
GeneralRe: how to receive app launch message? Pin
chpsoft4-Mar-04 16:16
chpsoft4-Mar-04 16:16 
GeneralRe: how to receive app launch message? Pin
bilal784-Mar-04 19:30
bilal784-Mar-04 19:30 
GeneralRe: how to receive app launch message? Pin
chpsoft4-Mar-04 19:58
chpsoft4-Mar-04 19:58 
GeneralRe: how to receive app launch message? Pin
bilal784-Mar-04 20:26
bilal784-Mar-04 20:26 
GeneralRe: how to receive app launch message? Pin
chpsoft4-Mar-04 20:41
chpsoft4-Mar-04 20:41 
GeneralShared Folders With Username/Password Pin
shultas4-Mar-04 13:50
shultas4-Mar-04 13:50 
Hey all.

I've got a tiny helper application that I've built that creates text files on a network/shared drive.

I'm presently just using CStdioFile to create the text files.

The problem that I am running into is username/password authentication. I don't really know where to start for this and would appreciate some pointers in the right direction. The network/shared drive is "\\S-CPU1\c\the_folder". If I open up IE, and go to \\S-CPU1\c\the_folder ... the first time I try it, IE asks for the username/password. I enter it in, it goes there. I can then close out of IE and it "remembers" the username/password combination (or keeps me logged in to it, or whatever) until I physically LOG OUT or switch users. So, if I do that one time, I can then run my helper app, and it creates the files over on that shared folder without a problem.

The problem is I would like to automate this, so that I/the user does not have to first bring up IE and go through that process (and I don't want to physically MAP a drive to that folder). I would like to be able to run my app, and if it realizes that it needs a user/password to access that folder, it will go ahead and bring up a prompt asking the user for that information. After that point, it'll just roll through and do it's thing.

I've searched for several phrases in the articles on this site, but can not seem to find anything that is doing what I want. If someone could point me in the right direction, I would greatly appreciate it.

Shultas
GeneralRe: Shared Folders With Username/Password Pin
sunyou4-Mar-04 19:17
sunyou4-Mar-04 19:17 
Generalnmake and the c++ build tool. Pin
debutante4-Mar-04 13:36
debutante4-Mar-04 13:36 
GeneralRe: nmake and the c++ build tool. Pin
David Crow4-Mar-04 13:39
David Crow4-Mar-04 13:39 
GeneralPropertyPage resizing Pin
act_x4-Mar-04 11:22
act_x4-Mar-04 11:22 
GeneralRe: PropertyPage resizing Pin
PJ Arends4-Mar-04 17:54
professionalPJ Arends4-Mar-04 17:54 
QuestionHow to print web page to image file Pin
AWebDude4-Mar-04 10:30
AWebDude4-Mar-04 10:30 
Generalcreating window help Pin
ppp0014-Mar-04 10:05
ppp0014-Mar-04 10:05 
GeneralRe: creating window help Pin
basementman4-Mar-04 10:09
basementman4-Mar-04 10:09 
GeneralRe: creating window help Pin
ppp0014-Mar-04 20:10
ppp0014-Mar-04 20:10 
GeneralRe: creating window help Pin
basementman5-Mar-04 3:51
basementman5-Mar-04 3:51 
QuestionHow to have access to the members of a class Pin
Roozbeh694-Mar-04 9:55
professionalRoozbeh694-Mar-04 9:55 
AnswerRe: How to have access to the members of a class Pin
ian mariano4-Mar-04 10:53
ian mariano4-Mar-04 10:53 
AnswerRe: How to have access to the members of a class Pin
Steve S4-Mar-04 22:41
Steve S4-Mar-04 22:41 
QuestionHow do I compile? Pin
john john mackey4-Mar-04 9:47
john john mackey4-Mar-04 9:47 
AnswerRe: How do I compile? Pin
ian mariano4-Mar-04 10:56
ian mariano4-Mar-04 10:56 
GeneralRe: How do I compile? Pin
john john mackey5-Mar-04 8:09
john john mackey5-Mar-04 8:09 
GeneralRe: How do I compile? Pin
ian mariano8-Mar-04 12:15
ian mariano8-Mar-04 12:15 

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.