hes
asked on
Visual Studio 2008 vb.net SHDocVw Windows 7
I have a windows form app that I wrote in Visual Studio 2008 in XP that has a reference to SHDocVw.
I am changing my programming platform over to Windows 7 x64. I cannot add a reference to SHDocVw.dll it gives me
<The system cannot find the reference specified>
Any Ideas ?
I am changing my programming platform over to Windows 7 x64. I cannot add a reference to SHDocVw.dll it gives me
<The system cannot find the reference specified>
Any Ideas ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
emoreau,
My program reads a database and if there is data to be processed navigates to a database and submits the data. With the reference to SHDocVw.dll I was using the .value property to populate the fields. Example
Web1.Document.All("inputfi eld").Valu e = "Test just a test folks"
The .value is not a property in the webbrowser control.
James,
Tried that, it is in the IDE that will not see set a reference to the dll
My program reads a database and if there is data to be processed navigates to a database and submits the data. With the reference to SHDocVw.dll I was using the .value property to populate the fields. Example
Web1.Document.All("inputfi
The .value is not a property in the webbrowser control.
James,
Tried that, it is in the IDE that will not see set a reference to the dll
ASKER
Ok fixed the populate field problem.
Web1.Document.GetElementBy Id("inputf ield").Inn erText = "Test just a test folks"
look for a question about how to click a button that is a class
Web1.Document.GetElementBy
look for a question about how to click a button that is a class
It is not listed in the list of COM objects in Windows 7. You have to reference it through Browse.
Try setting the compiler for a 32-bits by specifying x86 as the Target PCU in the Compile tab of the project's properties, under the Advanced Compile Options button.