CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 I want to add my dll file in to ccs code.

Print topic Send  topic

Author Message
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!!!!!!!
View profile  Send private message
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!!!!!!!
View profile  Send private message
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.

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.