473,320 Members | 1,961 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Need To Resolve a Reference Problem

I have two C# files. To make it simple I've now put them in the same directory. The first few lines of the web page are as follows:

<%@ Page language="C#" %>
<%@ Reference Page="Crypto.cs" %>
<%
Crypto.CryptoEngine xe = new Crypto.CryptoEngine();
%>
.
.
.
The Reference directive is my 20th attempt at guessing what syntax Microsoft wants me to use. I've probably looked at 50 web pages trying to discover the correct syntax. How can I get the web page to recognize the Crypto namespace that is defined within the Crypto.cs file?

Will anyone please help? I'm at my wits end.

The start of the Crypto.cs file are:

using System.IO;
using System.Text;
using System.Security.Cryptography;

namespace Crypto
{
public class CryptoEngine
Oct 17 '07 #1
0 845

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Bill Cohagan | last post by:
I've got a c# app that does some transforms using XSL files that are stored as Embedded Resources in the app. That turns out to be significant; i.e., the problem I've encountered goes away if I...
0
by: cubes | last post by:
Hi, I have an Access 97 application with a reference to an mda library with a single module. I distribute these as a runtime application. Recently I have found that I get a references problem...
3
by: dln | last post by:
I'm having a rather weird problem when attempting to build my project that maybe someone could help me out with. Basically, I have a workspace containing two C# projects. The first project is a...
1
by: Craig G | last post by:
i am having problems with my development environment i have a webservice (mywebservice.asmx) when i add the web reference into the development environment it will only allow me to use the...
66
by: genestarwing | last post by:
QUESTION: Write a program that opens and read a text file and records how many times each word occurs in the file. Use a binary search tree modified to store both a word and the number of times it...
2
by: ChrisB | last post by:
Hello, I was wondering what options are available for resolving the following (simplified) scenario. Two project exist and each contains a class: ProjectA - Class1 ProjectB - Class2 ...
5
by: carlpayne1984 | last post by:
Hi all, I'm fairly new to XML, however already I have studied myself stupid without being able to solve this problem. Basically, I have an XML file/Schema about a CD catalog that I've created that...
3
by: magnets | last post by:
I have two C# files. To make it simple I've now put them in the same directory. The first few lines of the web page are as follows: <%@ Page language="C#" %> <%@ Reference Page="Crypto.cs" %>...
6
by: K Viltersten | last post by:
I'm getting this message. System.IO.FileNotFoundException was unhandled Message: It's not possible to load the file or assembly SomeName, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.