Click here to Skip to main content
15,885,216 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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
Comments
RKnGl 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

1. Perhaps try http://cboard.cprogramming.com/windows-programming/114294-getting-list-usb-devices-listed-system.html[^]

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)
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900