krunal
|
| Posted: 02/26/2006, 9:20 PM |
|
i made a dll in vb.which has all my function declared in it.
i would like to call that dll in ccs and operate the functions to get the suitable result. all i want to know is how to add dll files in ccs code .
|
|
|
 |
marcwolf
Posts: 361
|
| Posted: 02/27/2006, 4:03 PM |
|
Hi there
If you have tested your DLL (by calling it with a visual basic program or another language) it should be fairly simple
Once you have registered your DLL using regsrv32 you should then be able to access it using the
Dim aa
aa = Server.CreateObject("myDll.MyClass")
Then it is just
bb = aa.myfunction1(Param1,Param2,param3)
Hope this helps.
Take Care
Dave
_________________
' Coding Coding Coding
Keep Those Keyboards Coding.
Raw Code!!!!!!!
|
 |
 |
marcwolf
Posts: 361
|
| Posted: 02/27/2006, 4:04 PM |
|
Oh - best to declare your DLL instance at the top of the Events.asp page. That way it is accessable with all your functions.
Take Care
Dave
_________________
' Coding Coding Coding
Keep Those Keyboards Coding.
Raw Code!!!!!!!
|
 |
 |
krunal
|
| Posted: 02/27/2006, 8:49 PM |
|
thanx a lot dave.it really works for me . but now i have another trouble regarding button click event.i wrote on the click event on button to redirect the user on another page(i.e redirect="mypage.asp" ,but it dont work.i dont know whats wrong in that .can u help me out.
|
|
|
 |