Jump to content

  • Log In with Google      Sign In   
  • Create Account


athono

Member Since 27 Mar 2006
Offline Last Active Jul 24 2013 07:53 PM
-----

Topics I've Started

Silverlight XAML loading fails right out of the gate.

17 July 2013 - 05:38 PM

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?


"does not exist in current context"

09 November 2012 - 01:23 PM

Why does this give a precompile error that this dictionary class does not exist in current context?

Posted Image

In C#, how do you output the contents of a Dictionary class?

22 August 2012 - 06:45 PM

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?

How To Modify An Element in the Dictionary Class?

18 August 2012 - 04:46 PM

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);

Tab Split String Now Working.

18 August 2012 - 01:40 AM

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?

Posted Image

PARTNERS