|
-
Jan 12th, 2008, 05:28 AM
#1
Thread Starter
Member
IE Version problem?
I've written a program which "read data" from the school server. There is a webbrowser control in the program, which read a HTML page from the server, and the VB will find the information from the HTML document. I used
Code:
instr(WebBrowser1.DocumentText, information)
This works fine on my computer, which is:
- Vista x64
- built in IE7
- VS 2008 (with .Net Framework 3.5)
However, the program doesn't work on my friend's computer, which is a XP machine. The program can be run, but the function doesn't work. There IS such a string within the same HTML document, but no reaction triggered by the "instr" statement. Is it the problem that ".documenttext" works only on IE7, but not IE6?
Another problem is that, is it all program written by VS2008 (.Net Framework 3.5) cannot be run on .Net Framework 2.x installed machine?
Thanks for answering my questions!!
-
Jan 12th, 2008, 10:12 AM
#2
Thread Starter
Member
Re: IE Version problem?
Hi all
I've put make a tester (a webbrowser control only with instr function) with VS2005. While it runs, an error shows up
Code:
System.io.filenotfoundexception
I search it on the Internet, and I think it should be a bug. I've tried to include the mshtml.dll with the project for installation, but this doesn't help. (I meet the problem even though my machine has VS2005!) I cannot find any solution from MS. The program works fine on my VS2008 installed laptop, and this may mean the bug doesn't exist in .Net framework 3.5... Maybe I should force the users to install 3.5, as this should be the only way to "solve" the problem...
-
Jan 12th, 2008, 12:48 PM
#3
Re: IE Version problem?
Well your developing on a 64 bit syste, so you should be using 64 bit 3.5 framework. This may be causing teh issue when going to the XP system which is 32 bit.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jan 12th, 2008, 11:24 PM
#4
Thread Starter
Member
Re: IE Version problem?
 Originally Posted by RobDog888
Well your developing on a 64 bit syste, so you should be using 64 bit 3.5 framework. This may be causing teh issue when going to the XP system which is 32 bit.
I've tried to use x86 computer to write a tester with webbrowser and instr function. This doesn't work either!
i am trying to use axwebbrowser, this works in my xp, but doesn't work in my vista and my friend's xp! strange...
-
Jan 14th, 2008, 12:41 AM
#5
Re: HELP! Error, cannot run and cannot install!!
Well, i'm not sure, but I think that Virtual PC runs as a x32 environment regardless of whether the hardware is x64. So when you leave the Virtual PC and try to run your program within a native x64 environment like Vista x64, it's causing errors. Not many things run at x64 yet. If you want them to, I do think that you can actually specify that you're coding for x64 within VS2008, but again, not sure.
-
Jan 14th, 2008, 12:50 AM
#6
Re: HELP! Error, cannot run and cannot install!!
Please dont create threads on duplicate subjects. 
Please respond in the original thread referenced in post #1.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jan 14th, 2008, 10:02 AM
#7
Re: HELP! Error, cannot run and cannot install!!
-
Jan 14th, 2008, 11:02 AM
#8
Re: HELP! Error, cannot run and cannot install!!
Duplicate posts delleted and thread re-opened.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|