473,472 Members | 1,856 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

call statement

Hi all :)

Please confirm, to call a sub procedure that is in a dll on same server from
my asp.net app I would have to declare the dll the sub procedure is residing
in, and then use the call statement to actaully call the sub?

Cheers, Lerp

Nov 18 '05 #1
4 1298
It depends of the type of DLL is it a COM DLL or is it a .net assembly? If
it is a .NET assembly you will need to reference to the assembly in you
project and then create an instance of the object you would like to you use.
Then using the standard call.method call you can call that sub procedure.
if it is a COM dll you will need to create an interop assemble then follow
the same steps as you did with the .NET assembly

- -wiz

"Lerp" <ad***@officience.ca> wrote in message
news:uS****************@TK2MSFTNGP12.phx.gbl...
Hi all :)

Please confirm, to call a sub procedure that is in a dll on same server from my asp.net app I would have to declare the dll the sub procedure is residing in, and then use the call statement to actaully call the sub?

Cheers, Lerp

Nov 18 '05 #2
Thx WiZ!
"Lerp" <ad***@officience.ca> wrote in message
news:uS**************@TK2MSFTNGP12.phx.gbl...
Hi all :)

Please confirm, to call a sub procedure that is in a dll on same server from my asp.net app I would have to declare the dll the sub procedure is residing in, and then use the call statement to actaully call the sub?

Cheers, Lerp

Nov 18 '05 #3
you can load a dll at runtime and call it. if a c dll, use pinvoke, if a
..net assembly, load the assembly and use reflection to call.

-- bruce (sqlwork.com)
"Lerp" <ad***@officience.ca> wrote in message
news:uS****************@TK2MSFTNGP12.phx.gbl...
| Hi all :)
|
| Please confirm, to call a sub procedure that is in a dll on same server
from
| my asp.net app I would have to declare the dll the sub procedure is
residing
| in, and then use the call statement to actaully call the sub?
|
| Cheers, Lerp
|
|
|
Nov 18 '05 #4
thx for that idea as well Bruce, cheers :)

"Lerp" <ad***@officience.ca> wrote in message
news:uS**************@TK2MSFTNGP12.phx.gbl...
Hi all :)

Please confirm, to call a sub procedure that is in a dll on same server from my asp.net app I would have to declare the dll the sub procedure is residing in, and then use the call statement to actaully call the sub?

Cheers, Lerp

Nov 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Charles Soto | last post by:
I've got a main loop script that calls two other scripts that do no user interaction. All they do is send a couple of mysql update statements. Then they use header() to call the main loop again. ...
3
by: ¤ Alias | last post by:
I have a function named getID3info (lvwDiscInfo.SelectedItem). What is the difference between getID3info (lvwDiscInfo.SelectedItem) and Call getID3info(lvwDiscInfo.SelectedItem) ?
0
by: belacyrf | last post by:
Here's the code: ------------------------------------------------------------------- accessID = request("accessID") strSQL = "SELECT * From PendingAccRequests Where AccessID = "&accessID ...
0
by: Nashat Wanly | last post by:
HOW TO: Call a Parameterized Stored Procedure by Using ADO.NET and Visual C# .NET View products that this article applies to. This article was previously published under Q310070 For a Microsoft...
15
by: chirs | last post by:
I am trying to understand a piece of code. In a javascrpit file, there is a function: function ItemStyle(){ var names=; addProps(this,arguments,names,true); }; In the html file, it calls...
5
by: Sue | last post by:
After finishing up my first quarter JavaScript on 12/12/03, I decided to improve character checking on my project. In my project I only had to do very basic validation. Therefore, I only had one...
16
by: DaTurk | last post by:
Hi, I have a c# application that needs to access c++ libraries, so it does this by using a managed layer of c++ CLI. Anyway, in the CLI function call, that calls the unmanaged function it...
9
by: CryptiqueGuy | last post by:
Consider the variadic function with the following prototype: int foo(int num,...); Here 'num' specifies the number of arguments, and assume that all the arguments that should be passed to this...
12
by: Rahul | last post by:
Hi Everyone, I have the following code and i'm able to invoke the destructor explicitly but not the constructor. and i get a compile time error when i invoke the constructor, why is this so? ...
2
by: savio XCIX | last post by:
I created the following stored procedure: ======= CREATE PROCEDURE TBLNAME.proc_test (IN p_custnum VARCHAR(8), IN p_zipcode...
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
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.