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.

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;
}

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

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.'

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.

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.

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.

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.

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.

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.