Results 1 to 8 of 8

Thread: HELP! Error, cannot run and cannot install!!

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 2006
    Location
    Hong Kong
    Posts
    45

    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!!

  2. #2

    Thread Starter
    Member
    Join Date
    Jan 2006
    Location
    Hong Kong
    Posts
    45

    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...

  3. #3
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    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 PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI 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

  4. #4

    Thread Starter
    Member
    Join Date
    Jan 2006
    Location
    Hong Kong
    Posts
    45

    Re: IE Version problem?

    Quote 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...

  5. #5
    Frenzied Member MaximilianMayrhofer's Avatar
    Join Date
    Aug 2007
    Location
    IM IN YR LOOP
    Posts
    2,001

    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.

  6. #6
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    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 PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI 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

  7. #7
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: HELP! Error, cannot run and cannot install!!

    Duplicates merged

  8. #8
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    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 PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI 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
  •  



Click Here to Expand Forum to Full Width