Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 14th, 2006, 09:47 AM
Friend of Wrox
 
Join Date: Aug 2006
Posts: 107
Thanks: 0
Thanked 0 Times in 0 Posts
Default compiling class

hi all

i have added a class named user.vb in solution
how can i compile that? so that i can get the dll
what is the path for compilation?

thanks in advance


 
Old September 14th, 2006, 10:29 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Are you using Visual Studio?

"The one language all programmers understand is profanity."
 
Old September 14th, 2006, 10:29 AM
Friend of Wrox
 
Join Date: Aug 2006
Posts: 107
Thanks: 0
Thanked 0 Times in 0 Posts
Default

yes vs.net2003
vb.net

 
Old September 14th, 2006, 10:49 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

If you mean to say that you created a Class Project (e.g. the only file in your project is a file with .vb extenstion) press CTRL + SHIFT + B (Build) then navigate to the folder where the project resides, go into the bin folder and there will be a dll with your projects name, that is your compiled class, now just add it to the man project.

If you mean to say that you created a class file inside of a web project, you dont need to worry about compiling it into a dll, it will be compiled as part of your project DLL then to reference it you would do:

[className] cn = New [className]();

Any methods or functions declared without private will be accessible by doing:

cn.[function/method name]

"The one language all programmers understand is profanity."





Similar Threads
Thread Thread Starter Forum Replies Last Post
Property access from Class within Partial Class zoltac007 C# 2005 0 December 1st, 2006 01:01 AM
Regarding Class Library (.dll) from class file manish.sharma04 BOOK: Wrox's ASP.NET 2.0 Visual Web Developer 2005 Express Edition Starter ISBN: 978-0-7645-8807-5 1 March 3rd, 2006 07:32 AM
Errors when Compiling a Class File Jim3 General .NET 1 March 16th, 2005 01:57 AM
Using a class without compiling it pdreply ASP.NET 1.0 and 1.1 Basics 8 April 5th, 2004 02:51 PM
How to include c# class and vb class in the .vbprj umeshayk VS.NET 2002/2003 2 January 9th, 2004 12:08 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.