Open VB.Net form from vb6
-
Hai all, i wonder if anyone know how to use ShellExecute command in VB6 to open another form which is made with VB.Net 2005 I already find out how to open VS.Net Webpage using this: Private Sub Command1_Click() Dim dUrl As String dUrl = "http://server/apps1/Pages/Report.aspx?ItemPath=2" ShellExecute hWnd, "open", dUrl, NILL, NILL, Empty End Sub but, how to do similar task to open VB.Net form? Would someone give me a clue please? Thanx 1st.
-
Hai all, i wonder if anyone know how to use ShellExecute command in VB6 to open another form which is made with VB.Net 2005 I already find out how to open VS.Net Webpage using this: Private Sub Command1_Click() Dim dUrl As String dUrl = "http://server/apps1/Pages/Report.aspx?ItemPath=2" ShellExecute hWnd, "open", dUrl, NILL, NILL, Empty End Sub but, how to do similar task to open VB.Net form? Would someone give me a clue please? Thanx 1st.
Just pass the path to the app as your argument.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
Just pass the path to the app as your argument.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
Which path? I mean, when we install the VB.Net application, we can't determine where the form path is, right? Actually what I try to do is to call a report form in VB.Net that using SQL Report Service from a VB application(call it ReportForm)..so let's say when user click button [REPORT], the ReportForm will show up...
-
Which path? I mean, when we install the VB.Net application, we can't determine where the form path is, right? Actually what I try to do is to call a report form in VB.Net that using SQL Report Service from a VB application(call it ReportForm)..so let's say when user click button [REPORT], the ReportForm will show up...
QPun wrote:
I mean, when we install the VB.Net application, we can't determine where the form path is, right?
The form path ? What do you mean ? The only path is the path to the exe, you know where that is, right ? If you have an app with many forms, there's no way to use a specific form from VB6. All you can do is run the program.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
QPun wrote:
I mean, when we install the VB.Net application, we can't determine where the form path is, right?
The form path ? What do you mean ? The only path is the path to the exe, you know where that is, right ? If you have an app with many forms, there's no way to use a specific form from VB6. All you can do is run the program.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )