Click here to Skip to main content
11,435,451 members (62,304 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: VC6 VC7 VC7.1 VC8.0 C++ C VC9.0 , +
Hello, I am completely new to vc6 especially in mfc, my question is how to do the ff:
1. How to list all currently inserted USB drives, list them using listview + USB details, like, free memory, device name etc. only usb drives not the HDD
2. List all antivirus, firewall, softwares in Windows Security Center and list in list view + their status if on/off/out of date
3. list all autostart programs + delete button
4. doing registry delete/add/modify in vc6
I know how to do this in VB.NET but not in VC6 MFC
Please help me
Posted 20-Nov-11 21:08pm
RKnGl at 21-Nov-11 3:54am
lol ,,, and I do not mean League of Legends ...

You might consider making several threads corresponding to each and every of Your very diversified questions and, on the serious note, hire a professional as You obviously have no clue about ANY of the topics You asked help for ...

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

1. Perhaps try[^]

2. No idea, there is probably an API somewhere, or a registry key. At least the Windows Firewall has an API documented on MSDN[^]

3. These live in 2 basic locations. The Startup folder in the start menu of the current user, and the shared user start menu, and the Run registry, such as HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run, HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run (also the RunOnce for things like installers). Note: On a 64 bit computer these keys can be stored in either the 64 and 32 bit registry locations, or both. This means you must also check things like HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Run

4. Using the Registry API[^]. Check out the example on MSDN[^] (links to some more examples on the left hand side)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Advertise | Privacy | Mobile
Web01 | 2.8.150428.2 | Last Updated 21 Nov 2011
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100