chkdsk /X from VB6 program in xp home doesn't work for me
I'm writing a visual basic 6 program to test for fake usb flash drives.
Couldn't figure out how to clear the write cache so I could verify what's actually on the flash drive,
so the rpogram runs chkdsk driveletter: /X which dismounts the drive. Doesn't hurt to have chkdsk run.
works great in win2k, XP Pro and windows 7.
In XP home, the command box comes up, but closes quickly. The flash drive was not dismounted.
I can run chkdsk f: /X manually from the command box and it works fine.
My program uses createprocessA and waitforsingleobject to start chkdsk f: /X and wait for it to finish.
Is there a way to make this work with XP HOME? Or an easy alternative way to flush
the write cache so I can read what's on the flash drive and not what's in the windows cache?
Solutions to the Problem chkdsk /X from VB6 program in xp home doesn't work for me
Windows Error Reporting - To Fix chkdsk /X from VB6 program in xp home doesn't work for me
- Go to Start button.
- Open Control Panel.
- Go to Windows Error Reporting.
- Click on System and Maintenance, then click Problem Reports and Solutions.
- Next, click Change Settings located on the left side panel of the Problem Reports and Solutions window.
- Select an option to configure how you want Windows to look for a solution to your problems. You may allow Windows to do it automatically or ask you every time to check if problem occurs.
- Next, click the Advanced settings link.
- Select Off to turn off Error Reporting.
Another Safe way to Fix the Problem: chkdsk /X from VB6 program in xp home doesn't work for me:
How to Fix chkdsk /X from VB6 program in xp home doesn't work for me with SmartPCFixer?
1. Click the button to download Error Fixer . Install it on your system. Open it, and it will scan your computer. The errors will be shown in the scan result.
2. After the scan is finished, you can see the errors and problems need to be repaired. Click Fix All.
3. The Repair part is finished, the speed of your computer will be much higher than before and the errors have been removed. You can also use other functions in SmartPCFixer. Like dll downloading, junk file cleaning and print spooler error repair.
Related: How Can You Update & Download Toshiba Satellite 5105-S501 Intel PRO 10/100 Driver v.220.127.116.11,How to Update & Download Toshiba Satellite C655D-S5139 BookPlace v.2.2.7530 driver,Method to Update & Download Toshiba Satellite L655-S5073 Realtek Wireless LAN Driver v.2.00.0011,Method to Update & Download Toshiba Satellite L840-ST2N01 Sleep Utility v.1.4.0022.000104 driver,Best Way to Update & Download Toshiba Satellite Pro S300-EZ2502 Extended Tiles for Windows Mobility Center v.1.01 driver,Best Way to Download NVidia GeForce 6100 VGA Driver v.304.51 Certified,How Can You Update & Download NVidia GeForce 9300/nForce 730i VGA Driver v.310.19 Certified,Method to Download NVidia GeForce GT 330M Driver v.340.65,How Can I Update & Download NVidia GeForce GTX 590 Driver v.280.26 WHQL,Method to Download NVidia Tesla C2050 Driver v.319.17,Way to Download RealTek RTL8100C(L) Driver v.5.01,Way to Download RealTek RTL8100E Drivers v.694,Way to Update & Download RealTek RTL8101L Auto Installation Program v.6.110 driver,Method to Update & Download RealTek RTL8111G PXE and RPL ROM code v.2.58 driver,How to Update & Download RealTek RTL8411B(N) Driver v.10.003,Best Way to Update & Download ASUS A53SV nVidia Graphics Driver v.18.104.22.16886,Method to Herunterladen ASUS K75VJ Intel Rapid Storage Technology Treiber v.22.214.171.1240,How Can You Update & Download ASUS CG8580 Intel Chipset Driver v.126.96.36.1999,Method to Update & Download ASUS K41VD Intel INF Update Driver v.188.8.131.525,Way to Update & Download ASUS Pro70T NB Probe v.3.0.0026 driver,Can't Download PP Templates Automatically To Windows 7 W/IE 8,Can't Change Drive Letter - Vista,Can't Change Homegroup Sharing Permission,Can't Connect XP Shared Printer To Win7 Except As A Local Printer.__,Can You Connect The LAN Adapter For Wii On Your Windows 7 Laptop?
Read More: Troubleshooting:Chart\/Range in specific sheet in XLS to specific slide in PPT Error,How Can I Fix - CD/DVD ROM reading as CD/ DVD RAM only...?,[Solution] cant connect to messenger on acer,[Solution] cant find 'C:\\Program Files (x86)\\Dell DataSafe Local Backup\\components\\scheduler\\STService'. What do I do?,How to Fix - Change print default to as laid out on screen?,Can't access c drive to open programs.,Can you use just one hard drive to store a backup disk image and restore for multiple computers?,can not install Mcafee due to Java script error,,Can Word's track changes comments print in the outside border?,cannot install old software program because computer missing indeo codec driver