CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Cyber Friend

Page 1 of 5 1 2 3 4

Search: Search took 0.05 seconds.

  1. SHA1 encoding using Windows Crypto API with Unmanaged C++

    Hi,

    I need to convert simple text (string) into SHA1 using Windows Crypto API with Unmanaged C++. Is there anything related to this available?

    Thanks and Regards,
  2. Re: Country List with 2-letter country codes?

    Hi,

    Thanx boudino for reply. I tried the CultureInfo class but it doesnt satisfy my requirement.

    What I need is a list like

    Name CountryCode

    AFGHANISTAN AF
    ALBANIA ...
  3. Country List with 2-letter country codes?

    Hi,

    How to get country list with country name and two-letter country code like US for United States, FR for France etc. The code needs to get all country names on that system.

    I need to...
  4. Re: Creating a thread to run under 'Local System' account from a Service

    Hi there,


    Thanx again Arjay for your reply.


    Arjay Can you shed some light on how to achieve this ?


    Actually I can go with creating a new process and run it under 'NT
  5. Re: Creating a thread to run under 'Local System' account from a Service

    Hi,

    Thanx Arjay for your reply. I m still finding solution about this problem, and will update the thread if I get any solution.

    The thread is still open if someone can help me. Actually...
  6. Creating a thread to run under 'Local System' account from a Service

    Hi there,

    I have a Remoting Service which runs under "Administrator" account. Now bcoz of some problem I need to spawn a thread / process from this service, which could run under "Local...
  7. Replies
    5
    Views
    1,255

    Re: [RESOLVED] C# Newbie OO Problem

    Hi there,

    Nice to hear that ur problem is now solved.

    Yes you r right, static method, field, property, or event is callable on a class even when no instance of the class has...
  8. Replies
    5
    Views
    1,255

    Re: C# Newbie OO Problem

    Hi there,

    Remove the keyword "static" from the method implementation..



    public static ResultPropertyCollection listMailboxes(String domain)

    and again run the...
  9. Re: How to get Process memory info using Win32 API in C#?

    Hi there,

    Ok my problem is now resolved. Thanx to a very good article

    http://www.codeproject.com/KB/cs/processownersid.aspx

    I used the code
  10. Re: How to get Process memory info using Win32 API in C#?

    Hi there,

    Thanx cilu for the asnwer. Yes this Win32 API GetProcessMemoryInfo() is very helpful in getting process memory info.

    I also need User of this process who invoked this...
  11. How to get Process memory info using Win32 API in C#?

    Hi there,
    How to get Process memory info using Win32 API in C#? There is a nice project at

    http://www.codeproject.com/KB/system/processescpuusage.aspx

    which gives process info like...
  12. Replies
    5
    Views
    2,100

    Re: active directory

    Hi threre,

    Try to use Administrator account for accessing ActiveDirectory. Also here is the link of a very helpful AD programing article:
    ...
  13. Re: Exception When Accessing Process.StartTime, Excep:"Access is Denied"

    Hi there,

    One more intersting finding.

    I downloaded the project "CpuUsageManaged" and ran it:

    http://www.codeproject.com/KB/system/processescpuusage.aspx

    ...
  14. Re: Exception When Accessing Process.StartTime, Excep:"Access is Denied"

    Hi there,

    Offcourse i m using my Administrator account dear.
    From same account when i run this code using VS2003 the code runs ok, but exception is occuring when i try to...
  15. Re: Exception When Accessing Process.StartTime, Excep:"Access is Denied"

    Hi there,

    Thanx Krishna for ur time on this thread.

    Yes thats true that i m not getting exception for all processes.

    Here is the list of the...
  16. Re: Exception When Accessing Process.StartTime, Excep:"Access is Denied"

    Hi there,

    Thanx mariocatch for your reply. I have added my user account to group "Performance Log Users" but no benefit of doing that.

    I m having same exception.

    best regards,...
  17. Exception When Accessing Process.StartTime, Excep:"Access is Denied"

    Hi there,

    I have to get processes info for a system but I m having an Exception "Access is denied" in this code,



    try
    {
    processes = Process.GetProcesses(mcName);
    int...
  18. Getting process cpu-time using ManagementObject class?

    Hi there,
    I m getting Processes info using WMI classes ManagementClass, ManagementObject on my system.

    What are the properties of ManagementObject for accessing CPU time of a...
  19. Re: Type of project for C# classes (VS05) to be run with VS03 project?

    Hi there,

    Thanx jmcilhinney for your reply.


    Thats looking sure that 1.1 assemblies can not refrence 2.0 assemblies as I have also found this fact in many places.

    I m looking into...
  20. Re: What type of project for classes (VS05) to be run with VS03 project?

    Hi there,

    Thanx boudino for your reply.

    I m looking into different choices and certainly web service option is good but I dont want it as it will require the IIS...
  21. Type of project for C# classes (VS05) to be run with VS03 project?

    Hi there,

    I have made some C# classes using VS 2005. Now I have to use them in a project developed using VS 2003. What type of project should I make for these classes (VS05) , i.e. Web Service,...
  22. What type of project for classes (VS05) to be run with VS03 project?

    Hi there,

    I have some classes developed using VS 2005. Now I have to use them in a project developed using VS 2003. What type of project should I make for these classes (VS05) , i.e. Web Service,...
  23. Re: Accessing Read-only attribute of Text box at runtime

    Hi,
    Sending EM_SETREADONLY Message to the related CEdit control worked for me . This is so simple. Here is the reference:

    http://msdn2.microsoft.com/en-us/library/ms672100.aspx

    Get...
  24. Accessing Read-only attribute of Text box at runtime

    I have a text box in my dialog and attached it with CStatic/CEdit member variable in my class. Now is it possible to change the Read only attribute of this text box at runtime ?

    best regards,...
  25. Replies
    3
    Views
    725

    Re: Protected member functions usage

    Hi,
    The protected member of a class can be accessible from within the class and the classes derived from this class.

    regards,
    Cyber Friend
Results 1 to 25 of 101
Page 1 of 5 1 2 3 4





Click Here to Expand Forum to Full Width

Featured