Loranga's Q&A profile
Visual C# smart card application in visual C# 2005
Hello I started building an application which connects to an ORGA smart card reader to read the data stored in specific files with specific access rights, controlled with a PIN code. I found some tutorials on how to use the winscard api to conect to the smart card reader and I succeded connecting to it. I need a tutorial that goes a little bit further on this topic, in how to acces the files on the smart card reader, their content, how to change the PIN code and so forth. If you know anything about this or you can point for a link, or you have a document about this, please post a message here. Thank you for your help in advance! P.S ...Show All
Visual Studio Another thead about VSS 2005 Internet Access
I have the same issue described on http://forums.microsoft.com /msdn/ShowPost.aspx PostID =2774 . I have done all the steps I could find describe on the thread and online instructions and yet in IIS 6.0 under the SourceSafe application I see only the bin directory. It is not providing an error in event log or any other place I know of, yet the virtual directories are not created for vssupload and vssdownload. However if I run the VSS 2005 on IIS 5.1 on XP Pro Service Pack 2 the virtual directories are create just fine! I also ran the December CTP on Windows Server 2003 and it worked. The only difference I can& ...Show All
Visual Studio Team System SetLocaleForDataTypes
I have found one variable in our code where it does not seem to want to set the locale. We have the following in the class itself rather than in a method in the class private DataTable Res = new DataTable ( "Results" ); What I would like to do is immediatly after that line in the class set the Locale ie Res.Locale = CultureInfo.InvarientCulture; Visual studio does not seem to allow this. I have tried to add the above line into methods where Res is used, while Visual Studio allows the line to be added doing so does not get rid of the item from FxCop. Does anyone have any suggestions ...Show All
Visual Studio Tools for Office VSTO 2005 Outlook Add-in - trying to understand security
I'm developing an Outlook add-in that is supposed to run unattended and I'm having a difficult time determining the full story on the object model guard popups. I've been given the statement (by someone as MS) that an option is to: "Build and deploy your solution as a trusted in-process COM add-in to outlook. Signed and trusted components running within Outlook’s process do not prompt. Visual Studio 2005 has support for such components" I've granted my DLL FullTrust permission and have signed it but I still get the popups. It's the Exchange Server administrator that actually has to "trust" an add-in - isn't t ...Show All
SQL Server Migrating SqlServer2000->2005 and classic ADO: problem with AddNew to recordset, related to adFldUnknownUpdatable attribute?
The application is running ADO (MDAC) version 2.81.1117.0. The application gets an recordset created by SQLServer by an select statement. In this case the recordset is empty. The application adds a record to the recordset by AddNew(). Works fine. But when assigning the first field (smalldatetime in database) I get ADO error -2147217887. I have inspected the recordset and I found a difference between the working one from SQLServer2000 and the new one from SQLServer2005: The Attributes item for the fields in the recordset has the flag adFldUnknownUpdatable set in the working SQL2000 version but is not set from SQL2005. The database ...Show All
Visual C++ How to read *.txt file contents into CString object????
Hi, I like to read the contents of a txt file into CString object in MFC program. Now, I use ifstream to read the contents, but it can read into char array only. Do you have any ideas Thanks, vcboy What's wrong with reading it into a char array (can the *.txt file contain Unicode characters - if it can then char is not the right choice) and then creating a CString from the array ...Show All
SQL Server How to Insert One Row with Multiple time depding on Source Column value in SSIS Pacakge
Hi ! I need help for SSIS Pacakge. using condtional Split How to insert One records with Multiple time depending on Source column value .Is there possible to wrtie the condition in Conditional split. For Exmaple : Source Table Name : tbl_source following Column Name: col_Name1,Col_Name2,Col_Name3, col_Id,Col_Descrip table contain only one records:GRD1,SRD1,FRD1,100,Product I want Insert the Destiantion table the Follwing Condition. using Conditional Split. 1)Cond1 (!(ISNULL(GRD1)) 2)Cond2 !(ISNULL(SRD1)) 3)Cond3 !(ISNULL(FRD1)) I need the Following output Destination Table Name : tbl ...Show All
Windows Forms Using Reflection?
Hi We have a multi layered .NET application under development. It had VB.NET client, J2EE mid layer, Documentum another middle layer and Oracle on Unix. Quite huge. Just trying to understand if REFLECTION feature of .NET can be some good use for us. Please explain with some good and small examples. Thanks Pankaj Reflection is very slow. Don't use ...Show All
SQL Server Optional command line parameter
Hello, I want to use an optional parameter at the command line for my package. I planned to make the first task a script which simply checks the variable (which is a string), and if it is empty, go one way, and if it is not, go another way. Is the best to go Many thnaks in advane Use the SET option. It is documented in BOL and there is even an example doing exactly what you want to do (i.e. set a variable from the command-line). ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/sqlcmpt9/html/89edab2d-fb38-4e86-a61e-38621a214154.htm -Jamie ...Show All
Smart Device Development Stop connection balloon?
Hi Guys, Anyone know if it's possible to hide or stop the connection balloon from coming to front My app dials a GPRS connection but this causes the balloon to appear on the screen until it's connected. I'd really like to stop that happening. Thanks John The following post has pointers to places where you can post non-VS 2005 questions http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=255386&SiteID=1 ...Show All
Software Development for Windows Vista Loading Workflows from assemblies: FileLoadException
Hello, I am getting the following error when trying to load a workflow dynamically: System.IO.FileLoadException was unhandled Message="The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)" The code that errors is as follows: using System.Reflection; ... Assembly assembly = Assembly.Load(@"C:\Path\SequentialWorkflowLibrary.dll"); ... SequentialWorkflowLibrary is a sequential workflow library that works without problems inside of its own project. I get this error when trying to execute the workflow from a separate console host. I made the following change when troubleshootin ...Show All
Windows Forms Session timeout in .Net
Hi, Can someone help me figureout why a browser "forgets" the contents in session objects after a lapse of time ...say around 5 mins. here is my problem... I'm using sessions to store the username and some variables in a page and I have 4 pages. In each page I check if the session("UserName") is empty. IF its empty...redirect to default.aspx. ...Show All
Visual C# make drawing appear on tab control
I drew some shape that i would like it to appear on the top of the tab control. Right it's just draw on to the form "behind" the tab. how should i do that thanks Hi, If I understood the question correctly - a shape that you added over a tab control on a windows form, gets hidden behind the tab when you run the application. To solve this issue, open the form in design mode. Place cursor over the tab control and click the right mouse button. On the context menu, select the option "send to back" This will bring the share behind the tab control to the front ...Show All
SQL Server ReportServer as a separate component
Can the ReportServer web services application be installed without installing SQL Server Let me explain a little further what I'm trying to do and if I need to take a different path, I'm open to suggestions. I am going to be using XML files for data input and RDL files to describe the reports themselves. That being said, I am not in need of a database of any kind (and don't want to be required to use one), but I want to take advantage of Microsoft's rendering capabilities. I have looked into the ReportViewer control, but that control doesn't support all of the rendering extensions that ReportServer does (mostly HTML). ...Show All
Visual Studio Express Editions Charts in VB express
Does anyone knows what's the best way to approach charts in VB express edition What about MS Office Charts 11.0 or ZedGraphs... I tried to use the last one as a UserControl but the IDE failed to add the ZedGraph.dll ...does anyone has a clue The "best" way is difficult to answer because only you know the demands. But here is a cuple of things you might want to look at. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=217070&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=147218&SiteID=1 ...Show All
