Click here to Skip to main content
15,909,440 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Drawing an arrow Pin
kfaday19-Jun-04 7:38
kfaday19-Jun-04 7:38 
GeneralRe: Drawing an arrow Pin
palbano19-Jun-04 9:48
palbano19-Jun-04 9:48 
GeneralRe: Drawing an arrow Pin
kfaday19-Jun-04 11:21
kfaday19-Jun-04 11:21 
Generalrename a file Pin
Jason876519-Jun-04 4:28
Jason876519-Jun-04 4:28 
GeneralRe: rename a file Pin
PJ Arends19-Jun-04 6:48
professionalPJ Arends19-Jun-04 6:48 
Generalpopup menu problem Pin
udi444419-Jun-04 3:49
udi444419-Jun-04 3:49 
GeneralRe: popup menu problem Pin
kfaday19-Jun-04 5:11
kfaday19-Jun-04 5:11 
Questionhow to create user in windows using vc++ Pin
ThatsAlok19-Jun-04 3:03
ThatsAlok19-Jun-04 3:03 
helloo all fellow prgrammer
i am facing some problem,i am using Network management class made mr Carlos Antollini.

i am able to create the user,but i am unable to provide him priviledge. can any one help me.

the sample code is am using is as follow
-----------------------------------------------------
CNetLocalGroups a;
CNetUsers b;
#1 Problem User created with no privildge
if(b.Add("lopopo","")==0)
{
MessageBox(a.m_strError);
}
else
{
MessageBox(a.m_strError);
}

problem #2 this code give me this error "One or more of the members specified do not exist. Therefore, no new members were added."
if(a.AddUser(str1,"lopo")==0)
{
MessageBox(a.m_strError);
}
else
{

MessageBox(a.m_strError);

}


I Think It will Work
Alok Gupta
visit me at http://www.thisisalok.tk
AnswerRe: how to create user in windows using vc++ Pin
ThatsAlok19-Jun-04 3:43
ThatsAlok19-Jun-04 3:43 
GeneralWhen I create a vector of GraphicsPath class and its iterator, A compilation error occurs ! Pin
Gem19-Jun-04 3:02
Gem19-Jun-04 3:02 
GeneralCreating DSN Programatically Pin
Imtiaz Murtaza19-Jun-04 2:09
Imtiaz Murtaza19-Jun-04 2:09 
GeneralRe: Creating DSN Programatically Pin
Ghazi H. Wadi19-Jun-04 3:36
Ghazi H. Wadi19-Jun-04 3:36 
GeneralRe: Creating DSN Programatically Pin
palbano19-Jun-04 7:17
palbano19-Jun-04 7:17 
GeneralHI MR VC Pin
Anonymous19-Jun-04 1:37
Anonymous19-Jun-04 1:37 
QuestionHow can I disable PowerOff key? Pin
MiCROHARD19-Jun-04 1:33
MiCROHARD19-Jun-04 1:33 
AnswerRe: How can I disable PowerOff key? Pin
Ghazi H. Wadi19-Jun-04 2:00
Ghazi H. Wadi19-Jun-04 2:00 
GeneralEncryption Pin
sschilachi19-Jun-04 1:11
sschilachi19-Jun-04 1:11 
GeneralRe: Encryption Pin
palbano19-Jun-04 7:11
palbano19-Jun-04 7:11 
GeneralRe: Encryption Pin
Ravi Bhavnani19-Jun-04 17:28
professionalRavi Bhavnani19-Jun-04 17:28 
GeneralRe: Encryption Pin
Henry miller21-Jun-04 3:49
Henry miller21-Jun-04 3:49 
QuestionHow to Insert Combo in MS Datagrid Ctrl Pin
Sumit Kapoor18-Jun-04 23:53
Sumit Kapoor18-Jun-04 23:53 
GeneralCMonthCalCtrl Pin
sschilachi18-Jun-04 23:20
sschilachi18-Jun-04 23:20 
GeneralRe: CMonthCalCtrl Pin
palbano19-Jun-04 7:05
palbano19-Jun-04 7:05 
Generaldrawing in CRichEditView Pin
AntonGogolev18-Jun-04 22:58
AntonGogolev18-Jun-04 22:58 
GeneralUse office automation in batch Pin
novachen18-Jun-04 21:47
novachen18-Jun-04 21:47 

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.