All Tags » C# (RSS)

Browse by Tags

  • Counting the Items in a SharePoint View

    I have a SharePoint list with 18 items in it. I've developed a user control, for use in the Smart Part, that counts the items, compares the values of fields, etc. I've got that working fine. Now I'd like to do the work on just the items of a View I created of the list, called "Active"...
    Posted to MS SharePoint (Forum) by microsoft on 03-12-2010
  • Problem configuring IIS 7 hosting of net.tcp WCF Service

    I have a fresh Windows 2008 R2 Server with IIS 7.5 that I am trying to setup a WCF web service to run on. I have WAS installed and I have verified that my site has net.tcp enabled for both 808:* and :*. However I am still getting some weird error messages. The first error is: The protocol binding '...
    Posted to Web Services and WCF (Forum) by microsoft on 03-10-2010
  • Overlay Photo in bitmapSource/Image in WPF

    Hi all, In my code, I need to do something like this BitmapImage bi = new BitmapImage(); bi.BeginInit(); bi.DecodePixelWidth = 300; bi.CacheOption = BitmapCacheOption.OnLoad; bi.UriSource = new Uri("C:\\myPic.jpg", UriKind.RelativeOrAbsolute); bi.EndInit(); Image myImage2 = new Image(); myImage2...
    Posted to WPF and Silverlight (Forum) by microsoft on 03-10-2010
  • Audio file cutter code in c# or any .net language

    I have to create a web based program to create ringtones. For this user will upload the file then.. from player some portion of song will cut and saved separately as in ringtone format. I need this cutter code. How I can achieve this functionality? How silverlight can help in this..? Urgent..! I cannot...
    Posted to .NET (Forum) by microsoft on 03-10-2010
  • C# is passing by reference rather than by value

    Hi I'm trying to pass by value through to a function, but for some reason it seems to be passing by reference. Could someone please help me? In the code below, Classifiers is a class I've defined elsewhere where Actions is a 1-D Array. The function does various calculations on the array before...
    Posted to Visual Interdev (Forum) by microsoft on 03-10-2010
  • Trying to do simple calculator

    okay so mabey the basics have fled my brain. I am tryin to do a simple calculator program and I am stuck. I have 2 text boxes where you enter in the numbers. I am on the add button the others I can engineer off this. This is what I have... its not working too good it keeps putting both numbers in the...
    Posted to Visual C Sharp (Forum) by microsoft on 03-09-2010
  • C# & WPF - How to trigger storyboards

    Hi all, I'm building my first application that uses WPF alongside C#- So I'm still learning it. My question is this... If I create Storyboards/Animations in Expression Blend, how can I call these storyboards? My application is a bit strange, in that there is no keyboard or mouse input, infact...
    Posted to WPF and Silverlight (Forum) by microsoft on 03-08-2010
  • Validating Data Before the PostBack

    Hello Everyone, I have an aspx page that Posts data to an External Web site. I am using ASP.NET and C#. I would like to validate the data before doing the postback to the external site. I know how to perform the data check. But how do I stop the post to the external site if the data is bad using C# code...
    Posted to Visual Interdev (Forum) by microsoft on 03-08-2010
  • Remote click a button at a website

    Hi, I need to enter entries at a website and submit them from this site. For normal you now how a form have to look eg. In this case I ever used the easy way, create the URL and execute it: ?target.aspx?name=AName But now I've to find controls in a side and remote click a button that contains javascript...
    Posted to Visual C Sharp (Forum) by microsoft on 03-06-2010
  • WPF Image Source Binding

    Can't quite figure this out. I keep getting 'System.Windows.ResourceReferenceExpression' is not a valid value for property 'Source'." Looking for a solution like the following: Code Snippet: 1: 2: 3: 4: 5: 6: 7: 8: ... --> Open in New Window Select All
    Posted to WPF and Silverlight (Forum) by microsoft on 03-04-2010
Page 1 of 186 (1857 items) 1 2 3 4 5 Next > ... Last ยป