首先谢谢两位回复。yarshray:能告诉我RegSvr32怎么注册DLL?注册哪个DLL?zero8223:我刚刚才装好啊?安装过程中没有出现异常啊?

解决方案 »

  1.   

    To Yunxly:   呵呵,首先只能跟你说不辛!(去买彩票吧,肯定中奖,嘿嘿!)   本人装完了VS.NET后,好喜欢,但后来因为需要又装了VS 6,下次再启动VS.NET的时候,系统就提示了跟你一样的错误:"VC软件包不可用或未注册",我试着先删除VS 6,问题依旧,我又重新添加了c++.NET,可还是提示这个问题,鬼知道.NET在里面写了些什么鬼东东,我又来重装了一次就好了,看样子你也要重装了。
      
       重装又要得1个多小时,苦呀...
      

  2.   

    下面是微软网站支持上对这个问题的解释:
    This article was previously published under Q320427 
    SYMPTOMS
    When you create a WinForms application, you may receive the following error message: "VC Package not available or not registered" 
    This behavior can occur even after what appears to be a successful installation. 
    CAUSE
    This behavior seems to occur because the Windows Installer does not register TLBs and DLLs if the installer finds that these items already exist. In most cases, a previous version of Visual Studio .NET causes this behavior, even if the previous installation was under a different operating system. 
    RESOLUTION
    To resolve the problem, run the Visual Studio .NET repair. A repair is more effective for fixing this issue because the repair process forces registration of items that are not re-registered during an install. To run the repair, follow these steps: 
    On the Start menu, point to Settings, click Control Panel, and then click Add/Remove Programs.
    On the list of installed programs, click Visual Studio .NET, and then click Change.
    Click the second item in the 1 2 3 Visual Studio Setup dialog box.
    Click Repair/Re-install, and then follow the onscreen instructions.
    MORE INFORMATION
    Steps to Reproduce the Behavior
    To reproduce the problem, it is best to have two operating systems installed on separate partitions. Two installations of Windows XP Professional will work. 
    Install Visual Studio .NET under one operating system.
    Install Visual Studio .NET under the other operating system; change the default location to match the installation location of the first installation.
    Both installs report as successful.
    Start the copy of Visual Studio .NET that you installed in step 2.
    This type of installation is never recommended. Even if the installation selections are exactly the same, and you can save disk space by performing this type of installation, the potential for problems is high. If one installation changes files and registry entries, these changes are not recorded by the other installation, which creates a substantial risk for unexpected results. 
    简单的说就是你的.net安装时没有对一些TLB and DLL文件进行注册,最简单的方法就是用修复功能!最方便的就是重新安装,但一定不能再原文件存在的目录安装!