Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
Member Avatar for CSharpUser

If I'm not asking this in the correct forum, please point me in the right direction. I am using System.DirectoryServices.AccountManagement.GroupPrincipal FindByIdentity in C# to create an object containing the group members (user IDs and names) for the target group. My goal is to iterate through the resulting list of UserPrincipals …

Member Avatar for rproffitt
0
678
Member Avatar for CSharpUser

I have a Windows Forms application (not WPF) in which from the main form (UI thread) I am creating a separate thread to perform a long period of test execution. The idea is that the user starts the testing by clicking a button on the main form; when the user …

Member Avatar for lolafuertes
0
284
Member Avatar for CSharpUser

Hi, I am using Windows Forms (not WPF) to create video controls on the form to view the output from a video stream. What I want to do is based on a list of IP addresses (the addresses being of encoders capturing the video and making it available via a …

0
183
Member Avatar for CSharpUser

Hello, I have an ASP web application and in the C# code behind I want to present the user with a simple yes/no dialog box that gives them the opportunity to save a file that their input has created. I've used a simple implementation of ClientScript.RegisterStartupScript elsewhere in the code …

Member Avatar for swathi@123
0
1K
Member Avatar for CSharpUser

Hi, I'm using taglib-sharp to modify MP3 files (e.g. assigning a new title) after I've "stitched" them together. I also want to modify the Duration property (mp3.Properties.Duration) but of course when I try I get the error that the property is read only. I admit to being no expert in …

0
69
Member Avatar for CSharpUser

Hi, I am trying to use the PIVOT function in SQL Server 2008. I have a query that I think should work, but whenever I execute it, I get the errors: Msg 265, Level 16, State 1, Line 25 The column name "CompleteTime" specified in the PIVOT operator conflicts with …

Member Avatar for BitBlt
0
455
Member Avatar for CSharpUser

I'm new to MS SQL and trying to solve a problem where I need to extract specific data from a remote SQL Server 2005 DB into a local SQL Server 2008 R2 DB. In a Stored Procedure, I'm trying to use Linked Server via Ad Hoc links in the following …

Member Avatar for BitBlt
0
500
Member Avatar for CSharpUser

Hi folks, I’m struggling with what I thought would be a relatively simple process. In my last thread ([URL="http://www.daniweb.com/software-development/csharp/threads/379458"]http://www.daniweb.com/software-development/csharp/threads/379458[/URL]), I got your help with the placement of parentheses in a Linq to XML query. I thought it was all going to be easy from there. Now I am trying to …

Member Avatar for CSharpUser
0
295
Member Avatar for CSharpUser

Hi all, and thanks in advance for your help. I am trying to write a Linq to XML query that will test attribute values in multiple elements and return the possibly multiple qualifying entries from a main element. The XML I'm looking at is basically like this: [CODE]<ContentList xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" …

Member Avatar for CSharpUser
0
2K
Member Avatar for CSharpUser

First, I want to admit I am totally new at Linq queries. Your help and patience are GREATLY appreciated! I am trying to perform a query on a loaded XML document with the code below, but no matter what I try, I continually get an unhandled NullReferenceException error: [CODE] XDocument …

Member Avatar for CSharpUser
0
348
Member Avatar for CSharpUser

Hi all. First, thanks in advance for any assistance you can offer! Here is my situation: I am trying to, in essence, convert a C# console app to Silverlight (by using Silverlight as the UI). I'm having little or no trouble with the Silverlight end, but I need to be …

Member Avatar for CSharpUser
-1
181
Member Avatar for CSharpUser

Hello, I've written a windows service that I am trying to get to write out to a custom log. In the partial class, it tests for and (I thought) should create a registration to the custom log: [CODE] public partial class ScriptTrigger : ServiceBase { public ScriptTrigger() { InitializeComponent(); if …

Member Avatar for Trouter
0
2K
Member Avatar for CSharpUser

I'm using the method below as a button-click event on an ASP.NET 4.0 page. The first alert box (ClientScript.RegisterStartupScript(...)) works fine, the second I haven't tested yet; but the third doesn't produce an alert - and it doesn't produce an error either. Can anyone suggest what I'm missing here? I'm …

Member Avatar for CSharpUser
0
387
Member Avatar for CSharpUser

Hi All, I've got this problem. I'm trying to write a method that will (Using WMI) start a process on a remote computer. This remote process runs an application that should open a command window and send the keys to start a program in that command window. The command window …

Member Avatar for CSharpUser
0
422
Member Avatar for CSharpUser

Hi, I'm hoping someone can make sense of this... I'm trying to use WMI to get file information from a specific directory on a remote machine using CIM_DataFile. I can get all of the files on the on the remote machine using: System.Management.ObjectQuery oq1 = new System.Management.ObjectQuery("SELECT * FROM CIM_DataFile"); …

Member Avatar for CSharpUser
0
1K