Answer Questions
MichaelGaertner How can I set PIN programmatically to disable raising a dialog asking for a smart card pin?
Hi, I want to decrypt a data using a private key, stored on a Smart Card. I want to disable raising a dialog asking for a pin. There is my sample code: CspParameters cspp = new CspParameters (); cspp.KeyContainerName = "MyKeyContainer"; cspp.ProviderName = " Schlumberger Cryptographic Service Provider "; // My Smart Card PIN is "1111" System.Security. SecureString ss= new System.Security. SecureString (); ss.AppendChar( '1' ); ss.A ...Show All
sooraj Does anyone know how to confirm if an email was sent successfully?
I’m using the new System.Net.Mail.MailMessage to send emails and will like to have a way to confirm if sent ok. (I have no problems sending, I just need the confirmation only) Which function or method to use Can anyone post a snippet for this Thanks all I belive this is added post Beta2. So no wonder you are not seeing this in intellisense Use the VS2005 RTM bits or just use the free redistribut ...Show All
ArildFines Memory usage
I've noticed while profiling apps that the Process/Private Bytes counter keeps going up. The .NET Memory counters (Gen x heap size | # Bytes in Heap | etc) all go up and down as the app runs. Other than some very small dips the private bytes continues to go up and up as processing is done. Does this represent some type of memory leak I'm not using any unmanaged code that I'm aware of either. ...Show All
tats DataGrid Plus symbol in left hand corner
Is there some kind of format changes that i can make on the datagrid.....there is a plus sign that comes up that you have to click to see the data..I am using VS Enterprise Architect, i can not seem to find an answer to the issue.....when i click my button i should just see results i do not want to have to click the plus symbol for the data to be displayed. any help world be great If you are using VB.NET you should use ds.Tables(0) square ...Show All
mokschnok Setup project uninstall issue
Hi, I've created a simple setup using setup project from VS 2003. The setup creates folders and shortcuts in the Start ->Programs menu. The application is installed for "Just me", then unistallation will remove the folders from Start menu. If the product is installed as for "Everyone", then uninstall process will remove only the application shortcuts, but do nothing with the folders. ...Show All
Petr Svoboda Thread corruption issues with 64 bit framework?
Anybody else having troubles with multiple threads running in the .NET 2.0 framework in a 64 bit app I have an application that queries a server, then reads the results back on a seperate thread. Each chunk received is doled out to yet another set of threads before using Control.Invoke to resync to the UI thread. This model works perfectly in the 1.1 framework, and in fact works fine in the 2.0 framework when run as a 32 bit app. But whe ...Show All
James 39b Service and COM don't work with Windows XP Service Pack 2
I have a service application created with VB.NET that creates a COM object. The service works fine in Windows 2000, but in Windows XP with service pack 2 it doesn't because it receives the "Access denied" error. If I create a windows form application instead of a service, it works fine even in Windows XP with service pack 2. Can someone help me What I'm trying to piece together is why you are ...Show All
Richard McCrea C# - create a datbase and update information
I have been a Visual FoxPro programmer for many years (Bad Luck!) I have created a simple application. Created a database with 1 table (Customers). Created a dataset from this Dragged and dropped the controls from the dataset onto the form which dropped the table adaptors etc below the form. It set up the controls correctly Adding and changing data to the form all works and saves the data to the data set It will not save it back to t ...Show All
Edward van Steenderen ActiveX not showing up with framework 2.0
Hello, I am using an activex control on my website. It was running fine with framework 1.1, when I try to run it on framework 2.0 it's not showing up. It's not showing any error message, just a "image not found icon" in webpage's body and "DONE" on IE's status bar. When switch it to framwork 1.1 it runs fine. What I think for the activeX not showing issue is that this might be some security issue because I had the same problem earlier with frame ...Show All
mtohara xslt loop problem
Hi I always seem to get 90% of the way before something goes pear-shaped Started on xslt (apparently the way to do the following) so I can get rid of all the trash from one file and save only the info needed to another. I am using Stylus Studio to help with the xslt and I have the following which works xslt file < xml version='1.0' > < xsl:stylesheet version= "1.0" xmlns:xsl= "http://www.w3.org ...Show All
gremel62 config file and RegisterChannel()
hi, i'm running .net remoting server with user channel. it's config file is like : < channel type ="ChannelClass, dll" port ="2200" priority ="100" interface ="localhost"> < clientProviders > < formatter ref ="binary" /> </ clientProviders > < serverProviders > < formatter ref ="binary" typeFilterLev ...Show All
matshelander Very slow data loading into DataTable from Oracle
I'm a newbie to VS2005 and .NET and trying to load about 20,000 records from an Oracle table into a datatable. I've tried the design-time methods like TableAdapters and it is so slooww. I've also tried a couple of programmatic methods like OracleDataAdapters and and OracleDataReaders. The result is the same - about 10-12 seconds to load 20,000 records. That can't be right, surely As a comparison I tried the same function within a Delphi 2005 ...Show All
walkside unique nodes from Nodelist msxml dom
hi I am trying to access unique nodes from NodeList (MSXML2.IXMLDOMNodeList) This is a part of my xml file in which i have multiple < FamilyCharat > with different ChrCod value i have loaded it into Nodelist when i am counting No of < FamilyCharats > it is showing me 3 ,where as ChrCod of 2 element has same ChrCod and i need only unique ChrCod and its and there value < Fa ...Show All
rhc_advent Events on user input?
Is there anyway to gain access to the event that occours when a user preses a certain key on their keyboard I was thinking keypress in the form or something, but the unfamiliar vocabulary threw me off. Thanks Thank you for the expiedient answer. However, I do not understand, how do I make my keypress event only respond to when a user presses "return" and not "a" or "tab" You recive a "e" a ...Show All
Sarosh_Alamgir what is activation scoping in assemblies?
Hi all, I have just started dotnet framework.im understanding the assemblies ,in the framework documentaion ,i have just come across the naming " activation scoping ".Could anyone elaborate on that Thanks in Advance Santosh Kumar Scoping is the process in which the scope of a member is determined. For example, you may have noticed that you can select a block of text in VS.NET and then press the Ctrl-F key to perform a find-and-r ...Show All
