Click here to Skip to main content
15,921,643 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have an vb 6.0 application which is called from ASP pages passing some parameter. The application is running fine on windows XP but on migration to Windows 7 the application hangs. Please suggest.

Following is the ASP code which calls the VB application Visual_Unit.exe

VB
Application("visual_exe") = Request.ServerVariables("APPL_PHYSICAL_PATH") & "Visual_Unit.exe"
Set Executor = Server.CreateObject("ASPExec.Execute")
Executor.Application = Application("visual_exe")
Executor.Parameters = "1, " & t_Exp_path & ", " & t_filename & ", " & t_user_id & "
Executor.ShowWindow = True
StrResult = Executor.ExecuteWinApp 


Following is the VB code to be executed with the parameters provided by above code

VB
Dim Pass_Value as object
 
Pass_Value = Command() 
aArr = Split(Pass_Value, ",")
Menu_Opt = aArr(0)


My machine is windows 7 32bit.
Above code working fine in WinXp
Posted
Updated 2-Oct-12 20:46pm
v2
Comments
lailac88 21-Mar-13 22:35pm    
that would be better if you use vb2010

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900