Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
S

Sonu Kapoor

@Sonu Kapoor
About
Posts
89
Topics
28
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • NetUserGetInfo
    S Sonu Kapoor

    hey guys, I am trying to retrieve the password of a specific user with the NetUserGetInfo function. But the MSDN says the following regarding the function: -------------------- from msdn: link: http://msdn.microsoft.com/library/d..._info_4_str.asp The NetUserEnum and NetUserGetInfo functions return a NULL pointer to maintain password security. -------------------- my code: USES_CONVERSION; wchar_t *pswzUser = T2W("A"); DWORD dwLevel = 4; USER_INFO_3 pUi; nStatus = NetUserGetInfo(NULL, pswzUser, dwLevel, (LPBYTE*)&pUi); return W2T(pUi.usri3_password); So how can I retrieve the password ??? da sonu :cool:

    C / C++ / MFC question com security

  • NetLocalGroupAddMembers
    S Sonu Kapoor

    Hey guys, I am trying to add a member into a group. A user and a group already exists, but if I call this function, I get the system error code 1376: The specified local group does not exist. I recognized that if I call this function after creating a user it success. So what can I do here ??? see my code: USES_CONVERSION; wchar_t *pswzGroup = T2W("A"); wchar_t *pswzUser = T2W("X"); LOCALGROUP_MEMBERS_INFO_3 localgroup_members; localgroup_members.lgrmi3_domainandname = pswzUser; nStatus=NetLocalGroupAddMembers(NULL,pswzGroup,3,(LPBYTE)&localgroup_members,1); if(nStatus == NERR_Success) return "Groups(s) added succesfully to the group.\r\n"; if(nStatus == ERROR_ACCESS_DENIED) return "Access denied.\r\n"; if(nStatus == NERR_GroupNotFound) return "The user does not have access to the requested information.\r\n"; if(nStatus == ERROR_NO_SUCH_MEMBER) return "One or more of the members specified do not exist. Therefore, no new members were added.\r\n"; if(nStatus == ERROR_MEMBER_IN_ALIAS) return "One or more of the members specified were already members of the local group. No new members were added.\r\n"; if(nStatus == ERROR_INVALID_MEMBER) return "One or more of the members cannot be added because their account type is invalid. No new members were added.\r\n"; else{ CString str; str.Format("Error->Code: %d\r\n",nStatus); return str; } thanks, sonu da sonu :cool:

    C / C++ / MFC help question

  • create a user on Win 2000
    S Sonu Kapoor

    Hey guys, Does somebody know how to create a simple user on a Win 2000 with the help of VC++ ?? Or are their any tools which i can use ? I know the tools "net" and "Addusers" but both does not provide the function to modify an existing user. I can easily create and delete users or even groups with the mentioned tool. But i also need to modify the Users or Groups. Please let me know if you have any solution. Thanks da sonu :cool:

    C / C++ / MFC c++ tools help tutorial question

  • Add a mailuser with VC++
    S Sonu Kapoor

    Is there somebody who can answer this ?? da sonu :cool:

    C / C++ / MFC c++ tools help tutorial question

  • Add a mailuser with VC++
    S Sonu Kapoor

    Thanks for your response. what about a simple user on a win2000 ?? da sonu :cool:

    C / C++ / MFC c++ tools help tutorial question

  • Add a mailuser with VC++
    S Sonu Kapoor

    Hey guys, does somebody know how to add a mailuser with the help of vc++ on a Win2k ??? Are their any tools on windows which i can call through vc++ to create such an account ?? Thanks da sonu :cool:

    C / C++ / MFC c++ tools help tutorial question

  • Change the IP
    S Sonu Kapoor

    hi coders, does somebody of you know how to change the IP of a WINNT System in VC++ ?? Thanks da sonu :cool:

    C / C++ / MFC c++ tutorial question

  • sorting
    S Sonu Kapoor

    I am using DOM, but i am not very familiar with that. Do you have any example code which might help me ? da sonu :cool:

    XML / XSL xml algorithms question

  • sorting
    S Sonu Kapoor

    Hey Guys, I am using ASP to load some data from a xml file via xsl. Now i need to sort this data, i know i could use the xsl:sort element but i need a dynamic one, which the user can change. So the user will have the possibilty to sort the data in different ways. I already tried to pass a param to xsl and put it to but it didnt worked. Isnt it possible to pass a sort statement in selectnodes ? Is there any such function ? Any suggestions ?? thanks Sonu da sonu :cool:

    XML / XSL xml algorithms question

  • sorting, please help :-(
    S Sonu Kapoor

    Hey Guys, I am using ASP to load some data from a xml file via xsl. Now i need to sort this data, i know i could use the xsl:sort element but i need a dynamic one, which the user can change. So the user will have the possibilty to sort the data in different ways. Is there any such function ? Any suggestions ?? Thanks Sonu Kapoor da sonu :cool:

    Web Development xml algorithms help question

  • QOTD
    S Sonu Kapoor

    Paul Watson wrote: you have a life line left ok, i want to use my life line ! Which life line is left ? I hope the 50-50 life line.....:-) da sonu :cool:

    The Lounge question

  • QOTD
    S Sonu Kapoor

    Paul Watson wrote: D: Programming questions are not allowed in The Lounge according to the Loungs rules, of course D. LOL da sonu :cool:

    The Lounge question

  • QOTD
    S Sonu Kapoor

    Hi folks, What happens with the QOTD ? I cant see it anymore ! da sonu :cool:

    The Lounge question

  • Whish me luck !!
    S Sonu Kapoor

    All the best ! da sonu :cool:

    The Lounge career design question

  • Making Friends
    S Sonu Kapoor

    Rage wrote: ..but i´ll try to help as much as i can everyone... I agree with you, Rage. da sonu :cool:

    The Lounge question com tools

  • Disabling the close box [X]
    S Sonu Kapoor

    i think thats not possible ! You can just catch, if the user presses this button. da sonu :cool:

    C / C++ / MFC question asp-net

  • Nice Image Of Bob
    S Sonu Kapoor

    :-D Yup, its always the CTRL button. LOL da sonu :cool:

    The Lounge com career

  • Nice Image Of Bob
    S Sonu Kapoor

    try Ctrl+F5 Maybe this will help da sonu :cool:

    The Lounge com career

  • Not PootMazy! :-D
    S Sonu Kapoor

    ****Alexpro wrote: We have a lot of Indians fellows here on CP, so beware! But my GF is not here :( da sonu :suss:

    The Lounge help

  • Not PootMazy! :-D
    S Sonu Kapoor

    nope, i didnt talked to her since 3 weeks. I am going crazy. da sonu :suss:

    The Lounge help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups