Click here to Skip to main content
15,897,891 members
Home / Discussions / C#
   

C#

 
QuestionManage Print Event Pin
Laji594-Oct-08 18:53
Laji594-Oct-08 18:53 
AnswerRe: Manage Print Event Pin
Jaffer Mumtaz4-Oct-08 20:32
Jaffer Mumtaz4-Oct-08 20:32 
QuestionHow to print RichTextBox Pin
Laji594-Oct-08 18:46
Laji594-Oct-08 18:46 
AnswerRe: How to print RichTextBox Pin
DaveyM694-Oct-08 22:56
professionalDaveyM694-Oct-08 22:56 
Question.Net threading: get the concept, no idea how to implement Pin
MarkGMcM4-Oct-08 14:58
MarkGMcM4-Oct-08 14:58 
AnswerRe: .Net threading: get the concept, no idea how to implement Pin
DaveyM694-Oct-08 23:15
professionalDaveyM694-Oct-08 23:15 
QuestionC# web app / class library question Pin
circonian4-Oct-08 10:48
circonian4-Oct-08 10:48 
AnswerRe: C# web app / class library question Pin
Vimalsoft(Pty) Ltd4-Oct-08 23:38
professionalVimalsoft(Pty) Ltd4-Oct-08 23:38 
hi

Let me try to Help, because i once Referenced some DLLs to the Web Project. You Obviously have to Create two Projects , One that has your Class and will be Compiled into a DLL and your Web where you will be referencing it. So if yoou created this with VS.NET there is no problem.

Go to your referencing Project and Click on Add Reference and Click in the Project Tab and Choose the Project that Creates that DLL or your can Browse to it , after that in your Application you will access it like this

int num1 =  Convert.ToInt32(txtnum1.Text);

int num2 =  Convert.ToInt32(txtnum2.Text);

int Results;

createDll.Class1 myobj= new createDll.Class1();

Results = myobj.Add(num1,num2);


Be carefull when using Datatypes , use long when its really needed.

Hope this Helpes

Vuyiswa Maseko,

Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding

VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za


QuestionSpelling Control Pin
Bob X4-Oct-08 8:50
Bob X4-Oct-08 8:50 
QuestionConnecting to a c# Local Database Pin
Alex Grose4-Oct-08 3:11
Alex Grose4-Oct-08 3:11 
AnswerRe: Connecting to a c# Local Database Pin
TALHAKOSEN4-Oct-08 3:31
TALHAKOSEN4-Oct-08 3:31 
GeneralRe: Connecting to a c# Local Database Pin
Alex Grose4-Oct-08 3:46
Alex Grose4-Oct-08 3:46 
GeneralRe: Connecting to a c# Local Database Pin
Alex Grose4-Oct-08 4:23
Alex Grose4-Oct-08 4:23 
AnswerRe: Connecting to a c# Local Database Pin
leckey4-Oct-08 5:57
leckey4-Oct-08 5:57 
GeneralRe: Connecting to a c# Local Database Pin
Alex Grose4-Oct-08 6:01
Alex Grose4-Oct-08 6:01 
GeneralRe: Connecting to a c# Local Database Pin
Mark Salsbery4-Oct-08 7:42
Mark Salsbery4-Oct-08 7:42 
GeneralRe: Connecting to a c# Local Database Pin
Malcolm Smart4-Oct-08 7:45
Malcolm Smart4-Oct-08 7:45 
GeneralRe: Connecting to a c# Local Database Pin
Alex Grose4-Oct-08 8:58
Alex Grose4-Oct-08 8:58 
GeneralRe: Connecting to a c# Local Database Pin
Paul Conrad4-Oct-08 15:34
professionalPaul Conrad4-Oct-08 15:34 
AnswerRe: Connecting to a c# Local Database Pin
funklet4-Oct-08 8:49
funklet4-Oct-08 8:49 
AnswerRe: Connecting to a c# Local Database Pin
jzonthemtn5-Oct-08 3:42
jzonthemtn5-Oct-08 3:42 
QuestionFail to set port using SetMulticastGroup() of IMulticastConfig to "MPEG-2 Multicast Receiver" filter Pin
Andy Rama4-Oct-08 1:18
Andy Rama4-Oct-08 1:18 
QuestionCreating a Pause Button....... Pin
Member 46731983-Oct-08 21:07
Member 46731983-Oct-08 21:07 
AnswerRe: Creating a Pause Button....... Pin
Jaime Olivares4-Oct-08 2:14
Jaime Olivares4-Oct-08 2:14 
GeneralRe: Creating a Pause Button....... Pin
Member 46731984-Oct-08 3:24
Member 46731984-Oct-08 3:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.