Skip to content

Windows API

Discussions on the APIs of the various versions of Windows

This category can be followed from the open social web via the handle windows-api@forum.codeproject.com

811 Topics 2.7k Posts
  • Call a DLL from Excel-VB in Vista

    help question csharp c++ visual-studio
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    5 Posts
    0 Views
    S
    I see a lot of these kinds of questions. Good reply. Steve
  • Re-Direct Resource Call

    learning
    2
    0 Votes
    2 Posts
    0 Views
    D
    There is no call to redirect. There is no code in the imageres.dll file. It's just a library of resources, that's all. The only way you can do this would be to create a copy of the imageres.dll and replace the content you want with source third party resource editor. A guide to posting questions on CodeProject[^] Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic      2006, 2007, 2008
  • How to get information about currently logged in user ?

    c++ help tutorial question
    3
    0 Votes
    3 Posts
    0 Views
    V
    Thanks Ernest!! I m studding the code. Also I m working on some thing like, as given in my query now I want my second application to be launched on the desk tops all the logged on users i.e. Suppose I have three users say 1)Administrator 2)Ernest (Limited user) 3)Vaibhav (any guest user). Now my first application launches when administrator logged in this application is going to call the second application mean time switch user event occurred and Ernest logged in and after that Vaibhav logged in so now 3 users are logged in and the second application is yet not invoked. After some time the second application (dialog based) is invoked and the dialog box a the dialog box is shown only on the administrator account. I m working on that the second application should be launched on all the logged on users desktop so any body who is currently logged in and his desktop is active can see the dialog box of the second application. I m working on windows Vista. Again thanks for your valuable suggestion. With best regards, Vaibhav Deshpande
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • Anyway to interact with the vista desktop via c#?

    csharp question
    2
    0 Votes
    2 Posts
    0 Views
    T
    Everything is managed through the DWWM (google it). I do not believe their is a way to interact with the 3D surface, but their are some basic desktop Windows API commands (google it). If you want to replace the desktop you would just have to create a full screen application that uses 3D capabilities that emulates the Windows Desktop. Regards, Thomas Stockwell Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. Visit my homepage Oracle Studios[^]
  • Win32 API, C#, MFC, etc. that might be 'UAC' issues.

    csharp c++ sysadmin json tutorial
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Direct cable connection

    linux help tutorial
    2
    0 Votes
    2 Posts
    0 Views
    R
    Vista drop support for DCC.
  • Do you recomend converting application to Vista ?

    csharp html asp-net com sysadmin
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Can Reading a File Virtualization?

    question
    6
    0 Votes
    6 Posts
    0 Views
    M
    FIle system virtualization is only used in directories that you don't have write privs to. Since %APPDATA% is always writable, virtualization doesn't apply. --Mike-- Visual C++ MVP :cool: LINKS~! CP SearchBar v3.0 | C++ Forum FAQ I work for Keyser Söze
  • Please help me.....!!! Vista Grub error...!!!!!!

    help
    2
    0 Votes
    2 Posts
    0 Views
    M
    'Vista Loader 2.1.2' is a crack to enable OEM-locked Windows Vista to be loaded on other hardware. Source[^]. If you obtained your system with this version on it, go to http://www.microsoft.com/genuine/[^] to report it and see if Microsoft will reward you with a genuine copy. If you have a genuine Windows Vista Ultimate DVD, purchased from a retail store with the proper box and hologrammatic CD label (see How To Tell[^]), wipe the system and install that version. Ultimate is a superset of Home Premium. Replacing the MBR may also be an option. See here[^] for how to do this. DoEvents: Generating unexpected recursion since 1991
  • 0 Votes
    3 Posts
    0 Views
    V
    Hi!! I am working on an application which is invoked by the windows service. I have overcome the difficulty of UAC in Vista i.e. my application is invoked as the service is started and as well as the new user logged in. Now I m stucking at a point that I have added the Tray Icon for my application, when application is first invoked the tray icon is shown on the system tray but when switch user event occured and new user logged in then though the application is invoked I am not getting the tray icon of my application. With regards, Vaibhav Deshpande
  • Run as Admin!

    question discussion
    6
    0 Votes
    6 Posts
    1 Views
    E
    Thanks for your suggestions. It does appear that Visual Basic 2008 Express edition does have some User Account issues with Vista. After getting the permission issuse with my older VB.NET programs straightened out I was able to run them with Visual Basic 2008 Express. Thanks again. I'm hoping that a full up copy of Visual Studio 2008 will not have these same issues. Pete
  • read registry key(s) on remote computer

    csharp windows-admin help question
    5
    0 Votes
    5 Posts
    0 Views
    D
    You're using the hard method of getting the machines RAM size. You can do the same thing with WMI and the Win32_ComputerSystem and/or Win32_PhysicalMemory classes to get the total RAM size, without doing all the nasty calculations to computer it from the registry. Of course, you're still going to need an account that has permissions on the remote machines. A guide to posting questions on CodeProject[^] Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic      2006, 2007, 2008
  • Recommnded books on developing applications for Vista

    csharp tutorial
    3
    0 Votes
    3 Posts
    0 Views
    C
    I have used Writing Secure Code for Windows Vista by Michael Howard and David Leblanc
  • 0 Votes
    3 Posts
    0 Views
    V
    Sorry Boss!! It was my mistake that the question was reposted because I was unable to see my first post so I reposted the same question again and after that I saw two posts of same question. Sorry for the inconvinience caused by me.. By the way I got the right answer for my post, Thanks codeproject members. With regards, Vaibhav
  • Help !!!!! Mapimail problems

    help windows-admin linux announcement
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • "Rules" for vista coding?

    com windows-admin tutorial question
    4
    0 Votes
    4 Posts
    0 Views
    M
    Here's some more UAC-related links that may or may not be helpful[^] Mark Mark Salsbery Microsoft MVP - Visual C++ :java:
  • Getting a .NET application to work on Vista

    csharp help question dotnet
    2
    0 Votes
    2 Posts
    0 Views
    P
    See title. Deja View - the feeling that you've seen this post before. My blog | My articles
  • 0 Votes
    1 Posts
    0 Views
    No one has replied