VB6 Pass Value from Dll to Exe

Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Nov 2007
Posts: 5
Reputation: rajeshnrh74 is an unknown quantity at this point 
Solved Threads: 0
rajeshnrh74 rajeshnrh74 is offline Offline
Newbie Poster

VB6 Pass Value from Dll to Exe

 
0
  #1
Feb 13th, 2008
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.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum


Views: 1214 | Replies: 0
Thread Tools Search this Thread



Tag cloud for Visual Basic 4 / 5 / 6
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC