Answer Questions
Lawrence of Sinking Spring Managed Method to retrieve the SID of the local system
I'm developing synchronization logic for an agent-based system utility and we need to retrieve the sid of various machines for identification. I know it's possible to retrieve and/or change the sid of machines using C++ (there's a tool at winternals that does it). Is there a way in .NET to retrieve the sid of the local system (or even of a specified COMPUTERNAME on a domain) Special regards in advance to the answerer^^ string ...Show All
kingswood Bug with the .NET XslTransform xslt transformation?
Hi, I have an C#/ASP.NET application. Most pages are generated this way: I extract data from the database, produce an xml string, use a xslt stylesheet to display the page. I can either send the page as xml with a link to the stylesheet, in which case, the transformation is done by IE or I can transform it on the server with the Transform() method of XslTransform object and send HTML. Now, usually, this works fine in both cases but I have ...Show All
topgun2710 SqlDataReader & an SQL statement problem
Original issue went unanswered (well, unsolved) Using returned value from SqlDataSource1 so I'm trying a different route. Instead of writing to Profile, I'm going with Sessions. Here's my issue and some code. The select command won’t let me conditional Where LoginId = the value of the login textbox and Where LoginPwd = value of the password text box. The query when tested does return 164 when I enter in a test user's username an ...Show All
cordo Graphical Changes in VS 2005
I have a program which I just began trying to port to Visual Studio 2005 and the 2.0 beta 2 framework from 2003. One thing I have noticed is that the buttons and tabs all have new graphical themes improved from the .net 1.1 framework. So I was happy to make my program more elegant but, even though I have converted my project (with no problems converting) I do not see those graphical changes in my project when I run it in 2005. Though w ...Show All
IvoM Installing .. advpack.dll
Not sure if this is where to put this question but I can't find anything else on these forums (shrug ). I'm trying to install the 2.0 redistribution package and get an error with c:\windows\system32\advpack.dll when trying to install. Any suggestions The reason I'm looking to install it is because I have an application that requires it. Maybe I actually need something different Ugh. lol Please h ...Show All
Fadi Al-Sheikh Filter records with TextBox ?
He, I'm a pretty new in VB 2005, and everithing is still little complicated for me, so I have the following question: How can I filter my records (datagrid or details) by entering values in a textbox. Example: I have a form (name=form1), textbox(name=txtFilter), SQL Table (name-Users, rows: ID, Name, Address) With other words - I want to tell my query to filter not with preliminary defined criteria like (SELECT * FROM (table name) WHERE Nam ...Show All
Svante Moren Cryptography_CSP_NoPrivateKey error
Hello, I'm trying to call a webservice with WSE 2.0 (sp3) in a code implemented in a NT service (developed in .net). To do this, I'm adding a certificate token and creating a sign element, but when I send the message the framework rises the following error: Cryptography_CSP_NoPrivateKey This error doesn't happen if I call the same code (exactly) from a windows application... Does anyone know what could be generating this behaviou ...Show All
Janakiraman81 Security
Hello, I'm trying to implement a way for my business component to add/edit/delete information through its API. I don't have problem with this; however, I will have multiple interfaces interacting with this component (one web, one windows). How do I implement security for this I am using .NET 2.0. Thanks. Hey, It helps yes thanks. I plan to use windows integrated security (intranet app); however, the ...Show All
UGimelS merge dataset with three tables
I have two datasets and each have three tables in them. Datasets have the same structures and I need to merger these two datasets, (so each table should be merged with its corresponding) how can I do this The Dataset.Merge method may do what you want: http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfsystemdatadatasetclassmergetopic7.asp You could choose one of the datasets as the "source" ...Show All
Colin Reid Securing my webservice with Windows authentication
I have a problem securing my webservice with Windows authentication. The goal is a client app transfering data to a server which is blocked for anonymous requests. To do this, the client app asks the user for credentials, build some NetworkCredential with them & adds them to the CredentialCache. When i look at the iis log, each call to my webmethod appears twice in the log - first try without credentials (which fails with http 401) and the ...Show All
DREAM_G Multiply 20 length digits in 32 bit CPU
Dear C++ Programmers We know the c++ " long long " type or "__Int64 " type support 19 digits ; if I want to multiply or subtract or sum two 20 length digits , what I must do How it is poosible on the 32bit Computers Hi Omid, This is unfortunately not something we currently support in our libraries. It is however possible to write your own code to do this, or find a 3rd party library (put "arbitrary pr ...Show All
jumanjiCA Using System.Net.Mail class to send mail.
Hi, I was coding a class to send mail via SMTP, but I found that in Framework 2.0 you have System.Net.Mail to do that task. The classes works fine to send mail on a server that does not require authentication. Unfortunatelly, I can't get it to work on a base64 encrypted server. The process of logging in that type of server is easy, so I expect an bool attribute, let's say, "IsAuthRequired", but it does not exists. From what I've ...Show All
hotchilidamo asp web project deployment help needed
Background Info ::::::::::::::::::::::::::::::::::::::::::::::::: i am creating a depolyment installer for my webproject, my webproject contains asp, and aspx pages and i connect to access database is there a specific way i should be creating my installer because everything i create my installer and run it my asp page that checks a access database doesnt work my project works if i just simply copy the files on to the compute ...Show All
newpassport INSERT records in a table from windows form
Hi everyone, i'm a newbie with .NET platform - a big neginner..:) well, my question is: I have SqlDatabse and respetively the objects: SqlDataConnection, SqlDataAdapter and DataSet. With displaying data everithing works perfectly - just changing [SqlDataAdapter.SelectCommad.CommandText], and then just using "FILL" to populate the records in the DataGrid. But what with the "INSERT" I've set my INSERT statement, but how to practicaly e ...Show All
Peter Krochenski .NET Bug : global variables and xsl:import
Hi , I have two XSL files. transform.xsl and include.xsl. transform.xsl < xml version ="1.0" > < xsl:stylesheet xmlns : xsl ="http://www.w3.org/1999/XSL/Transform" version ="1.0" > < xsl:import href ="include.xsl"/> < xsl:variable name ="MyVar"> < xsl:call-template name ="mytemplate"> < xsl:wit ...Show All
