how can i open a report or form which is in activex dll file ( which i use it like com object) ( as i have explained in report interface in dll file Thread) as vbmodal.i have done this
this is coded in Main project which produce exe file
Set ObjRptTemp = CreateObject("PrjReport.clsReport")
Call ObjRptTemp.ShowForm()
Set ObjRptTemp = Nothing
and this is in PrjReport ( Activex Dll Project )
Public Sub ShowForm()
TempRptCurPV.Show vbModal
End Sub
but TempRptCurPV would not be open as vbmodal, i can switch to the previous form.
this is coded in Main project which produce exe file
Set ObjRptTemp = CreateObject("PrjReport.clsReport")
Call ObjRptTemp.ShowForm()
Set ObjRptTemp = Nothing
and this is in PrjReport ( Activex Dll Project )
Public Sub ShowForm()
TempRptCurPV.Show vbModal
End Sub
but TempRptCurPV would not be open as vbmodal, i can switch to the previous form.