TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
natesh_nanu
NA
94
0
Help me on DCOM
Jan 23 2004 1:50 PM
please Can any one give the equalvalent code in asp.net using c# Requirements for using the interface: Support for the Distributed Component Object Model (DCOM) Primarily: MS Visual Basic, MS Visual C++ DLL Location: https://www.xyz.net DLL Class: SWSServices.clsServices Sample Visual Basic Code: strServer = “https://www.xyz.net” strDLL = “SWSServices.clsServices” Dim dcom as New RDS.DataSpace Dim dcom2 as Object Set dcom2 = dcom.CreateObject(strDLL, strServer) Ret = dcom2.GetData(Company, UserName, Password, iData, _ oData, err_Msg) Select Case Left(Ret, 4) Case “0000” ‘Success – Process using oData Case “9999” ‘Fatal Error – Error message in err_Msg Parameter ‘For Debugging Purposes Case Else ‘Error in Data ‘For Example trying to process a batch that isn’t closed ‘ yet End Select Set dcom2 = nothing Set dcom = nothing
Reply
Answers (
0
)
C# Corner meeting at Philly .NET Users Group
Upload from VS to remote server