JohnnyWing's Q&A profile
.NET Development Obtaining private key container name from certificate ?
First off, sory that this might be the wrong forum, but there doesnt seem to be a forum dedicated to Security and/or cryptography. I was wondering if there is a way to obtain the private key container name from an X509Certificate (either from the Microsoft.Web.Services2.Security.X509 or System.Security.Cryptography.X509Certificates namespace) This would be quite handy since then i'd be able to make a csparams object with the containernam ...Show All
Visual C++ Chinese resources
Hi I have to create chinese resources for my application. To check a bit how all is working I created a chinese mfc application. If I run the application, all is shown correct in chinese. If I check the resources for example the menu in visualstudio I dont see chinese signes. Do I have to change any settings in visualstudio to see the correct chinese signes in the resource editor Thanks Peter This should be wor ...Show All
Visual Studio Tools for Office Getting Number of Charts and Setting Titles
In VS2005 B2, how can I get the amount of charts on a sheet and set the title for each in a loop I did figure it out, however, I am assuming with VS2005 B2, ONLY Office 2003 is supported thru the .net and anything below that is a com ref Or else Im not doing the setup correctly. ...Show All
SQL Server SQL Server 2000 Interactive Conflict Resolution
I'm having some problems getting Interactive Conflict Resolution working under SQL Server 2000 SP4. I have set "Allow Subscribers to resolve conflicts interactively" under the Resolver tab for the article in the publication. I have set "Enable synchronization using Windows Synchronization Manager" and "Resolve conflicts interactively" under the Synchronization tab for the subscription. I have set "Resolve confl ...Show All
SQL Server Wishlist: MOST WANTED Tasks, Sources, Transformations, and Destinations?
Until there's an Integration Services 2.0, what custom components would you most like to see examples of The documentation team is starting work on the 2nd Web refresh of Books Online and SQL Server samples, anticipated for release around April, and may be able to incorporate some requests as samples or BOL topics. I scanned Kirk's "Requests" thread and, although many requests are for tweaks to existing SSIS widgets, I noted the following ...Show All
Visual Studio Tools for Office Installed OutLook 2003 Add-in not available to "All Users"
I need the Add-In to be available to all users on a machine. I'm working from MSDN documents "Deploying Visual Studio 2005 Tools for Office Solution Using Windows Installer (Part 1 of 2) & (Part 2 of 2). I'm using the example in (Part 2 of 2), page 11 verbatim. /assemblyName="OutlookAddin.dll" /targetDir="[TARGETDIR]\" /solutionCodeGroupName=" MyCompanyName .OutlookAddin" /solutionCodeGroupDesc ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Framework and DX SDK versions
I'm trying to follow Derek Pierson's C# tank game tutorial series on Coding4Fun , but after installing the VB version of the code and trying to run it, I got 71 errors. He said, for that lesson, that he updated to the August SDK. I have the October SDK installed right now. Do I need to go back the the August update Also, is this the latest version of the framework .NET Framework 2.0 Configuration (version 2.0.50727. ...Show All
.NET Development How to get rid of Windows Excpetion "no disk in drive"
Hi, I have code to read the files from a dvd surrounded in a try/catch block, but for some strange reason, when I have no dvd in the dvd drive, the exception isn't caught here as I expect. Instead, my UI gets a Windows exception: "There is no disk in the drive. Please insert a disk into drive D:.", with the Cancel | Try Again | Continue buttons. If I hit Continue here, then I see the dialog that gets presented via catching the excep ...Show All
SQL Server @@ROWCOUNT Support???
I am trying to work a statement like the below - but am getting an error - I assume that @@ROWCOUNT is not supported UPDATE MobileInvoiceImport SET OrderDetailID = '123' , QuantityReceived = '66' WHERE OrderDetailID = '123' IF @@ ROWCOUNT = 0 INSERT INTO MobileInvoiceImport ( OrderDetailID , QuantityReceived ) VALUES ( '123' , '1' ) there is no support for @@ROWCOUNT bu ...Show All
Visual Studio Express Editions Windows Mobile 5 SDK with VS Express
Can I use the Windows Mobile 5 SDK with the Visual Studios 2005 Express I tried to install the Windows Mobile 5 SDK aufter installing the Visual Basic 2005 Express but it tells me there are no development tools install. Ist it in general not possible Or do I need more than just Visual Basic Thanks Stefan To my knowledge I thought the express edition provided no support for creating mobile applications. ...Show All
Visual Basic VB.net to word 2002 automation
Is it posible to determine if you have it the end of a page then insert a pagebreak and add the title of the page again on the second page or would i need to use bookmarks to the head and footer of the pages any help would be appreciated i'm guesing there is a boolean endof thing for this as there is with the recordsets. thanks in advance. I'd probably use headers and footers to do what it sounds like you want to do - that way the ...Show All
Windows Forms Which control to use???
Hi I was wondering is there any collection items control similar to Hashtable which can search the value based on the key entered and also based on the index. for example if I have a hashtable ht ht.Add("A", "Adam"); ht.Add("B", "Bob& ...Show All
SQL Server "ON DUPLICATE KEY UPDATE"?
Hi, I am migrating from MySQL to SQL Express. In MySQL, I import data from Oracle using the "INSERT INTO .... ON DUPLICATE KEY UPDATE". With the "ON DUPLICATE KEY UPDATE", when there is a duplicate key in MySQL exists, the respective records will be updated (so to avoid inserting the data twice). I cannot remove the duplicated rows in MySQL as it contains extra fields with user-input value. Is there any way I can do the ...Show All
SQL Server Advantages of Multiple Instances
Where can I find advantages of Multiple Instances on a single Server. Instances are fairly well isolated from one another. They can run under different service accounts, store data by default on separate disks, etc. In 30 second of looking through BOL I couldn't find a good summary description of instances but I bet it's in there somewhere. Do you have a more specific question ...Show All
Visual Studio Express Editions Newbie: Parse and Formatting?
First post, complete MSDN forum and VB n00b so please bare with me if my posting content and structure is lacking. I've created a text box where the user should be allowed to enter the following variations of XYZ coordinates: <1, 1, 1> OR 1, 1, 1 OR 1 1 1 The first XYZ variation is the one I want the user to input (copy/pasted straight from a proprietary tool) If, however, the user enters the other varia ...Show All
