Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Community Reputation

132 Neutral

About athono

  • Rank
  1. This is with windows 7.   As a test, I opened Visual Studio 2010 on my home computer and made a test program with SIlverlight and it did not have this issue. Maybe it is because there is a problem with the Telerk plug-ins with the studio at work.
  2. Silverlight XAML loading fails right out of the gate.   This is the first time I have started a silverlight project on the current machine I am on with Visual Studio 2010.  Until now, I have been programing ni ASP.NET.   When I first tried to start a new Silverlight project, I was told I needed to install a fresh copy of Silverlight.  I had to uninstall Silverlight as well as my versions of the Silverlight SDK.  After uninstalling and reinstalling (now I have Microsoft Silverlight  5.1.20513.0 and Silverlight 4 SDK 4.0.50826.0) I was finally able to create a Silverlight Project.  But the XAML code instantly failed to load in the IDE   http://i67.photobucket.com/albums/h292/Athono/ASP_DOT_NET%20and%20CSS/outofthegate02_zps0bd33d95.png http://i67.photobucket.com/albums/h292/Athono/ASP_DOT_NET%20and%20CSS/outofthegate01_zpse0f20845.png   Any suggestions?
  3. Why does this give a precompile error that this dictionary class does not exist in current context?
  4. In C#, how do you output the contents of a Dictionary class? Once you have loaded a Dictionary class with keys and values, how do I cycle through them and output the individual values in a foreach loop?
  5. How To Modify An Element in the Dictionary Class? ======================================= C# has this cool Dictionary class that you can use like a Hash Table. Is there a way of changing the value of an indexed element without resorting to removing it like this? int value = runningcount[city]; runningcount.Remove(city); runningcount.Add(city, ++value);
  6. How wierd. It looks like a text editor replaced the tabs with spaces without my say-so.
  7. Tab Split String Now Working. Please Help. I wrote a C# program that reads code one line at a time. Each line has data seperated by tabs. Here is what my C# code is supposed to do. The line is supposed to be split into a string array by using the "Split" string methodIt is supposed to be spit read in text one line at a time and I use the "Split" method to group the line according to the tab character. But, as this screen shot shows, it does not work. Any idea why?
  8. Error 1 An object reference is required for the non-static field, method, or property 'ConsoleApplication_FileTest.Program.GetAverageSalary(string)' C:\Users\Dawn\documents\visual studio 11\Projects\ConsoleApplication_FileTest\ConsoleApplication_FileTest\Program.cs 98 24 ConsoleApplication_FileTest static void Main(string[] args) { Dictionary<string, double> averages = new Dictionary<string, double>(); string filename = "c:\\test.txt"; averages = GetAverageSalary(filename) } ===================== Dictionary<string, double> GetAverageSalary(string filename) { ...
  9. There are some cool classes and tricks and short cuts in C#. I know this but I have not worked with C# enough to have them memoried. One cool trick is this. If you read from a file data that is arranged in a similar line-by-line structure where each line is arranged in columns spaced out by tabs, the data can be read into a kind of class in C# and then you can parse out one column of data by simply doing a "for each" command. Does anyone know off-hand how this is done?
  10. As far as I can tell REST is a methodology or an archecture. Is it a real tangable thing? I mean, can you look at a back-end code and determine if it is REST or not REST? How do you communicate with a WCF RESTful service? Are all WCF services RESTful?
  11. athono


    What is MVC really? Is "model-view-controller" basically the way all ASP.NET programs in Visual Studio are made? Is it the default way WPF applications are arranged?
  12. You are much more knowledgeable than I am about visual studio. I want to know what you know. I am using Visual Studio 11 Beta, but I do not think there is a lot of difference between this version and the previous versions. How do I even load the html file for debugging? If I just load it as a file, I do not see how I can run the file.
  13. How do you find missling links in a web site using Visual Studio? I am studying a web site that caught my eye by making a test site privately. Since the original html and CSS and JavaScript code is on a Windows Server and since I am making a test version on a Linux server, there are issues with missing links because of case sensitivity. Anyway, this is he point. When I load the test website, I get an error message that some file cannot be found, but it does not tell me what file. It is a very general error message. Because of the size and all the connections and files, it is difficult to track down what file is missing or misnamed file. Now, I think there is a way to easily find out exactly what file is not found. I think there is a way to do this using Visual Studio test classes and projects. Am I right?
  14. How do I tell the ASP.NET Silverlight Application Type? In Visual Studio 2010, whenever you create a new Silverlight application, you have a few choices to make. If you click on the check box to "Host the Silverlight application in a new Web Site", you can either create the new web project as a "ASP.NET Web Application Project" or you can create it as an "ASP.NET Web Site". Now, there is some discussion on the internet as to which project type is best suited for which purpose. But this is not what I am asking here. I have inherited a project and I want to know what time I have been given. What sort of tell-tale signs can I look for that will tell me what sort of type I have?
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!