Different behavior between Win2000 and WinXP Pro 
Author Message
 Different behavior between Win2000 and WinXP Pro

I am writing an app in VB 6.0 SP5 and in this app are a ListView control and
a Webbrowser control. The ListView control populates itself with the names
of all .doc files in a specified directory. Clicking on any item (filename)
in the ListView triggers  the following

Private Sub selectFile()
    Dim sFile as string

    sFile = App.Path & "\" & ListView1.SelectedItem.Text

    WebBrowser1.Navigate sFile, 14

End Sub

When I run this on Win2000 Pro the WebBrowser control displays the document
(which is what I want) but when I run the same code on WinXP Pro it pops up
the Save/Open/Cancel/More Info dialog box. Both PCs are running IE 6.0.2600
and the settings are the same on both. The only difference is that the XP
machine is running version 6.0.2600.xp-client of IE.
Any ideas?


Sun, 14 Nov 2004 01:30:24 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Help, VB6 Pro WinXP Pro Win98 2nd

2. VB - Different behavior on different machines

3. Win2000--> WinXP (Compile question)

4. ADODC and win2000/WinXP

5. PROBLEM!!-->VB Application/IE6 crashing behavior when running a WinNT built app on WinXP

6. Odd printing behavior on Win2000

7. combo box behavior Win2000 vs Win98

8. Excel 97 on WinXP Pro, early bound problems in VB

9. VBA - ActiveDocument.Save with WINXP Pro

10. Scripting engine under WinXP Pro?

11. VB97 and VB6 crashing in WinXP Pro

12. Permissions problem with ADOX and CreateProcess() on WinXP Pro


Powered by phpBB® Forum Software