hi,
i have a dll and i wanted to copy this dll to application folder and add reference of the DLL. Then
Create Object for the CLass DLL
call the function sendsms with parameter
(username, password, senderid, mobnum, message, smsroute).
I have values for this parameters to pass. How to do that?
Loading
Posted Nov 12, 2013, 5:23 PM
First create a Class library project and then compile this and inside that project add your method sendsms and do the stuff whatever you want and after building add reference and locate the dll file and add and when you build your application then it will automatically add the dll to application folder.
and after adding do these things
1. Import/using namespace of class library
2. then create object of class which is available inside namespace
3.using object call sendsms method and pass the values.
4. build it and run it.