I have an old program that I am not able to move to .net as it will be phased into another project. We are moving to Window7 with IE 9 environment and I have to make ths program run for the next forseeable year or two.
It works fine under an xp environment with IE9
I've created a new project just for testing and have fixed many issues such as the project not seeing the controls and am down to displaying the actual user document.
The project consists of
1. Standard exe file that has a form which basically calls the userdocument form with the following code.
2. Userdocument is an active X form
Has one userdocument called udDSPNew which is compiled to a .dll
Normally when the main program is compiled and is run the userdocument is executed automatically. I was getting unable to display the page error so I addeed the click button so I could trace it easier but I still get the same issue.
I've registered the dll in system32 but still am unable to display page.
Does anyone have any guidance or info on how to resolve this issue? Any all all help is definitely appreciated as I have strugged to rebuild this project for the last 2 months.
Thanks in advance
lhuffst
It works fine under an xp environment with IE9
I've created a new project just for testing and have fixed many issues such as the project not seeing the controls and am down to displaying the actual user document.
The project consists of
1. Standard exe file that has a form which basically calls the userdocument form with the following code.
Code:
Private Sub Command1_Click()
Dim strForm As String
' strForm = "[URL unfurl="true"]http://"[/URL] & gHtmlWebPath & "/udDSP2xp.vbd" --> this is the original line of code.
Debug.Print strForm
strForm = "[URL unfurl="true"]http://""C:\Program[/URL] Files\Microsoft Visual Studio\VB98\Test\newTest\udDSPNew.vbd" --> this is the userdoc (active x)
frmDspNew.WebBrowser1.Navigate (strForm)
frmDspNew.Show
End Sub
2. Userdocument is an active X form
Has one userdocument called udDSPNew which is compiled to a .dll
Normally when the main program is compiled and is run the userdocument is executed automatically. I was getting unable to display the page error so I addeed the click button so I could trace it easier but I still get the same issue.
I've registered the dll in system32 but still am unable to display page.
Does anyone have any guidance or info on how to resolve this issue? Any all all help is definitely appreciated as I have strugged to rebuild this project for the last 2 months.
Thanks in advance
lhuffst