473,405 Members | 2,344 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,405 software developers and data experts.

Plz Reply-Its urgent-Creating a Class Library

1) Choose File- NewProject
2) Select ClassLibrary from the project templetes.
3) Suppose I rename it to ClassLibrary.
4) Add Code inside the block code.
I write
Public Class assembly
Public Function add(ByVal x As Integer, ByVal y As Integer)
Return x + y
End Function
End Class
5) Choose Build-Build ClassLibrary.


RUNNING A DLL FILE—
1)Project-->Add WindowsFormRename it to Yogesh
2) Server Explorer-->Right Click-->Add Reference-->Open the ClassLibrary.
3)Imports Assembly
In the above imports statement, Imports assembly is there or
Imports ClassLibrary is there.

Public Class yogesh
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

End Sub
End Class
I also do not know what to write on the click event of the button.
Apr 2 '08 #1
1 817
in class library
u have one class name

normal aspx file creat that class object

suppose library class name
public class abc

that class creat object
abc a=new abc();
then call the function;
Apr 2 '08 #2

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

Similar topics

10
by: Khamal | last post by:
Hello... The quality of reply is quite bad in this forum.....many post has not reply.... I/We need Microsoft technical team involve directly in this forum and put some effort to give us HELP. If...
2
by: Andrew Robinson | last post by:
I need to make a web service call using an HTTPS POST. XML data is returned in the body of the HTTPS reply. What is the best way to do this with asp.net web services? I am very comfortable in...
6
by: A.Translator | last post by:
As I am just beginning to learn php I had to fish a free form script from the web. The script works fine, it processes the data filled in, including the sender's email address and sends an email to...
0
by: 2Barter.net | last post by:
newsmail@reuters.uk.ed10.net Fwd: Money for New Orleans, AL & GA Inbox Reply Reply to all Forward Print Add 2Barter.net to Contacts list Delete this message Report phishing Show original
3
by: vinodkus | last post by:
Please tell me how can I reply to newsgroup for quicker response
2
by: =?Utf-8?B?VHJvb2RsZXM=?= | last post by:
I had an email from someone who, at the time, was not in my address book. I clicked 'reply' and wrote my response. As I had clicked reply I didn't have to type in the email address separately. The...
1
by: stef mientki | last post by:
hello, I'm always have great difficulties, replying to this beautiful and helpful list. When I hit the reply button, the message is sent personally to the sender and not to the list. I've...
1
by: davidj411 | last post by:
I want to reply to the goups and not author for an older post (from February) , but it seems i can only reply to the author (using google groups). Is there a way (within Google groups) to reply...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.