Click here to Skip to main content
Rate this: bad
good
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 20:08pm
sora97635
Comments
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
good
Please Sign up or sign in to vote.

Solution 1

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)
  Permalink  

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 545
1 CPallini 490
2 George Jonsson 297
3 OriginalGriff 250
4 Suvabrata Roy 209
0 OriginalGriff 4,873
1 CPallini 3,900
2 Sergey Alexandrovich Kryukov 3,474
3 George Jonsson 2,646
4 Gihan Liyanage 2,236


Advertise | Privacy | Mobile
Web04 | 2.8.140905.1 | Last Updated 21 Nov 2011
Copyright © CodeProject, 1999-2014
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