Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: dc2000
  • Content: Threads
  • Order by date
  1. dc2000

    Can I tell what phone number is being dialed by an alarm panel?

    Hi everyone: Let me explain my dilemma. We have this fire alarm panel installed in the manager's office in our apartment complex. It says "Silent Knight 5808" on the front of it. It works by having sensors in the air ducts all over the complex. And if one of them is tripped by smoke the panel...
  2. dc2000

    Can I use Windows Script Encoder on my ASP NET pages?

    Hi everyone: I'm trying to migrate from ASP to ASP NET and I'm wondering if I can use Windows Script Encoder on my ASP NET pages?
  3. dc2000

    CopyImage and/or HBITMAP from another process

    Hi everyone: I've come upon a problem when trying to copy a bitmap handle from a window of one process to another. I have a static bitmap control in one app and I am copying its bitmap handle to another using CopyImage API like this: HANDLE hBitmap = (HANDLE)SendMessage(hStaticWnd...
  4. dc2000

    Access internal data by icon/cursor handle?

    Hi everyone: Is there any way to get access to internal data represented by Icon or Cursor handle (HICON or HCURSOR) -- some sort of kernel or low-level API that does opposite to CreateIconFromResource()? Something that could return icon/cursor intenal data given its handle? I know that there...
  5. dc2000

    WindowFromPoint can't find window

    Hi guys: How come WindowFromPoint API can't recognize a window with WS_EX_TRANSPARENT and WS_EX_LAYERED styles? If it is made by design how to bypass it to receive a handle of such window from a point on the screen? Thanks in advance
  6. dc2000

    Access HKEY_LOCAL_MACHINE Registry Key from non-Administrators accoun

    Hi everyone: I am creating a program that requires registration, so I am attempting to write all the user information into the Windows Registry under HKEY_LOCAL_MACHINE key for it to be accessible if my program is run from every user account on that machine. Everything works great until a user...
  7. dc2000

    XP Theme in Property Sheet for dynamic control

    Hello everyone: I was successfully using EnableThemeDialogTexture API to enable XP theme in a tab control dialog box for a custom made Property Sheet until the time when I had to add a dynamically created static control to it. This static control is created from the WM_INITDIALOG message...
  8. dc2000

    Save cursor in a file (.CUR file format)?

    Hi everyone: Does anyone know how to save a cursor in a file? Any links regarding .CUR file format? Any info will be appreciated...
  9. dc2000

    How to create shortcut link on the Quick Launch bar?

    Hello everybody: Does anyone know how to create a shortcut link on the Windows Quick Launch bar? (That is the one next to Start button) I found lots of documentation about Desktop, Start Menu, but nothing about Quick Launch. Any ideas will be greatly appreciated!
  10. dc2000

    How to get a size of a function

    Hi everyone: I need to inject a function into a process using WriteProcessMemory but it requires its size in bytes. Is there any way to find it out? I tried sizeof() and compiler returned an error.
  11. dc2000

    Center MessageBox() in Win32

    Hi everyone: I seem to be stumped by the simplest -- I have a Win32 program and I need to display a message box centered by the parent window. Here's the example: MessageBox(hParentWnd, "Message to display", "Program Name", MB_ICONERROR | MB_OK); Well, the problem is that it is centered in...
  12. dc2000

    Windows Hook on Win9x system

    Hi everyone: I've reached a complete deadend trying to install a Windows hook on a Win9x system (Windows 95/98/Me). The following code works fine on any of the WinNT systems (Windows NT/2000/XP) but it does mysteriously nothing on neither of my Windows 95 or 98. Any help will be GREATLY...
  13. dc2000

    How to get language from a dialog resource at run-time?

    Hi everybody: Is there any way to determine a language of a resource (dialog in particular) at a run-time? I know some'd say look in Resource View window, but the problem is that I need it done in a DLL module. Any help will be greatly appreciated :)
  14. dc2000

    Console window or not by handle?

    Hi guys: Is there any way to tell if the app is a console or GUI simply by having a handle to its main window?
  15. dc2000

    GetModuleFileName() with console app?

    Hi everyone: It seems to be very easy but somehow I'm stuck in the middle of it. The GetModuleFileName(hModule, pFileName, nSz) returns NULL if hModule refers to console app (and probably 16bit app too). There's absolutely no way around it as I need to get file path from the window handle...
  16. dc2000

    Difference between Microsoft Visual C++ .NET 2002 and 2003?

    Hi everybody: I'm currently using Microsoft Visual C++ .NET 2002. I've seen screenshots of Microsoft Visual C++ .NET 2003. Can somebody tell me if there is a big difference between two? And whether I should upgrade or not? Thanks in advance...
  17. dc2000

    GetProcessImageFileName() question

    Hi everyone: I seem to have an issue with GetProcessImageFileName() function on my Windows XP. It returns file path that looks like this: "\Device\HarddiskVolume1\Windows\system32\notepad.exe" But when I try to open this file I get an error "ERROR_PATH_NOT_FOUND" -- what is this...

Part and Inventory Search

Back
Top