HELP!! I cant run vb.net *Resolved*
hey,
i have just installed vs.net, and i'm getting a default.js error. I have searched the forums and found no info that would help me apart from to download the architect edition, which i have. I have looked at the default.js files that i have, and they seem to only be half complete:confused::
Code:
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
function OnFinish(selProj, selObj)
{
var oldSuppressUIValue = true;
try
{
oldSuppressUIValue = dte.SuppressUI;
var bSilent = wizard.FindSymbol("SILENT_WIZARD");
dte.SuppressUI = bSilent;
var strItemName = wizard.FindSymbol("ITEM_NAME");
var strTemplatePath = wizard.FindSymbol("TEMPLATES_PATH");
var strTemplateFile = strTemplatePath + "\\Module.vb";
var item = AddFileToVSProject(strItemName, selProj, selObj, strTemplateFile, true);
if( item )
{
item.Properties("SubType").Value = "Code";
var editor = item.Open(vsViewKindPrimary);
editor.Visible = true;
}
return 0;
}
catch(e)
{
switch(e.number)
{
case -2147221492 /* OLE_E_PROMPTSAVECANCELLED */ :
return -2147221492;
case -2147024816 /* FILE_ALREADY_EXISTS */ :
case -2147213313 /* VS_E_WIZARDBACKBUTTONPRESS */ :
return -2147213313;
default:
ReportError(e.description);
return -2147213313;
}
}
finally
{
dte.SuppressUI = oldSu
it just ends dte.SuppressUI = oldSu:confused: i have guessed the rest of the file and that default.js error goes away, but then i get errors with other files. All my default.js files are like this:( i have tried to reinstall and repair without any luck, and i have the same problem trying to install it on another machine:(
could anyone possibly send me the VBWizards folder located in \Program Files\Microsoft Visual Studio .NET\Vb7? its where all the messed up default.js files are on my comp, and its only aboot 110k zipped. Am hopin it should more than likely solve my problem. failing that, could anyone give me any other help on this? i have looked on the knowledge base, and it says i must have the german version or something, which i dont:confused:
if anyone is willing to send me the folder, could u plz email it to me at [email protected]?:)
thanx alot in advance for any help:)