I just installed MS Visual Studio 2005 and I inadvertantly selected C# for the most typical usage. Is there a way to change this? On the start page is shows MSDN: Visual C#. I need to have MSDN: Visual Studio.
Printable View
I just installed MS Visual Studio 2005 and I inadvertantly selected C# for the most typical usage. Is there a way to change this? On the start page is shows MSDN: Visual C#. I need to have MSDN: Visual Studio.
I think you can change that by going to the Tools menu and selecting Options.
Do you know where in the options you need to change this? Also, I can't open any projects, I get an error message about the project not being supported by the installation.
Do you know anything about that?:)
Environment -> Startup -> Start page news channel
Change the address to http://msdn.microsoft.com/vs2005/rss.xml.
If you want help on an error message then please give us the actual message rather than a vague approximation.
Hey Thanks! That cleared that up. I attached a jpg image of the error.
Perhaps you are a little confused because this is the VB.NET forum and that says that you can't open a C# project. Are you trying to open a C# project on purpose? Have you installed C#? What languages are listed on your About box?
I am totally new to this, our programmer left a week ago and I have been jumping to his station to do changes so I apologize if I might be in the wrong forum. I figured I would install the VS2005 on my station and save bouncing around like 'Yoda'.
I attached my about dialog box. I suspect I don't have everything configured right. If I need to move to a different forum maybe the admin guys can move it for me.
Well, you've got C# installed alright, so that's not the issue. I wonder if it's because you're trying to open it from a network drive. I've only ever worked with local source, usually backed by a SourceSafe database on the network. Try moving the entire solution folder to your local machine and see if you can open it then.
I think RobDog888 might take offense to that.Quote:
I figured I would install the VS2005 on my station and save bouncing around like 'Yoda'
I moved the project folder over to my local HD, and when I tried to open it I got the same error as before.
ok, before I post any more. I need to know if I am in the correct forum. I couldn't get my station to work so I "bounced" over the our programers station who left and I am trying to make a change and I am getting a compile error.
I don't know if this link will show the compile error. I would appreciate any help or direction.
http://dev-turbo.virtual1.com/turbo_...e=section1.swf
thanks:sick:
admin: Thread moved. Looks like C#, ASP.NET is being done.
Brad!
Thanks:)
If it's a C# ASP.NET app then I would have guessed that you didn't have VWD installed, but your previous screen shot says that you have that too. I'd suggest repairing your VS install and see if that has a positive effect. Can't help with compilation error though as I don't do Web stuff.
Regarding the error:
You are trying to access or use a value of variable "v_text", which is either local to a function and has lost its value before you can use it, or present outside the scope of your page.
We may need some more details.
Just one tip with taking screen shots too: use Alt+PrintScreen to capture just the active window.
Alt+Print Screen.... imagine that! :rolleyes:
----
On my video.aspx page I have this code.
On my video.cs page I have this codeCode:<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="turbo_video.aspx.cs" Inherits="turbo.turbo_video" %>
<%@ Register Src="includes/footer.ascx" TagName="footer" TagPrefix="uc3" %>
<%@ Register Src="includes/left_menu.ascx" TagName="left_menu" TagPrefix="uc2" %>
<%@ Register Src="includes/header.ascx" TagName="header" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<title>Turbo</title>
<SCRIPT language="javascript" src="/includes/images.js"></SCRIPT>
<link href="includes/StyleSheet1.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<div class="page">
<uc1:header id="Header1" runat="server">
</uc1:header>
<table cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
<td width="190" valign="top" background="/images/menu_bg.jpg">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="top"><uc2:left_menu id="Left_menu1" runat="server">
</uc2:left_menu>
</td>
</tr>
<tr>
<td><img src="/images/left_column.jpg" alt="" /></td>
</tr>
</table>
</td>
<td width="590" bgcolor="#FAFAFA" valign="top">
<img src="/images/page_headers/video_header.jpg" class="header_pos" alt="" />
<div class="video_text"><%=vText%></div>
<div class="main_text"><br /><br />
<div align="center">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="500" height="348" id="section1" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="<%if(Request.QueryString["movie"] != null){ Response.Write(Request.QueryString["movie"]);}%>" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="bgcolor" value="#ffffff" />
<embed src="<%if(Request.QueryString["movie"] != null){ Response.Write(Request.QueryString["movie"]);}%>" quality="high" wmode="transparent" bgcolor="#ffffff" width="500" height="348" name="section1" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
<br /><br />
<a href="?movie=section1.swf" class="reg_link">A Global Industry</a> |
<a href="?movie=section2.swf" class="reg_link">A Global Enemy</a> <br />
<a href="?movie=section3.swf" class="reg_link">Micro-Abrasive Dust:An Engines Worst Enemy</a> |
<a href="?movie=section4.swf" class="reg_link">Micro-Abrasive Dust Meets its Match</a> <br />
<a href="?movie=section5.swf" class="reg_link">Either Your Protected or You're Not...There Is No In-Between</a> |
<a href="?movie=closing.swf" class="reg_link">Call To Action</a>
</div>
</div>
</td>
</tr>
</table>
<uc3:footer id="Footer1" runat="server"></uc3:footer>
</div>
</form>
</body>
</html>
Now I didn't code this page, I am picking up where my programmer left off. I don't understand why the "v_text" doesn't work.Code:using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
namespace turbo
{
public partial class turbo_video : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
String vText = "", movie = "";
if (Request.QueryString["movie"] == "20" || Request.QueryString["movie"] == "section1.swf")
{
movie = "section1.swf";
vText = "A Global Industry";
}
else if (Request.QueryString["movie"] == "section2.swf")
{
movie = "section2.swf";
vText = "A Global Enemy";
}
else if (Request.QueryString["movie"] == "section3.swf")
{
movie = "section3.swf";
vText = "Micro-Abrasive Dust:An Engines Worst Enemy";
}
else if (Request.QueryString["movie"] == "section4.swf")
{
movie = "section4.swf";
vText = "Micro-Abrasive Dust Meets its Match";
}
else if (Request.QueryString["movie"] == "section5.swf")
{
movie = "section5.swf";
vText = "Either Your Protected or You're Not...There Is No In-Between";
}
else if (Request.QueryString["movie"] == "closing.swf")
{
movie = "closing.swf";
vText = "Call To Action";
}
else
{
movie = "section1.swf";
vText = "A Global Industry";
}
}
}
}
I would appreciate any help.