Friday, December 28, 2012

How to Convert VB6 to VB 2010


1. Click the Windows 'Start' button and select 'All Programs.' Click 'Microsoft .NET 2010,' then click 'Visual Studio 2010' to open the software.
2. Click the 'File' menu item. Click 'Open,' and in the sub-menu of options, click 'Convert.' Double-click the VB6 project file in the dialog window to start the wizard.
3. Click 'Visual Basic .NET Upgrade Wizard' in the list of options. Click 'Next' in the first welcome window.
4. Select 'EXE' from the file type window. If the VB6 project is a DLL, choose 'DLL' instead and click 'Next.' The conversion window begins the upgrade.
5. Click 'OK' in the confirmation window. You can review the code changes in the files after the conversion wizard runs. Click 'Run' to execute the new code in the VB.NET debugger.
Read more ►

Thursday, December 27, 2012

How to Download a File on WinInet.DLL


1. Create a new function that takes the URL as its single parameter, using this code:std::string GetUrl(const char *URL)
{
2. Insert this code to create a new constant buffer to store the size of the parts that make up your file:const int DownloadBufferSize = 1024;
3. Add this code to create a constant that stores errors, in case your program throws one:const std::string errorString = "ERROR";
4. Use the HINTERNET function of WinInet to open an Internet connection, before you attempt to download the file, by inserting this code:HINTERNET hInternet = InternetOpen("GINA: Version 0.1", INTERNET_OPEN_TYPE_DIRECT, NULL, 0,0);
if(hInternet == NULL){
return errorString;
}
5. Open the URL by using this code:HINTERNET hFile = InternetOpenUrl(hInternet, URL, NULL, 0, 0, 0);
if(hFile == NULL){
return errorString;
}
6. Create a buffer that holds file size by inserting this code:DWORD sizeBuffer;
DWORD length = sizeof(sizeBuffer);
7. Get the file size by using this code:bool succeeds = HttpQueryInfo(hFile, HTTP_QUERY_CONTENT_LENGTH | HTTP_QUERY_FLAG_NUMBER, &sizeBuffer, &length, NULL) == TRUE;
8. Create a new string to store the file by inserting this code:std::string downloadedContents = "";
9. Insert this code to set the download buffer and count the number of bytes your program downloads:char *downloadBuffer = new char[DownloadBufferSize];
DWORD bytesRead = 0;
do{
InternetReadFile(hFile, downloadBuffer, DownloadBufferSize, &bytesRead);
10. Append the contents of the download buffer to the file until the file is complete by using this code:downloadedContents.append(downloadBuffer, DownloadBufferSize);
}while(bytesRead != 0);
11. Close the WinInet handles and the program by using this code:InternetCloseHandle(hFile);
InternetCloseHandle(hInternet);
return downloadedContents;
}
Read more ►

How to Access a Dll for Visual Basic


1. Create a call to the DLL file. In this example, a call to a DLL that manages the hard drives on the machine is used. The following code creates a call to the file:
Declare Sub getdiskinfo Lib 'c:\myDLL' (ByVal drive As String, ByVal volume As String, free_space As Long)
2. Create variables to send to the function and variable that contains the return value. The following code is used to declare variables in Visual Basic:
Dim drive As String
Dim volume As String
Dim free As Long
Dim returnValue As Integer
3. Call the function and return a value. The following code illustrates how you use a DLL function in Visual Basic:
returnValue = getdiskinfo (drive, volume, free)
4. Display the result to verify your function results. The message box is used to test values in Visual Basic. The following code displays the return value from the 'getdiskinfo' function call:
MsgBox returnValue
Read more ►

How to Run Disk Cleanup on Windows XP Replaced by Unrecognized Versions


1. Insert the Windows XP Setup CD into the CD drive on your computer if you are prompted to. Close the auto run box by clicking the 'X' in the top right corner.
2. Click 'Start,' 'Run' and type 'sfc /scannow' in the open field and click 'OK.' A Windows File Protection dialog box opens with 'Please wait while Windows verifies that all protected Windows files are intact and in their original version' message. This process will take approximately 15 minutes to complete, and automatically repairs any files that are not in their original version. When it is finished, the box will close automatically.
3. Click 'Start,' 'Turn off Computer' and select 'Restart.'
Read more ►

Tuesday, December 25, 2012

How to Correct an Svchost.Exe Application Error for Good


Verify Settings
1. Go to 'Start > Run' and type 'services.msc.' Hit 'OK' to load the menu.
2. Click on 'Automatic Updates.'
3. Hit 'Log On' tab and check the box for 'Local System Account' and uncheck 'allow service to interact with desktop.'
4. Go to 'Hardware Profiles' and hit 'Enable' for the service box.
5. Click the 'General' tab and select 'Automatic' for 'Startup Type.'
6. Click the 'Start' button for 'Service Status.'
7. Find 'Background Intelligent Transfer Services' on the menu and select the same settings for it as the steps above.
Fix DLL Problems
8. Go to 'Start > Run' and type 'cmd' into the box. Hit 'OK' to load the Command Prompt.
9. Type in 'REGSVR32 WUAPI.DLL' and press 'Enter.' Wait to see the 'success' notification before proceeding.
10. Type in the following commands, one by one, and hit 'Enter:'REGSVR32 WUAUENG.DLLREGSVR32 WUAUENG1.DLLREGSVR32 ATL.DLLREGSVR32 WUCLTUI.DLLREGSVR32 WUPS.DLLREGSVR32 WUPS2.DLLREGSVR32 WUWEB.DLL
Delete Files
11. Type in the following commands, one by one, and hit 'Enter.'net stop WuAuServcd %windir%ren SoftwareDistribution SD_OLDnet start WuAuServ
12. Type in 'Exit' to shut down the Command Prompt.
13. Restart your PC.
Read more ►

Monday, December 24, 2012

How to Fix Xwpdlx.20 Errors


1. Open the 'Add/Remove Programs' dialog box located under your computer's 'Control Panel.'
2. Verify the location of the Softuarium program. If it is installed on your computer, remove the program by selecting the 'Add/Remove' programs menu button.
3. Run an antivirus program update from your program's control panel. Most antivirus programs will have a single menu selection to run when updating the software.
4. Conduct a complete system scan with your antivirus software. If you do not have antivirus software installed on your computer there are several popular programs listed in the Resources below.
5. Repair registry errors creating the error by downloading and running a registry repair tool (see Resources).
6. Restart your computer and the Xwpdlx.20 error will be removed.
Read more ►

How to Fix Msvcr70.dll


Restore from Recycle Bin
1. Close all active programs. Double-click the “Recycle Bin” icon on the Windows desktop.
2. Scroll through the listed of deleted files and folders in the Recycle Bin window until you locate the MSVCR70.dll file.
3. Click the MSVCR70.dll file to highlight it. Click the “Restore this Item” button on the Recycle Bin toolbar. Close the Recycle Bin window and attempt to restart the application that displayed the MSVCR70.dll error.
Reinstall Application
4. Insert the installation CD for the application that produces the MSVCR70.dll error. After the AutoPlay window appears, click the “Install” or “Setup” link. Alternatively, use Windows Explorer to navigate to the folder on your hard drive that contains the “Install” or “Setup” file for the error-causing application, and double-click the file.
5. Accept the License Agreement for the application, and click “Continue” or “Next.” Leave the default installation folder and other parameters in place; follow the remaining prompts to install the program on your PC.
6. Click “Finish” or “Restart” when prompted to complete the installation of the program, and reboot your computer. Once you reinstall the application, Windows registers the MSVCR70.dll file and makes it available to the application.
Windows System File Checker
7. Click the “Start” button and type “Cmd” or “Command” in the “Start” menu search box. Press “Enter” to display the Command Prompt window.
8. Type the “sfc /scannow” command at the prompt. Wait a few seconds for Windows to scan all system files and check them for problems. If Windows determines that the MSVCR70.dll file is corrupt or missing, the operating system replaces the file from an internal back up cache. Depending on the speed of your computer, the scan might take several minutes to complete.
9. Close the Command Prompt window after Windows scans your system and repairs or replaces damaged or missing system files.
10. Launch the application that was displaying the MSVCR70.dll errors.
Read more ►

How to Reset the Quickbooks Registry


Change or Delete the Registry Directly
1. Locate the qbregistration.dat file. Sometimes an update from an anti-virus program or from Microsoft Windows can corrupt the QuickBooks registration file. This option involves going into your operating system and choosing to view hidden files. Unless you are fully confident in your ability to change or alter your operating systems files, do not choose this method. To find this file, right-click the 'Start' button. Click 'Explore' and then 'Organize'. Find the 'Folder and Search Options' and then on the 'View' tab.
2. Choose the 'Show hidden Files and Folders'. Clear the checkmark next to 'Hide Protected System Operating Files.'
3. Change the name of the 'qbregistration.dat' file by adding an 'x' before the 'q' in the file name. Restart the installation process to see if the registry error is fixed. If it is not, delete the file name and restart again.
Repairing or Uninstalling QuickBooks Software
4. Create a backup of the company file. You do this by clicking on the 'File' button, scroll down to the 'Make Copy or Backup' option and click. When prompted for the location to save this company file to, choose either an external hard drive or a flash-drive. Set the backup copy aside.
5. Click on the 'Control Panel' option in the 'Start Menu'. Open the 'Add/Remove Programs' window by clicking on that option. When the window opens it should show all the programs that are on the computer.
6. Locate the 'QuickBooks' program and click on the 'Change/Remove' button. When the next window opens, you will have the option to 'Repair QuickBooks' or 'Uninstall QuickBooks' For this first option, choose the 'Repair QuickBooks' button. This will reset the registry and set the software back to the condition it was in upon first being installed onto your computer.When the repair process is complete, restart the computer and the software to see if the registry error is still occurring. If it is you will have to uninstall the software and then reinstall it.
7. Open the 'Add/Remove' programs window again. Click on the 'QuickBooks' folder and when the next window opens, choose the 'Uninstall' option. Allow the un-installation process to complete and then reinstall the software.
8. Locate the original QuickBooks software disc with the original envelope it came in. There will be a bright yellow sticker located on the envelope and the sticker will have the product identification number and the serial number printed on it. You will need these numbers to complete the re-installation process. When prompted, enter these numbers.A Re-installation will reset the QuickBooks registry and restore the software to the original condition it was in at the time it was first installed. The re-installation process will prompt a window instructing you to get the latest updates to QuickBooks software. Click on the 'Ok' button to get these updates before trying to open the backup copy you created earlier.
Read more ►

How to Remove AcroIEHelper.dll


1. Close any Web browser you have open on the computer. Click the Windows 'Start' button and type 'services' in the search text box. Press 'Enter' to open the Control Panel's 'Services' utility.
2. Click the 'Services' icon in the left panel. A list of services running on the computer is displayed. Click the 'Adobe Acrobat' service and click 'Stop.' Stopping the service releases the lock placed by the operating system, so you can delete it from your system.
3. Click the Windows 'Start' button again and type 'AcroIEHelper.dll' in the search text box. Press 'Enter' to display the location of the file. Right-click the file in the search results and select 'Delete.' Click 'Yes' to confirm you want to delete the file.
Read more ►

Sunday, December 23, 2012

How to Activate ActiveX Controls


1.
Click 'Tools' and 'Options' from the Internet Explorer navigation toolbar. This will open the Internet Options window.
2.
Select the 'Security' tab and then click the 'Custom Level' button.
3.
Scroll down to the heading for 'ActiveX Controls and Plug-ins.'
4. Check the 'Enable' button next to 'Run ActiveX Controls and Plug-ins.' Also, click the 'Enable' button next to 'Script ActiveX Controls Marked Safe for Scripting.' This will activate your ActiveX controls.
5.
Choose 'Yes' when a warning message asks to verify your intent to change the security settings.
6. Click 'Apply' and 'OK' to exit from this window.
Read more ►

How to Replace Usp10.dll


1. Browse the Internet to a download page for a replacement version of usp10.dll. You can find a link to one such page in the Resources section below.
2. Click the download link and follow the on-screen prompts to save the .zip file to your computer.
3. Double-click the .zip file to open it in your default unzipping program. Click the 'Extract' or 'Unzip' button and select the desktop as your file destination, then click 'Open' to extract the file to your desktop.
4. Double-click the 'My Computer' icon and browse to your Windows system folder. The exact location of this folder depends on which Windows operating system you're using. You should navigate to 'C:\Windows\System32' if you're using the 32-bit versions of XP or Vista. If you're using the 64-bit versions of these systems, you should navigate to 'C:\WindowsSysWOW64' instead. If you're using Windows 2000 or Windows NT, the system folder is located at 'C:\WINNT\System32.' Windows 95, 98 and ME users can find the system folder at 'C:\Windows\System.'
5. Click and drag the usp10.dll file from the desktop into the system folder. If a corrupted version of this file still exists in the folder, Windows may ask you if you want to replace the file. If this happens, click 'Yes.'
6. Reboot your computer for the changes to take effect.
Read more ►

Saturday, December 22, 2012

How to Fix Registry Files


1. Download and install CCleaner at no charage (see Resources below).
2. Launch your program after it has installed and click 'Registry' on the left panel.
3. Click 'Scan for Issues.' CCleaner will scan for registry errors, missing dll files, missing MUI references, keys and values.
4. Click 'Fix selected issues' when the scan is complete. Click 'Yes' to back up and save the registry. Type a name for the backup and click 'Save.'
5. Click 'Fix all selected issues,' and click 'OK' to fix the registry errors.
Read more ►

Friday, December 21, 2012

How to Get Rid of the Rich Video Codec 1.6


Automatic Removal
1. Click 'Start,' 'All Programs' and 'Windows Defender.'
2. Click the down arrow next to Scan and select 'Full Scan' from the drop-down menu. Windows Defender scans your entire computer and automatically removes any malicious programs that it detects. The may take anywhere from several minutes to several hours.
3. Restart your computer.
Manual Removal
4. Press 'Ctrl,' 'Shift' and 'Escape' to open the Task Manager. End each of the following processes by right-clicking the process and selecting 'End Process.'ttvbonnlq.exevideoaccesscodecinstall.exerichvideocodec\uninstall.exemonhop.exettvbonnlq.exevideoaccesscodecinstall.exe
5. Click 'Start,' type 'cmd' into the search field and press 'Enter' to open the Command Prompt. Type the following commands into the Command Prompt. Press 'Enter' after each command.regsvr32 /u codecbho.dllregsvr32 /u viruscleaner.dllregsvr32 /u werbetgxd.dllregsvr32 /u richvideocodec.dllregsvr32 /u pmkret.dllregsvr32 /u multiloader.dllregsvr32 /u monhop.dllregsvr32 /u pmkret.dllregsvr32 /u werbetgxd.dllregsvr32 /u gormet.dlldel richvideocodec.ocx
6. Click 'Start,' type 'regedit' into the search field and press 'Enter' to open the Registry Editor. Delete the following registry entries from the left pane of the Registry Editor by right-clicking the registry entry and selecting 'Delete.'HKEY_CLASSES_ROOTappid{184abe04-f423-4c41-b20e-8028ef8261ed}HKEY_CLASSES_ROOTappid{88265d10-64ea-45af-a84b-93a296e2be91}HKEY_CLASSES_ROOTappid{f4406238-983a-4845-9053-f1d0007fd135}HKEY_CLASSES_ROOTappidcodecbho.dllHKEY_CLASSES_ROOTappidcodecbho.dll appidHKEY_CLASSES_ROOTbxloader.loaderHKEY_CLASSES_ROOTbxloader.loader.1HKEY_CLASSES_ROOTbxloader.loader.1clsidHKEY_CLASSES_ROOTbxloader.loaderclsidHKEY_CLASSES_ROOTbxloader.loadercurverHKEY_CLASSES_ROOTclsid{05075a7c-3bda-48a8-b40f-c0f71b039263}HKEY_CLASSES_ROOTclsid{098716a9-0310-4cbe-bd64-b790a9761158}HKEY_CLASSES_ROOTclsid{098716a9-0310-4cbe-bd64-b790a9761158} appidHKEY_CLASSES_ROOTclsid{098716a9-0310-4cbe-bd64-b790a9761158}inprocserver32HKEY_CLASSES_ROOTclsid{098716a9-0310-4cbe-bd64-b790a9761158}inprocserver32 threadingmodelHKEY_CLASSES_ROOTclsid{098716a9-0310-4cbe-bd64-b790a9761158}progidHKEY_CLASSES_ROOTclsid{098716a9-0310-4cbe-bd64-b790a9761158}programmableHKEY_CLASSES_ROOTclsid{098716a9-0310-4cbe-bd64-b790a9761158}typelibHKEY_CLASSES_ROOTclsid{098716a9-0310-4cbe-bd64-b790a9761158}versionindependentprogidHKEY_CLASSES_ROOTclsid{31de3194-c748-48bb-b620-2d0156b5e1ad}HKEY_CLASSES_ROOTclsid{382c8a97-bfef-47b5-9770-87c4de651e37}HKEY_CLASSES_ROOTclsid{3cfdeaeb-1421-4e49-bc18-9b70d7157fec}HKEY_CLASSES_ROOTclsid{3cfdeaeb-1421-4e49-bc18-9b70d7157fec} appidHKEY_CLASSES_ROOTclsid{3cfdeaeb-1421-4e49-bc18-9b70d7157fec}inprocserver32HKEY_CLASSES_ROOTclsid{3cfdeaeb-1421-4e49-bc18-9b70d7157fec}typelibHKEY_CLASSES_ROOTclsid{3cfdeaeb-1421-4e49-bc18-9b70d7157fec}versionindependentprogidHKEY_CLASSES_ROOTclsid{4ac96b80-a531-4590-b536-5dddb4d8ba28}HKEY_CLASSES_ROOTclsid{4e524163-8d00-46f3-b239-1f42d48c8ed0}HKEY_CLASSES_ROOTclsid{4e524163-8d00-46f3-b239-1f42d48c8ed0}inprocserver32HKEY_CLASSES_ROOTclsid{4e524163-8d00-46f3-b239-1f42d48c8ed0}inprocserver32 threadingmodelHKEY_CLASSES_ROOTclsid{4e524163-8d00-46f3-b239-1f42d48c8ed0}progidHKEY_CLASSES_ROOTclsid{4e524163-8d00-46f3-b239-1f42d48c8ed0}typelibHKEY_CLASSES_ROOTclsid{4e524163-8d00-46f3-b239-1f42d48c8ed0}versionindependentprogidHKEY_CLASSES_ROOTclsid{4f276921-6b61-42bc-abbb-12eadfc02fd3}HKEY_CLASSES_ROOTclsid{4f276921-6b61-42bc-abbb-12eadfc02fd3} appidHKEY_CLASSES_ROOTclsid{4f276921-6b61-42bc-abbb-12eadfc02fd3}inprocserver32HKEY_CLASSES_ROOTclsid{4f276921-6b61-42bc-abbb-12eadfc02fd3}inprocserver32 threadingmodelHKEY_CLASSES_ROOTclsid{4f276921-6b61-42bc-abbb-12eadfc02fd3}progidHKEY_CLASSES_ROOTclsid{4f276921-6b61-42bc-abbb-12eadfc02fd3}typelibHKEY_CLASSES_ROOTclsid{4f276921-6b61-42bc-abbb-12eadfc02fd3}versionindependentprogidHKEY_CLASSES_ROOTclsid{5355303a-2042-4c2a-b86a-3c81184d2401}HKEY_CLASSES_ROOTclsid{6537eff9-5372-40ca-8a1a-04283fb82e35}HKEY_CLASSES_ROOTclsid{8eb24324-3394-4c5f-b69c-744a74797952}HKEY_CLASSES_ROOTclsid{8eb24324-3394-4c5f-b69c-744a74797952}inprocserver32HKEY_CLASSES_ROOTclsid{b1afaf0d-825a-4844-a7b0-bbbdbad35486}HKEY_CLASSES_ROOTclsid{b1be4da0-f221-45f2-9f69-a0506030eaf9}HKEY_CLASSES_ROOTclsid{ca786302-0759-4467-a42b-6997341c5fba}HKEY_CLASSES_ROOTclsid{ca786302-0759-4467-a42b-6997341c5fba} appidHKEY_CLASSES_ROOTclsid{ca786302-0759-4467-a42b-6997341c5fba}inprocserver32HKEY_CLASSES_ROOTclsid{ca786302-0759-4467-a42b-6997341c5fba}inprocserver32 threadingmodelHKEY_CLASSES_ROOTclsid{ca786302-0759-4467-a42b-6997341c5fba}progidHKEY_CLASSES_ROOTclsid{ca786302-0759-4467-a42b-6997341c5fba}programmableHKEY_CLASSES_ROOTclsid{ca786302-0759-4467-a42b-6997341c5fba}typelibHKEY_CLASSES_ROOTclsid{ca786302-0759-4467-a42b-6997341c5fba}versionindependentprogidHKEY_LOCAL_MACHINEsoftwaremicrosoftwindowscurrentversionshellserviceobjectdelayload gormetHKEY_LOCAL_MACHINEsoftwaremicrosoftwindowscurrentversionshellserviceobjectdelayload pmkretHKEY_LOCAL_MACHINEsoftwaremicrosoftwindowscurrentversionuninstallrichvideocodecHKEY_LOCAL_MACHINEsoftwaremicrosoftwindowscurrentversionuninstallrichvideocodec displayiconHKEY_LOCAL_MACHINEsoftwaremicrosoftwindowscurrentversionuninstallrichvideocodec displaynameHKEY_LOCAL_MACHINEsoftwaremicrosoftwindowscurrentversionuninstallrichvideocodec uninstallstringHKEY_LOCAL_MACHINEsoftwaremicrosoftwindowscurrentversionuninstallwebvideo
Read more ►

Wednesday, December 19, 2012

How to Fix a Corrupted Hal.dll


Check the BIOS order
1. Reboot your computer system. Press the “Delete” key repeatedly until the BIOS screen displays.
2. Open the “Boot” menu. Check the order of the boot sequence list. Ensure that the hard drive that contains Windows, which is usually the C drive, is the first boot sequence listed.
3. Use the arrow keys to move the hard drive with Windows on it to the top of the boot list if it is not already in that order.
Replace the File
4. Load your PC with your Windows boot disk. Launch the repair or recovery setup.
5. Open the Command Prompt tool.
6. Paste the following command into the prompt and press “Enter:”D:\i386\hal.dl_ C:\windows\system32\hal.dll
Read more ►

Tuesday, December 18, 2012

How to Program the Progress Bar in VB.net


1. Open a Visual Basic project. Double-click the "Progress Bar" control on the toolbar to add "ProgressBar1" to the form. Double-click the "Button" control to add "Button1" to the form.
2. Press "F7" to open the code window. Open the "Form1_Load" subroutine and type the following:ProgressBar1.Minimum = 0
ProgressBar1.Maximum = 5
ProgressBar1.Value = 0This code sets the starting values for the progress variable, as well as the minimum, maximum and current values for the progress bar. You can set a different maximum value depending on what you need the progress bar for.
3. Open the "Button1_Click" subroutine and type the following:If ProgressBar1.Value < ProgressBar1.Maximum Then
ProgressBar1.Value += 1
If ProgressBar1.Value = ProgressBar1.Maximum Then
MsgBox("Finished!")
End If
End IfWhen the user clicks the button, this code checks to see if the progress bar is less than maximum value. If so, it increments the value by one, causing the progress bar on the form to show greater completion as well. It then checks again to see if the value has reached the maximum. This way, when the progress bar does reach the max, you cannot increment the value any further and therefore you avoid an out-of-range error.
Read more ►