954,568 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

VB6 Pass Value from Dll to Exe

Hi,
my project is based on VB6 Activex Dll , Activex Exe and ASP 3.0
In Activex Dll I'm storing Session ID in one variable.
How can I get the value (Session ID) stored in that variable in Activex Exe?
My code is as follows:


1) VB6 Activex Dll Code:

Public Function GetSession(ByRef SessionID As String) As String
GetSession = SessionID
End Function

2) ASP Code:
<%
Dim SessionID
Dim objMyComponent

Set objMyComponent = Server.CreateObject("COMSession.clsSession")

SessionID = objmycomponent.GetSession(Session.SessionID)
Response.Write SessionID


%>

3) Now, I want to write an Activex Exe to get Session ID in VB6 Activex Dll.

Help me.

Thnks
Rajesh N.

rajeshnrh74
Newbie Poster
5 posts since Nov 2007
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You