Can I have VS.NET and the Visual Studio 6.0 installed on the same machine?
Yes! VS.Net works with the .Net framework, while VS6.0 works with MFC or the Windows API directly, for the most part. They can be installed and run on the same machine without any considerations.
What are the Best practices for side-by-side execution of Framework 1.0 and 1.1?
In ASP.NET, applications are said to be running side by side when they are installed on the same computer, but use different versions of the .NET Framework. The following article at www.asp.net details the practices that are recommended ASP.NET Side-by-Side Execution of .NET Framework 1.0 and 1.1
Why are Server control tags shown in the browser instead of the controls it represents?
This is because the server control tags were not converted into their respecting HTML element tags by ASP.Net. This happens when ASP.Net is not properly registered with IIS. .Net framework provides an Administration utility that manages the installation and uninstallation of multiple versions of ASP.NET on a single machine. You can find the file in C:\WINNT\Microsoft.NET\Framework\v**\aspnet_regiis.exe use the command: aspnet_regiis.exe -u —> to uninstall current asp.net version. use the command: aspnet_regiis.exe -i —> to install current asp.net version.
How do I debug JavaScript and other script code in my application using Visual Studio .Net?
1) In IE go to Tools/Internet Options…/Advanced Tab and clear the ‘Disable Script Debugging’ check box options. 2) In VS.Net in your project properties dialog, select ‘Debugging’ under ‘Configuration Properties’ and make sure that ‘Enable ASP.Net Debugging’ is turned on. 3) You can then set break points in script code in VS.Net in custom script files or the application aspx file. 4) VS.Net should give you detailed debugging information for variables in the scope just like other high-level languages.
How to convert a string to HTML format
Use namespace System.Web.HttpUtility VB.NET Dim mystring as string =”Tom & Jerry” Response.Write (HttpUtility.HtmlDecode (mystring)) C# string mystring=”Tom & Jerry”; Response.Write (HttpUtility.HtmlDecode (mystring));