Path.Combine(string1, string2, string3) does not work as expected. Why?
I have this code:String strErrorFile = Path.Combine( MYAPP.Properties.Settings.Default.PreviousReportPath, Path.GetFileNameWithoutExtension(strFile),"_ERRORS.CSV");But the result is excluding the file...
View Articlequestion for developers
how do i make forms and GUI suit with data that recived from reader of rfid???
View ArticleSignature in PKCS1 v1.5: RSAPKCS1SignatureFormatter vs RSACryptoServiceProvider
I need to sign a Hash value of data and get a digital signature in PKCS1 v1.5 format. My understanding is that RSAPKCS1SignatureFormatter.CreateSignature(HashValue) does exactly that. In other words,...
View ArticleGeometry Library
HiIs there ,NET library with the following capablity:1) Calculate minimum distance betweenPoint and polygon.Line and polygon.2)Calculate minimum distance between 2 polygons?pop
View ArticleInput string was not in a correct format.
I am trying to convert a null value to a double value using convert function in C#. Can anybody help me in this regards...I am getting a null value in a variable named "gridCol1"Step 1 - I am doing...
View ArticleVirtual SQL database?
Is there any possibility to create virtual SQL database? That would be just in RAM and vanish as soon as you're closing application?I tried to Google it but all I get is virtual machines and Azure and...
View ArticleThe right way to sign with a password using RSACryptoServiceProvider
What is the right way to create a digital signature using a smart card with a password? From what I understand, I have to do these steps: 1. Calculate Hash value for data to be signed 2. Create...
View Article.NET assembly localization
Hi all, I have a .NET assembly containing localizable Windows forms. I want to set .NET assembly language localization by the calling application. I use the following code in the windows form class...
View ArticleCompiler Error Message: CS1647: An expression is too long or complex to compile
Hi Guys, I'm getting the below error and really do not know how to progress. Any help is greatly appreciated! Thanks in advance!Compilation ErrorDescription: An error occurred during the compilation...
View ArticleInput string was not in a correct format.
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Threading.Tasks;using...
View ArticleCombine with Write for read/write access?
By MSDN, FileAccess - Defines constants for read, write, or read/write access to a file. Read - Read access to the file. Data can be read from the file. Combine withWrite for...
View ArticleCan I use System.Version to check java version?
I want to check the installed java version to make sure it meets minimum requirements. I'm reading it from the registry keys:HKLM\\SOFTWARE\\JavaSoft\\Java Runtime Environment\\Java7FamilyVersion. A...
View ArticleUsing ResourceWriter to target different .NET versions
I have a tool that creates .NET resource assemblies programmatically, the tool is written in C# and is compiled using .NET v4.0. On occasion this tool needs to generate resource assemblies that target...
View ArticleCan any one Give Code for RSA encryption Decryption
I have Problem. Data is encrypted by RSA.encrypt methodthen i stored the encrypted datalater i retrive the encrypted data and trying to decrypt using RSA.decrypt methodBut I got error while Decrypting...
View ArticleThe book who I selected doesn't move to the right in CheckedListBox and the...
Imprumut = loan I have 6 tables: I have one combobox(from where I select utilizatori(users)) and 2 CheckedListBox(Between first box and second box I have 2 buttons:imprumuta(loan) and...
View ArticleBAD DATA exception while decryption using RSA
// Encryption Part string plainTextData = File.ReadAllText((Server.MapPath("~/das/") + me.txt) ,Encoding.ASCII); string d1 = encrypt(plainTextData);...
View ArticleRe-Install MS Office Pro 2007
I have had to re-install my windows from a virus and when trying to install (download) the 2007 Office Pro with my 25 digit code it states :The Office 2007 Product Key you provided is blocked for...
View ArticleRemote Desktop SDK for .Net
Hi,At the university of Oslo, we need to develop an extended MS Terminal service to provide an additional option, which described as follows:A Specific group of Remote Desktop users should be able to...
View ArticleSystem.Reflection.MethodInfo.GetCurrentMethod.Name now throwing "Cannot...
For the last five months I've been working on an ASP.NET 4.5 project using VS2013 Ultimate and Visual Basic. I've been developing on my location machine, using local ISS and a networked SQL 2012...
View Article