Click here to Skip to main content
15,922,630 members
Home / Discussions / COM
   

COM

 
GeneralUsing ActiveX Pin
daphna10-Sep-03 4:21
daphna10-Sep-03 4:21 
GeneralRe: Using ActiveX Pin
Jagadeesh VN10-Sep-03 9:44
Jagadeesh VN10-Sep-03 9:44 
Question_bstr_t::copy and memory leak? Pin
Maverick9-Sep-03 22:56
Maverick9-Sep-03 22:56 
AnswerRe: _bstr_t::copy and memory leak? Pin
Jagadeesh VN9-Sep-03 23:27
Jagadeesh VN9-Sep-03 23:27 
GeneralRe: _bstr_t::copy and memory leak? Pin
Steve S11-Sep-03 1:58
Steve S11-Sep-03 1:58 
GeneralRe: _bstr_t::copy and memory leak? Pin
Maverick11-Sep-03 22:06
Maverick11-Sep-03 22:06 
GeneralRe: _bstr_t::copy and memory leak? Pin
doisy18-Sep-03 3:01
doisy18-Sep-03 3:01 
Generalasp to asp.net with com problem Pin
mark2229-Sep-03 22:44
mark2229-Sep-03 22:44 
hi i have buy.asp page i want to make new like it in asp.net with c#:
this is my buy.asp


<% Dim MyObj

Set MyObj = Server.CreateObject("e24PaymentPipe.e24PaymentPipe.1")

MyObj.WebAddress = "e24cert.beeebank.com/burgan"

MyObj.PortStr = "443"

MyObj.ID = "9999"

MyObj.Password = "9091"

MyObj.Action = "1"

MyObj.Cardtype = "DEBIT"

MyObj.Amt = Session("Amount")

MyObj.ResponseURL="https://localhost/response.asp"

MyObj.TrackId = "111111"

MyObj.Udf1 = "UDF1"

MyObj.Udf2 = "UDF2"

MyObj.Udf3 = "UDF3"

MyObj.Udf4 = "UDF4"

MyObj.Udf5 = "UDF5"





Dim PaymentURL,PaymentID

Dim varRawResponse,varErrorMsg



TransVal = MyObj.PerformTransaction 'returns 0 for succes -1 for failure

varRawResponse = MyObj.RawResponse

PaymentURL = MyObj.PaymentPage

'PaymentID = MyObj.PaymentId





Response.Write("" )

%>



this asp page use an activex dll
now in my asp.net i add referance to this dll after regesterd in windows (is it enugh to use in .net ?)
and i tried to convert moc.asp to asp.net one (in c#) as the following:


e24PaymentPipeLib.e24PaymentPipeCtlClass s = new e24PaymentPipeLib.e24PaymentPipeCtlClass();

s.WebAddress = "e24cert.beeebank.com/burgan";

s.PortStr = "443";

s.ID = "9999";

s.Password = "9091";

s.Action = "1";

s.Cardtype = "DEBIT";

s.Amt = "10.000"; // as try



s.ResponseUrl = "https://localhost/response.aspx";

s.TrackId = "111111";

s.Udf1 = "UDF1";

s.Udf2 = "UDF2";

s.Udf3 = "UDF3";

s.Udf4 = "UDF4";

s.Udf5 = "UDF5";

short x = s.PerformTransaction();

Label3.Text = x.ToString() ;

string PaymentURL,PaymentID,varRawResponse,varErrorMsg;

varRawResponse = s.RawResponse;

PaymentURL = s.PaymentPage;

PaymentID = "49876255444";



varErrorMsg = s.ErrorMsg;

Label8.Text = varErrorMsg;

Response.Write("" ) ;




but it still not working

note: if you looking to :


Response.Write("" ) ;



the PaymentURL give me my page not the Payment page

please help me thanks all
mark
GeneralForward declaration of interfaces Pin
Rowan Seymour9-Sep-03 2:30
Rowan Seymour9-Sep-03 2:30 
GeneralRe: Forward declaration of interfaces Pin
valikac9-Sep-03 5:53
valikac9-Sep-03 5:53 
GeneralRe: Forward declaration of interfaces Pin
Rowan Seymour10-Sep-03 6:11
Rowan Seymour10-Sep-03 6:11 
GeneralRe: Forward declaration of interfaces Pin
Brian Shifrin11-Sep-03 1:35
Brian Shifrin11-Sep-03 1:35 
GeneralRe: Forward declaration of interfaces Pin
Rowan Seymour11-Sep-03 3:34
Rowan Seymour11-Sep-03 3:34 
GeneralRe: Forward declaration of interfaces Pin
arun140529-Oct-03 2:18
arun140529-Oct-03 2:18 
GeneralRe: Forward declaration of interfaces Pin
Rowan Seymour29-Oct-03 2:58
Rowan Seymour29-Oct-03 2:58 
GeneralIE Automation Pin
nikhilkhedkar8-Sep-03 21:08
nikhilkhedkar8-Sep-03 21:08 
GeneralRe: IE Automation Pin
nikhilkhedkar9-Sep-03 2:18
nikhilkhedkar9-Sep-03 2:18 
GeneralStack messed up upon function returned Pin
DionChen8-Sep-03 8:04
DionChen8-Sep-03 8:04 
QuestionHow to pass VBA Collection to COM DLL from .NET C#? Pin
ajkumar4-Sep-03 15:21
ajkumar4-Sep-03 15:21 
Generalpassing a pointer into C++ from VB Pin
rajdawg3-Sep-03 16:31
rajdawg3-Sep-03 16:31 
GeneralRe: passing a pointer into C++ from VB Pin
Lim Bio Liong18-Sep-03 7:51
Lim Bio Liong18-Sep-03 7:51 
GeneralThreading issue Pin
kkfromus2-Sep-03 11:16
kkfromus2-Sep-03 11:16 
GeneralRe: Threading issue Pin
valikac3-Sep-03 6:22
valikac3-Sep-03 6:22 
GeneralRe: Threading issue Pin
kkfromus3-Sep-03 11:35
kkfromus3-Sep-03 11:35 
GeneralRe: Threading issue Pin
valikac4-Sep-03 9:07
valikac4-Sep-03 9:07 

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.