z-mann's Q&A profile
.NET Development Access to a smartcard private key
Hi all, I'm trying to access a private key (X509 certificate) stored in a smartcard (Gemplus GemSAFE Card CSP), but i always get the same error: System.Security.Cryptography.CryptographicException: Hay mas datos disponibles. (In english, "More info is available") at System.Security.Cryptography.CryptographicException.ThrowCryptogaphicException(Int32 hr) at System.Security.Cryptography.Utils._GetKeyParameter(SafeKeyHandle hKey, UInt3 ...Show All
.NET Development Typed-dataset/Table Adapters - multiple database vendors - how?
Hello here is my objective. I want to take advantage of the visual tools in VS 2005, specifically the dataset designer. Also also want to develop an architecture that will allow us to target multiple databases ( primarily SQL Server and Oracle ) with minimal recoding. Normally, we would create some sort of provider model (similar to DotNetNuke). With VS2005, the code generation could save us a lot of time. However, here's what I'm fi ...Show All
.NET Development Dual Processor
Hi, We're building a Windows App on .NET 2.0 with a distributred architecture using .NET Remoting. I have the followign queries. 1. If the Application server is a dual processor, Do we have to write code to leverage the advantages of the dual processor (as in write code to handle heavy load calls to increase performance) or does .NET handle (asking for a little bit more eh :) ) it on its own. 2. If we do have to write code to take advan ...Show All
.NET Development partitioning the cuurently selected row of the dataset into a row of new dataset table
i have displayed a table in datagrid. when i select a row and Click 'Show' on the context menu, a new form should be shown with a datagrid showing the contents on the currently selected row on the main form. how do i do this. ...Show All
Visual C++ (MSVCRT) _iob disappeared?
What can I do to replace the functionality of _iob Seems to be missing in MSVCR7/8 (using VS2005). Error 1 error LNK2001: unresolved external symbol _iob main.def In my def, I'm redirecting this export as such: _iob=MSVCR80._iob I also tried: _iob=MSVCRT._iob ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectDraw
If DirectDraw is Deprecated, what should we use Most of the DDraw functionality is now in D3D9. You should use that. What exactly do you need in DDraw ...Show All
Visual Studio Availability of build properties to task authors
Is there a way to reference msbuild properties in a custom task other than passing them in explicitly to the task. For example, the build project has a <PropertyGroup><Foo>Test</Foo></PropertyGroup>. There are several custom defined tasks, all of which need to know the value of FOO. Rather than pass that value as an input to each task, is there a way to get to this property from within the task through one of the cla ...Show All
Windows Forms Doubleclick event on combox doesn't trigger
I added a doubleClick event to a textbox. This is triggered very well. Now i added a MouseDoubleClick event to a combobox (because a doubleclick event doesn't exists apparantly), but this event is not triggered. Why How do i solve this Kind regards Damiaan Peeters Thanks for the hint from Davecat. Double click is quite useful when combobox displayed in DropDownStyleSimple. In a similar fashion in Visual Basic Dim mylastClick As ...Show All
Windows Forms Child forms resizing
I have created an mdi application that uses an xp-like navigation system to switch between several child forms by using the hide/show methods. All of the child forms have their dockstyle set to fill and borderstyle to none. If I create a ...Show All
.NET Development System.Web.Mail Help Please...
Hello, I've tried searching and searching, but I've had no real luck. I'm working on sending an email via an external SMTP server (I'm trying to use Gmail.com, could this be a problem ) and then send to another email, which also happens to be a Gmail.com address. Now, before posting my code, I'd like to say, what I'm developing this for is basically a plugin for a program based on .NET 1.1, so I don't believe that System.Net.SmtpClient ...Show All
Visual Studio Team System CMMI Template Customization
Does anyone know when the CMMI process guidance is going to be available for customization (ie. export-edit-import into TFS / use as template) With TFS Beta3 release, Microsoft has provided MSF for CMMI process template and it is possible to export, customize and import it back. MSF for CMMI is more formal and requires more documentation as it is intented to help with Level 3 CMMI appraisal. For a quick overview, see my blog post ...Show All
SQL Server Logical functions in SELECT clause
Hi, this ought to be elementary: I want to select the logical inverse of a bit type column. The online help tells me Syntax [ NOT ] boolean_expression Arguments boolean_expression Is any valid MicrosoftR SQL Server Boolean expression. Result Value NOT reverses the value of any Boolean expression. The way I read this I should be able to then simply SELECT NOT bit_col, yet I get a syntax error when I try to do simply ...Show All
Visual Basic Sending hex characters using MSCOMM32.OCX
Hi All, I am using VB5 to send and receive hex characters out the serial port using MSCOMM32.OCX. I can send a hex character using the following format: 'MSComm1.Output = Chr$(&HC3)' and my module will receive 'C3' in one byte. Which is what I want to receive. However, I need to send a hex variable to the port, ie. Chr$(&H hexvariable#) Does anyone know the proper sytax to use I really need help on this one!!! Thanks, R ...Show All
Visual Studio 2008 (Pre-release) Canvas Performance
I have an ItemsControl bound to 500 items. As Panel I use a Canvas (each item has a coordinates and size where it should be positioned). As DataTemplate for Items I have Button containing a StackPanel with some TextBlocks. When I'm trying to show this, it takes about 5-10 seconds. Is this normal How can I speed it up Can you elaborate further It'd help if you could post your code, or at least pseudo-code, s ...Show All
Windows Forms Date Time Picker
Hi, Anyone know how to format the Date Time Picker in C# to shows MONTHS only Hi, Sorry, please allow me to ask more, can you guide me more details on how to traverse the list view items and create the loop Thanks. ...Show All
