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

Search:

Type: Posts; User: Kurosan

Page 1 of 2 1 2

Search: Search took 0.04 seconds.

  1. Replies
    1
    Views
    547

    Is it possible to monitor file printing?

    Is there any way to monitor what a user is printing (via local or network printer) as I need to log it (or be alerted) if the printing contains some key words?
  2. Re: How to shutdown the XP system if my program is terminated by someone?

    Is this still workable as all the users in my company are logging onto their PCs with administrative rights?
  3. Re: How to shutdown the XP system if my program is terminated by someone?

    My program is supposed to prevent users from doing certain activities, so killing the program will circumvent the restrictions.
  4. Re: How to shutdown the XP system if my program is terminated by someone?

    How would my program be notified that it's going to be terminated before shutting down or rebooting the system?
  5. How to shutdown the XP system if my program is terminated by someone?

    When my program is running and if it is terminated (intentionally) via the Task Manager's Process tab, how can my program force a system shutdown or reboot?

    It would be better if there is sample...
  6. How to get notified when a USB hard disk is inserted?

    Could someone give a code on how to receive notification when a USB hard disk is inserted?
  7. Re: How to keep my exe running to disable print screen?

    Thanks leojose, it's working. Is there any way to hide my program from the Task Manager under WinXP?
  8. Re: How to keep my exe running to disable print screen?

    leojose

    What is the equivalence of your 'msg' in my code or is it a new variable to be defined?
  9. How to keep my exe running to disable print screen?

    I'm using the following code to disable print screen. The problem is that my program will terminate once it hits the "return 0" statement in WinMain() , how to keep my exe program running so as to...
  10. Replies
    0
    Views
    925

    How to clear a printer buffer/memory?

    Can someone show me how to clear a printer buffer or memory?

    Thanks.
  11. How to check whether a particular data exist in the registry RunServices?

    I want to check whether an entry like app.exe does exist in the data value of the registry key
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunServices]

    How do I do a recursive...
  12. Replies
    2
    Views
    494

    How to search for hidden folder?

    A folder has been hidden from the view of Explorer and MS DOS box, I can't see the folder even setting the Explorer to show all files.

    Is there a way to confirm this folder does exist under...
  13. Replies
    3
    Views
    897

    How to suppress system error message?

    If my program encounters a system error, how to prevent the system error message from being displayed?
  14. Thread: LNK2001 error

    by Kurosan
    Replies
    4
    Views
    805

    I try your method and use the 16-bit DLL (not the...

    I try your method and use the 16-bit DLL (not the .lib file) and get this error:

    error LNK2001: unresolved external symbol "__declspec(dllimport) int __stdcall ReadSize(unsigned char, unsigned...
  15. Thread: LNK2001 error

    by Kurosan
    Replies
    4
    Views
    805

    LNK2001 error

    My 32-bit DLL needs to call a 16-bit DLL ReadSize16.dll and
    I get the linking error:
    error LNK2001: unresolved external symbol "int __stdcall _ReadSize(unsigned char, unsigned char *, unsigned...
  16. How to get notified when PrintScreen key is depressed in Win9x?

    Under Win9x, I want to write a program that gets notified when the 'PrintScrn' key is being pressed, can someone help?
  17. Replies
    5
    Views
    2,035

    Thanks for the help. The code is for NT/2K/XP,...

    Thanks for the help.

    The code is for NT/2K/XP, how about Win9x ?

    I changed the parameter from WH_KEYBOARD_LL to WH_KEYBOARD and it doesn't work in Win9x.
  18. Replies
    5
    Views
    2,035

    Any way to disable the 'Print Screen' key?

    Is there a way to disable the 'Print Scrn' key to prevent screen capturing?
  19. Replies
    3
    Views
    1,256

    How to close the console window?

    I use CreateProcess to execute a DOS program and call WaitForSingleObject(..., INFINITE) to wait till it's finished.
    But the console window remains open until I close it manually.

    How to close...
  20. How to get the disk size for a DOS/16-bit program?

    I need to check the disk size under DOS environment, can someone help?

    Thanks.
  21. How to trap the return error of system() ?

    I'm writing a DOS program and is using system() to call an exe.
    How do I trap the return error of the system() call?

    Also is there any Sleep() function for a DOS program?

    Thanks.
  22. Sorry for the confusion. I need to have two...

    Sorry for the confusion.
    I need to have two versions, one to run upon bootup (DOS environmnet) and the other to run under Windows environment.
  23. My intention is to create an exe which can run...

    My intention is to create an exe which can run upon system bootup using a bootable media. So i thought the exe need to be a DOS program running under RAM disk.

    Any suggestion?
  24. Sorry about that. I made a mistake in my coding....

    Sorry about that. I made a mistake in my coding.

    Does it mean that Visual Studio can not create a real DOS project?
  25. How to execute a 16-bit or DOS application in a 32-bit program?

    I have a third party 16-bit/DOS application which runs fine in the DOS console under Win98. When using the system() or ShellExecute() to execute the third party app in my 32-bit program, an error...
Results 1 to 25 of 30
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured