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

Search:

Type: Posts; User: Witis

Search: Search took 0.02 seconds.

  1. Replies
    3
    Views
    2,993

    Re: Use WebBrowser to submit data

    I found that I could get the value in the quick reply section using this code:


    WebBrowser1.Document.All("message_backup").focus
    Debug.Print WebBrowser1.Document.All("message_backup").Value

    ...
  2. Replies
    3
    Views
    2,993

    Re: Use WebBrowser to submit data

    Thanks for the reply dglienna, what do you mean by POST?
  3. Replies
    3
    Views
    2,993

    Use WebBrowser to submit data

    Hey,

    I am trying to submit data using the vb6 webbrowser control.
    In the case of google it is quite easy:
    Right click the textbox and select inspect element which reveals the textbox name to be...
  4. Replies
    0
    Views
    1,858

    Setup files that can get around UAC

    I just downloaded an old edition of burnaware_free.exe, version 2.3.3, from here:http://www.digital-digest.com/software/download-1654_0_8_file_burnaware_free.exe.html

    and noticed that when I was...
  5. How to set the DACL for a desktop shortcut (.lnk files)?

    I have tried GetNamedSecurityInfo and SetNamedSecurityInfo functions which I can get working for files and directories, however, I can't get them to work for desktop shortcuts. One of the problems is...
  6. Replies
    4
    Views
    1,733

    Re: How to accurately time process execution

    Hi ovidiucucu

    I tried using it, however, it seems to return exactly the same numbers as gettickcount each and every call, i.e., it is unable to return the cpu time share used by my process.

    If...
  7. Replies
    4
    Views
    1,733

    How to accurately time process execution

    Hi, is it possible to more accurately determine the performance of my code as opposed to GetTickCount or higher resolutions versions such as QueryPerformanceCounter?

    The problem with GetTickCount...
  8. Re: What file properties change when a file is copied?

    You are correct Eri523, I did not notice that about the archive attribute and the date modified, I have updated my first post to reflect your comments, and added some additional properties which...
  9. What file properties change when a file is copied?

    At the moment I am only looking at exe files and text files. So far I have:

    1. File name (different if in the same path)
    2. File path (although this does not always change)
    3. File date created...
  10. Re: Accurately calculating periperal(device) performance

    The problem I described in relation to GetProcessTimes also effects NtQueryInformationProcess.
  11. Accurately calculating periperal(device) performance

    Hi, is it possible to accurately determine the performance of peripherals(devices) such as screens, printer, hdds as opposed to just using something like gettickcount?

    Gettickcount reports the...
  12. Get Drive Name (not label) & Interface Speed

    If I:
    1. hit Ctrl + E,
    2. then right click a drive in the "Devices with Removable Storage" and select properties.
    3. click the hardware tab.
    A very detailed name for each of the disk drives is...
  13. Re: Group Sid (description and domain) attached to every file

    Thanks for the reply krmed,
    In order to test as you suggested I created 2 accounts, one a regular user and the other a member of the administrators group, and used each account to create a new text...
  14. Group Sid (description and domain) attached to every file

    At the moment I am using GetFileSecurity, GetSecurityDescriptorGroup, and LookupAccountSid to get the group information attached to a file (via the sid).

    I tried creating a couple of files on a...
  15. Replies
    13
    Views
    16,083

    Re: LookupAccountSid Function

    The first machine is XP, the second machine is windows seven, I have tested this extensively and can confirm my findings are not snot.

    I then formatted the usb with NTFS on windows seven ultimate...
  16. Replies
    13
    Views
    16,083

    Re: LookupAccountSid Function

    Ok, I checked the permissions on the text file when it is in the second machine:
    From the text file's properties menu I selected the security tab and then left clicked on "Administrators" in the...
  17. Replies
    13
    Views
    16,083

    Re: LookupAccountSid Function

    Hi Igor Vartanov, thanks again for your reply. The problem I have is this:
    1. I format a usb drive with NTFS, and then create a text file on it and manually set its owner to administrators (via the...
  18. Replies
    13
    Views
    16,083

    Re: LookupAccountSid Function

    Hi again Igor Vartanov, thank you for your answer, and I think I understand the problem a bit better now. I started with the sid:

    A sid starts with S to indiate the string is a sid then
    + The...
  19. Replies
    13
    Views
    16,083

    Re: LookupAccountSid Function

    Igor Vartanov, thank you for your detailed reply and good information regarding the built in account.
    Although I still have a problem...

    When LookupAccountSid is called it:
    "The LookupAccountSid...
  20. Replies
    13
    Views
    16,083

    Re: LookupAccountSid Function

    My main problem is that this function returns "Administrators" and a ReferencedDomainName of "BUILTIN", sometimes even for unknown domains.
    Is there a way to force LookupAccountSid to try to...
  21. Replies
    13
    Views
    16,083

    Re: LookupAccountSid Function

    Actually after trying to ascertain the owner of files from a foreign XP domain (unknown to the computer on which it is executed), it seems that the LookupAccountSid Function fails reporting:
    error...
  22. Replies
    13
    Views
    16,083

    LookupAccountSid Function

    I have the sid of the owner of a file, and I am using it to call LookupAccountSid ( http://msdn.microsoft.com/en-us/library/aa379166(v=vs.85).aspx ) so that it returns the name of the owner + the...
  23. Replies
    1
    Views
    563

    Re: Enumerate groups or users

    NetLocalGroupGetMembers seems to be one way.
  24. Replies
    1
    Views
    563

    Enumerate groups or users

    Hi
    I have the owner of a file's sid and name and I need to find out either:
    a. what groups the owner of the file belongs to, or
    b. find out what users belong to certain groups eg all the member of...
  25. Replies
    1
    Views
    653

    Easy cross platform dev

    Which is the easiest one at the moment eg CodeBlocks, CodeLite, U++ etc?
Results 1 to 25 of 25





Click Here to Expand Forum to Full Width

Featured