blah blah blah is here! blah blah » Close

0
votes
2 answers

Storing a string containing special characters in to database..

Hi all, I am working on a project on Cryptography and need to store the ciphertexts in the database. I am facing two main issues here.. First, the ciphertext gets way too long and I get the error: The identifier that starts with ... ...

0
votes
1 answers

System Beep in C#/Visual Studio. NET

Hi all, First of all, I apologize for asking a question so out of the track. I have a asp.net website which performs the encrypt and decrypt functions. I am calling these functions from a DLL which I built using C# too. Now, there ...

1
votes
4 answers

changing background color of specific items in listbox

Hi all, I am populating a Listbox in my ASP.NET website by pulling values from a database. Now, based on certain criteria, I want to change the text color of some of the items in the listbox. Even making them bold would do the trick. ...

1
votes
1 answers

Duplication of values in Listbox

Hi all, I have a listbox in which I am displaying some values retrieved from the database. Now, depending on which value user selects in the listbox, I am further executing another query. The problem is, once this query executes, the ...

0
votes
1 answers

assigning values to variables defined within dll

Hi all, In my project on cryptography, I am using DLL to hold all the crypto related functions and then calling these dll functions from my asp.net pages. The encrypt and decrypt functions are separate and can be called by users as p ...

0
votes
6 answers

Storing byte[] value

Hi all, In my project, at one point, I get the result in byte[], which I change to string to display in further textboxes. I can also store the same in the database too. My question is, is it possible to work directly on the returned ...

0
votes
8 answers

Access variables defined in other functions

Hi all, I have a Windows Application which contains functions for Encrypt/Decrypt which is working fine when both the functions are put together as a single code. Now, I wanted to call encrypt and decrypt functions independently of each ...

0
votes
2 answers

SqlDataReader: The data types text and varchar are incompatible in the equal to operator

Hi all, I am performing insert and retrieve on sql server database. The insert is working fine but during retrieve, I get the following error: The data types text and varchar are incompatible in the equal to operator the error is ...

0
votes
2 answers

A simple While Loop

Hi, I have a function which creates a random value which is used later in the program. It is created with the following code: [code] BigInteger randpri = BigIntegers.CreateRandomInRange(min, max, random); [/code] The problem is t ...

0
votes
2 answers

Accessing variables from different classes in Windows Application

Hi, I have a Windows Application which contains quite a few classes and code files. Now, I want to access a variable to display it on the form. How can I do it. The variable is declared in a public function called doTestEnc() in th ...

0
votes
2 answers

Form does not load

Hi all, I am creating a Windows Application in C#. I created the form and also have a Main method as an entry point. But as soon as I run the project, only what is in the main gets executed and the result is displayed in the output w ...

0
votes
0 answers

Object reference not set to an instance of an object.

Hi all, I am facing the object reference error is the following line: [code] this.bitSize = key.Parameters.P.BitLength; [/code] It seems that P does not contain anything.. I tried to check this by printing out the value using [c ...

1
votes
1 answers

using library in ASP.NET

Hi everyone, I have a pretty complex code for Cryptographic operations. It is a collection of around 20 individual C# code working together as a Windows Application. There are many classes, interacting with each other to produce the req ...

1
votes
3 answers

creating DLL files.. C#

Hi all, I am trying to create a dll from the source codes which are currently running as windows application. I thought running the project with the output type as "Class Library", would create a dll, as it did in previous ...

1
votes
1 answers

Buffer Limit problem in compiling crytpographic library

Hi all, I am trying to compile a cryptographic library to test an Encryption/Decryption algorithm. The library is Bouncy Castle Cryptographic library written in C#. The code runs fine and I tested by comparing the input and eventual d ...

Feedback