For Programmers: Free Programming Magazines  


Home > Archive > C# > January 2005 > RandomAccessRecord









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author RandomAccessRecord
jerry chapman

2005-01-29, 8:56 pm

I am looking at c# code in "C# for Experienced Programmers", and there is a
line of code:
RandomAccessRecord record = new RandomAccessRecord();

When I try to run it I get error:

C:\Documents and Settings\jerryc\My Documents\My
Files\c#\readAFP\Form1.cs(41): The type or namespace name
'RandomAccessRecord' could not be found (are you missing a using directive
or an assembly reference?)


What is wrong?


Joep

2005-01-29, 8:56 pm

Missing a reference and/or the using clausule for the assembly that contains
your RandomAccessRecord. The error message is quit clear, isn't it?

"jerry chapman" <jerryc314@sbcglobal.net> wrote in message
news:omSKd.8931$8Z1.8249@newssvr14.news.prodigy.com...
>I am looking at c# code in "C# for Experienced Programmers", and there is
>a
> line of code:
> RandomAccessRecord record = new RandomAccessRecord();
>
> When I try to run it I get error:
>
> C:\Documents and Settings\jerryc\My Documents\My
> Files\c#\readAFP\Form1.cs(41): The type or namespace name
> 'RandomAccessRecord' could not be found (are you missing a using directive
> or an assembly reference?)
>
>
> What is wrong?
>
>



jerry chapman

2005-01-29, 8:56 pm

My mistake. I found the code for the type.
"jerry chapman" <jerryc314@sbcglobal.net> wrote in message
news:omSKd.8931$8Z1.8249@newssvr14.news.prodigy.com...
> I am looking at c# code in "C# for Experienced Programmers", and there is

a
> line of code:
> RandomAccessRecord record = new RandomAccessRecord();
>
> When I try to run it I get error:
>
> C:\Documents and Settings\jerryc\My Documents\My
> Files\c#\readAFP\Form1.cs(41): The type or namespace name
> 'RandomAccessRecord' could not be found (are you missing a using directive
> or an assembly reference?)
>
>
> What is wrong?
>
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com