Author Topic: commands to indentify browser type  (Read 1206 times)

Offline sankars

  • Newbie
  • *
  • Posts: 11
commands to indentify browser type
« on: May 04, 2010, 05:42:02 PM »
Hi All,


In the below code shdoclc.dll is used to check browser type,is there any other commands similar to this( which we can use
to identify the browser type)
Can i get some explanation on the blow code.


   If InStr(1, sURL, "shdoclc.dll", vbTextCompare) <> 0 or _
      InStr(1, sURL, "about:neterror?", vbTextCompare) <> 0 Then


Offline sankars

  • Newbie
  • *
  • Posts: 11
Re: commands to indentify browser type
« Reply #1 on: May 04, 2010, 05:43:12 PM »
Hi Tarun,

Thanks a lot

I think this thread can be locked.

Thanks again
sankar

Offline sankars

  • Newbie
  • *
  • Posts: 11
Re: commands to indentify browser type
« Reply #2 on: May 04, 2010, 08:53:52 PM »
Hi Tarun & All

Apologies , i have wrongly posted the above reply please ignore it.

Thanks
sankar

Offline Tarun Lalwani

  • Administrator
  • Hero Member
  • *****
  • Posts: 3001
    • KnowledgeInbox
Re: commands to indentify browser type
« Reply #3 on: May 04, 2010, 09:36:47 PM »
It is not browser type. It is just the URL which comes when a page fails to load with some predefined error code like 404 page not found.
Regards,
Tarun
KnowledgeInbox Administrator

KnowledgeInbox" style="border:0

Offline sankars

  • Newbie
  • *
  • Posts: 11
Re: commands to indentify browser type
« Reply #4 on: May 05, 2010, 04:38:37 AM »
Hi Tarun,

Thanks a lot,

Please may i know what changes need to done to the script runs smoothly in FF assuming that original script is
developed in IE. and where i can find these details.

Thanks again
sankar





Offline Tarun Lalwani

  • Administrator
  • Hero Member
  • *****
  • Posts: 3001
    • KnowledgeInbox
Re: commands to indentify browser type
« Reply #5 on: May 05, 2010, 04:42:52 AM »
Well most of the code that won't work in FF is

- Code containing dialog or window objects
- Code using DOM on IE
Regards,
Tarun
KnowledgeInbox Administrator

KnowledgeInbox" style="border:0