One of following method will resolve this problem, try these methods until the problem is resolved:-
Register the vbscript.dll module by following these steps:-
a.Open a Command Prompt window.
oIn Windows XP, click Start, Run, and type cmd.exe.
oIn Windows Vista and Windows 7, Click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.
b.Type the following command in the command prompt window and press Enter.
You should see the following confirmation message.
DllRegisterServer in vbscript.dll succeeded.
c.Now run PSoC Designer and check if problem is resolved.
If steps given above are not working and you have used McAfee products in your machine earlier then run the McAfee Consumer Product Removal (MCPR) tool by following steps given below (If you have not used McAfee products, then try method 3): -