| | |
VB6 Pass Value from Dll to Exe
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Nov 2007
Posts: 5
Reputation:
Solved Threads: 0
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.
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.
![]() |
Similar Threads
- Custom Message Box (Visual Basic 4 / 5 / 6)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: problem in picture display...
- Next Thread: open a csv file in new worksheet in an open xls workbook
Views: 1214 | Replies: 0
| Thread Tools | Search this Thread |
Tag cloud for Visual Basic 4 / 5 / 6
* 6 429 2007 access activex add age append application basic beginner birth bmp c++ calculator cd cells.find click client code college column component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report retrieve save search sendbyte sites sort sql sql2008 sqlserver struct subroutine table tags textbox timer urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows





