Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Namespace error
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Environment versions
Environment:
C# 1.1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01041814
Message ID:
01041823
Views:
26
Linda,

>I have been following your Jump Start exercises for building an order form but changing some things to suit a requisition system I'm working on. In the RequisitionForm.cs, after the using OakLeaf.MM.Main.Windows.Forms, I have a line using RSC.TotalControl.Business, which is the namespace for my business object in requisitions.cs. When I try to run the form, I get an error "The type or namespace name 'TotalControl' does not exist in the class or namespace 'RSC'. What am I missing?

A few things to check

1. Make sure there isn't a typo or casing error in the namespace. The best way to insure this is to go to your business object source code file, copy the namespace, then paste it into a using statement at the top of the form

2. Does your Windows Forms project have a reference to your business project's assembly? Expand your Windows Form's project's References node to see if there is a reference to the business object assembly. If not, right-click the node and add the reference (the easiest way is to go to the Project tab of the Add Reference dialog).

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform