Answer Questions
Bendoke Private key public key signedXML
The signing key of the signedXML object should be the public key or the private key How do I use a .cer file to sign a signedXML object. How do I find the password for the files I should be using a .cer file correct and not a .pfx or other type of certificate How would this be different if you wanted the signature enveloped Thanks, this example was very helpful. Try the following approach: ...Show All
chinaboy Dll loading during p/invoke
Hi, Do you have a reference to an article which explains how ddls are loaded in .net I'm particulary interested in finding out how a dll and its dependents are loaded during a pinvoke call. Thanks ! Bart tanx Stephen ! The following article may be helpful: http://msdn.net/msdnmag/issues/1000/metadata/ Hope that helps, Stephen Fisher ...Show All
john holland Unwanted promotion using TransactionScope
Hi, I wanted to test System.Transaction and using TransactionScope. So I wrote a little factory class which has very basic CRUD functionality. One of it's methods is CreateName: public static Name CreateName( string nameValue) { using ( SqlConnection connection = new SqlConnection( Properties. Settings .Default.TestDB)) { return Crea ...Show All
HerrLinder How to monitor files in different folders using the FileSystemWatcher?
Hi This is what i came up with but it doesn't monitor these folders simultaneously Then you need to wire the Changed , Created , Deleted , Renamed and Error event. The Created event will be fired when a file is created for example. And don't reset the fileWatcher.Path = path; everytime. Because you overwrite the current path. Foreach root you must create an dedicated FileSystemWatcher object! I only execute this code onc ...Show All
snatch File.Delete
hello i have made a C# application (Image manager project). I have placed folder named Images within bin\debug I have a delete button that deletes the image from the databse and then from the images folder. when the user presses the delete button then the record for that image will be deleted but from the images it will not be deleted but the compiler gives me an error at the line where i use File.Delete: File.Delete("Images\ ...Show All
Craigster System.Math.Round(Double, Integer) bug?
I'm not sure if I'm missing something here but there seems to be a bug in the System.Math.Round function from the .NET 2.0 For example, this code: Math.Round(4175 /1000, 1) Returns: 4.1999998092651367 The exact same code compiled in VB2003 (.NET 1.1) returns: 4.2 Does anyone knows why is this Will do. By the way, I saw that your attachment was not uploaded -- I had the same problem once. You have to press the ...Show All
pbiffar Opening mdb database at runtime
You would need to concatenate the *result* of the Server.MapPath call into the connection string, not the call itself ... " ... Data Source=" & Server.MapPath("./MoneyBoxes.mdb") & ";Mode ..." Note also "Data Source", two words, not "DataSource". -- Brendan Reynolds (MVP) wrote in message news:23188d8f-4a16-4155-a0a5-3c497a47bacb@discussions.microsoft.com... > Hello all; > I am facing problem with opening an access databas ...Show All
dtsitrelis SQL Server does not exist or access denied
Hi, I'm getting the following error when trying to view an aspx web page. "SQL Server does not exist or access denied" The aspx page and sql database are located on the same machine. Here is my connection string and code: string SQL = "SELECT * FROM tblCountry"; SqlConnection conn = new SqlConnection("Data Source=(localhost);Initial Catalog=YLCdbSQL;Integrated Security=SSPI"); SqlCommand countryLoad = new SqlCommand (SQL, conn); SqlD ...Show All
ASHegazy Problem with HttpWebRequest after Form Submit
hi, i have been trying to pass the post data from one aspx page (page1) to another (page2), get the response from page2 and display the result. But as soon as i submit the form on page1 it gives me error System.Net.WebException: The remote server returned an error: (500) Internal Server Error . my code is something like this: the page1.aspx page has few inputboxes and submit button. Codebehind ...Show All
Dean Dalby Using MessageBox::Show() in VC++.net
Hi Guys, I was trying to write a simple application in vc.net and display a messag box. So, I created a sample Windows Forms Application(.Net) and on the dialog box I just have one button. In the click event of this button I wrote the code: MessageBox::Show("TestStringText", "TestStringCaption"); But, when I run the program I can see the CAPTION BUT I just cannot see the MESSAGE STRING and the BUTTON TEXT in the resulting message box d ...Show All
atmuc project setup/dll sharing???
Hi, Looking for some advice on project structure setup. We have a main solution called My.Main and this solution will be used to hold a reference to all other solutions (eg. My.Utilities). Currently when we change and build My.Utilities a new dll is created. In My.Menu we have the reference to My.Utilities set to copy local (true). So when the My.Menu solution is opened the dll reference is updated. The problem that we are running into with th ...Show All
MPE word 97' to word 2003 document conversion to produce xml readable document
Hi, I'm a java developer facing a migration that oblige me to use the WordprocessingML technology to write word documents from already existing 97 word templates. When I save these documents as .xml, they are not exactly readables so I won't be able to do any kind of variable substitution in my java process. Does anyone know a solution for this issue Thanks in advance. Hi Sinan, Thanks for your ...Show All
Sergio Costa Faria How do I reference a string in a XML file that's part of my C# project?
Hi, I'm working on doing all my strings like message, label, title... in a XML file that's part of my C# (VS 2005) project. I'm doing this for Localization(Globalization). Can someone tell me how I can refer to my string(the us-en one) in my XML file (like subsituting the string in a MessageBox.show. < xml version = " 1.0 " encoding = " utf-8 " > < trans-unit id = " m1 " > < source x ...Show All
Tirumala 64 Framework behaves differently
Hello, I had to process a .NET PE file recompiling it and I managed to do so, in fact it works just well with the 32bit framework, but a couple of days ago I noticed that a on the 64bit framework it doesn't work with windows applications (with console application it seems working). I seriously have no idea what the problem could be: peverify tells me everything is ok (of course, otherwise it wouldn't work on 32bit). My guess is that it has somet ...Show All
jdang Resolving <xsl:include> references using XslCompiledTransform
Using .Net 2.0's XslCompiledTransform class to transform a document I get IO exceptions resolving relative paths to documents from the include statements in the loaded stylesheet. The parser appears to be starting its search based on the location of the source xml document, rather than the loaded transform. I found an article (not sure how old) by the Xml team which states "XslCompiledTransform delegates all work related to external URIs ...Show All
