Discussion:
Accessing the internet NOT using Explorer
(too old to reply)
Glenn
2008-12-03 16:22:59 UTC
Permalink
I currently am using the method

_app.IE = new OleAutoClient("InternetExplorer.Application")


To get to the internet. Works fine, except one site does not allow IE!
It gives an error message and shuts down, so I was wondering how to do
this using another browser, such as Opera or Mozilla.

Thanks,

Glenn Fausel
Mervyn Bick
2008-12-03 16:28:30 UTC
Permalink
Post by Glenn
I currently am using the method
_app.IE = new OleAutoClient("InternetExplorer.Application")
To get to the internet. Works fine, except one site does not allow IE!
It gives an error message and shuts down, so I was wondering how to do
this using another browser, such as Opera or Mozilla.
I don't have an answer to your problem but I am intriqued that a site
would deliberatley bar IE. It's usually the other way round - it's the
non-IE browsers that have trouble. What is the error message and, if it
is not a state secret, what is the URL?

Mervyn.
Greg Hill
2008-12-03 17:01:57 UTC
Permalink
Post by Glenn
I currently am using the method
_app.IE = new OleAutoClient("InternetExplorer.Application")
To get to the internet. Works fine, except one site does not allow IE! It
gives an error message and shuts down, so I was wondering how to do this
using another browser, such as Opera or Mozilla.
Aside from using OLE, Are able to pull that site up?

Greg Hill
Mervyn Bick
2008-12-03 19:51:08 UTC
Permalink
On Wed, 03 Dec 2008 19:59:31 +0200, Glenn <***@aol.com> wrote:

l
Answering both questions here. It appears from reading that the site
only rejects certain versions of IE, so yours might get thru. It rejects
it regardless of how you access it.
www.cdcovers.cc
Mm, I tried with Opera 9.62, IE7 and the MS Web Browser ActiveX in dBase
(2.6.0.1 and XP SP3) and I had no trouble at all.


Mervyn.



******** Start of example code ******
** END HEADER -- do not remove this line
//
// Generated on 2008/12/03
//
parameter bModal
local f
f = new getURL1Form()
if (bModal)
f.mdi = false // ensure not MDI
f.readModal()
else
f.open()
endif

class getURL1Form of FORM
with (this)
onOpen = class::FORM_ONOPEN
height = 26.7273
left = 4.1429
top = 0.5455
width = 166.2857
text = ""
endwith

this.ACTIVEX1 = new ACTIVEX(this)
with (this.ACTIVEX1)
height = 24.8636
left = 2.2857
top = 0.7727
width = 161.8571
l0 =
"FNBBBBBBLQIFBBBBCQEJBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBFNBBBBBBBBBBBBBBBBBBBBBBBCBBBBBBPBOBGIBBIEEGNQCCLPHKBJBBDMDPCDHDBJBBBBBBBBBBBBBBFNBBBBBBBCCFBDBBBBBBBBBBNBBBBBBBBBBBBBFHJBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB"
l0 += "BBBBBBBBBBBBBBBBBCBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB"
state = l0
classId = "{8856F961-340A-11D0-A96B-00C04FD705A2}"
endwith


function form_onOpen
form.activex1.nativeobject.navigate2("http://www.cdcovers.cc/")
return

endclass
************* End of example code *********
Glenn
2008-12-03 17:59:31 UTC
Permalink
Post by Greg Hill
Post by Glenn
I currently am using the method
_app.IE = new OleAutoClient("InternetExplorer.Application")
To get to the internet. Works fine, except one site does not allow IE! It
gives an error message and shuts down, so I was wondering how to do this
using another browser, such as Opera or Mozilla.
Aside from using OLE, Are able to pull that site up?
Greg Hill
Answering both questions here. It appears from reading that the site
only rejects certain versions of IE, so yours might get thru. It rejects
it regardless of how you access it.

www.cdcovers.cc

Glenn
Glenn
2008-12-03 20:36:24 UTC
Permalink
Post by Greg Hill
Post by Glenn
I currently am using the method
_app.IE = new OleAutoClient("InternetExplorer.Application")
To get to the internet. Works fine, except one site does not allow IE! It
gives an error message and shuts down, so I was wondering how to do this
using another browser, such as Opera or Mozilla.
Aside from using OLE, Are able to pull that site up?
Greg Hill
Answering both questions here. It appears from reading that the site only
rejects certain versions of IE, so yours might get thru. It rejects it
regardless of how you access it.
www.cdcovers.cc
I was able to go to it using IE7, firefox, google
Greg Hill
Everything works except IE6, which is what I have. rather than upgrade
my browser, I thought I should learn how to use others thru dbase!

Glenn
Andrew Shimmin
2008-12-03 21:37:16 UTC
Permalink
With IE6 I get an "Operation aborted" msgbox.

regards, andrew
Post by Glenn
Post by Greg Hill
Post by Glenn
I currently am using the method
_app.IE = new OleAutoClient("InternetExplorer.Application")
To get to the internet. Works fine, except one site does not allow
IE! It gives an error message and shuts down, so I was wondering
how to do this using another browser, such as Opera or Mozilla.
Aside from using OLE, Are able to pull that site up?
Greg Hill
Answering both questions here. It appears from reading that the site
only rejects certain versions of IE, so yours might get thru. It
rejects it regardless of how you access it.
www.cdcovers.cc
I was able to go to it using IE7, firefox, google
Greg Hill
Everything works except IE6, which is what I have. rather than upgrade
my browser, I thought I should learn how to use others thru dbase!
Glenn
Glenn
2008-12-04 06:28:31 UTC
Permalink
That's what I get. Which is why I need some help to get the other
browsers running :-)

Thanks,

Glenn
Post by Andrew Shimmin
With IE6 I get an "Operation aborted" msgbox.
regards, andrew
Post by Glenn
Post by Greg Hill
Post by Glenn
I currently am using the method
_app.IE = new OleAutoClient("InternetExplorer.Application")
To get to the internet. Works fine, except one site does not allow
IE! It gives an error message and shuts down, so I was wondering
how to do this using another browser, such as Opera or Mozilla.
Aside from using OLE, Are able to pull that site up?
Greg Hill
Answering both questions here. It appears from reading that the site
only rejects certain versions of IE, so yours might get thru. It
rejects it regardless of how you access it.
www.cdcovers.cc
I was able to go to it using IE7, firefox, google
Greg Hill
Everything works except IE6, which is what I have. rather than upgrade
my browser, I thought I should learn how to use others thru dbase!
Glenn
Greg Hill
2008-12-03 20:16:56 UTC
Permalink
Post by Greg Hill
Post by Glenn
I currently am using the method
_app.IE = new OleAutoClient("InternetExplorer.Application")
To get to the internet. Works fine, except one site does not allow IE! It
gives an error message and shuts down, so I was wondering how to do this
using another browser, such as Opera or Mozilla.
Aside from using OLE, Are able to pull that site up?
Greg Hill
Answering both questions here. It appears from reading that the site only
rejects certain versions of IE, so yours might get thru. It rejects it
regardless of how you access it.
www.cdcovers.cc
I was able to go to it using IE7, firefox, google

Greg Hill
Marc VdB
2008-12-04 07:56:40 UTC
Permalink
Hi Glenn
Post by Glenn
To get to the internet. Works fine, except one site does not allow IE!
It gives an error message and shuts down, so I was wondering how to do
this using another browser, such as Opera or Mozilla.
Easiest way on my machine is :

local f
f = new glennForm()
f.open()

class glennForm of FORM
with (this)
metric = 6
onOpen = { ; form.firefox.nativeobject.navigate2("www.cdcovers.cc")}
height = 300 ; left = 20
width = 600 ; top = 50
endwith

this.firefox = new ACTIVEX(this)
with (this.firefox)
classId = "{1339B54C-3453-11D2-93B9-000000000000}"
anchor = 6 // Container
endwith

endclass


HTH,
Marc
Glenn
2008-12-04 14:21:40 UTC
Permalink
Will try this one. Where do you get the Class ID from??

Thanks,

Glenn
Post by Marc VdB
Hi Glenn
Post by Glenn
To get to the internet. Works fine, except one site does not allow IE!
It gives an error message and shuts down, so I was wondering how to do
this using another browser, such as Opera or Mozilla.
local f
f = new glennForm()
f.open()
class glennForm of FORM
with (this)
metric = 6
onOpen = { ; form.firefox.nativeobject.navigate2("www.cdcovers.cc")}
height = 300 ; left = 20
width = 600 ; top = 50
endwith
this.firefox = new ACTIVEX(this)
with (this.firefox)
classId = "{1339B54C-3453-11D2-93B9-000000000000}"
anchor = 6 // Container
endwith
endclass
HTH,
Marc
Roland Wingerter
2008-12-04 15:59:11 UTC
Permalink
Post by Glenn
Will try this one. Where do you get the Class ID from??
---------
Open a new form in the form designer, drag an ActiveX-Object on it. Then
open the object inspector, go to form.activeX1.classid and click on the
wrench tool. In the list of ActiveX components look for MozillaBrowser
Class.

If it's not installed on your computer, you can get it here
http://www.iol.ie/~locka/mozilla/control.htm

The site has instructions how to install the ActiveX.

Roland
Marc VdB
2008-12-04 17:36:24 UTC
Permalink
Post by Roland Wingerter
Post by Glenn
Will try this one. Where do you get the Class ID from??
Open a new form in the form designer, drag an ActiveX-Object on it. Then
open the object inspector, go to form.activeX1.classid and click on the
wrench tool. In the list of ActiveX components look for MozillaBrowser
Class.
If it's not installed on your computer, you can get it here
http://www.iol.ie/~locka/mozilla/control.htm
The site has instructions how to install the ActiveX.
Thanks Roland, i was in a hurry and just copy/pasted some lines i had here.

CU, Marc
Glenn
2008-12-04 22:35:45 UTC
Permalink
Post by Marc VdB
Post by Roland Wingerter
Post by Glenn
Will try this one. Where do you get the Class ID from??
Open a new form in the form designer, drag an ActiveX-Object on it.
Then open the object inspector, go to form.activeX1.classid and click
on the wrench tool. In the list of ActiveX components look for
MozillaBrowser Class.
If it's not installed on your computer, you can get it here
http://www.iol.ie/~locka/mozilla/control.htm
The site has instructions how to install the ActiveX.
Thanks Roland, i was in a hurry and just copy/pasted some lines i had here.
CU, Marc
Yah, I do not seem to have the ActvieX for Mozilla. Also did not see
Microsoft Explorer there, but that did work.

Thanks,

Glenn
Glenn
2008-12-05 02:30:56 UTC
Permalink
Thanks to both of you! It works perfect, except there are no controls,
ie return to previous page, reload, etc. Is that a separate program??

Glenn
Post by Marc VdB
Post by Roland Wingerter
Post by Glenn
Will try this one. Where do you get the Class ID from??
Open a new form in the form designer, drag an ActiveX-Object on it.
Then open the object inspector, go to form.activeX1.classid and click
on the wrench tool. In the list of ActiveX components look for
MozillaBrowser Class.
If it's not installed on your computer, you can get it here
http://www.iol.ie/~locka/mozilla/control.htm
The site has instructions how to install the ActiveX.
Thanks Roland, i was in a hurry and just copy/pasted some lines i had here.
CU, Marc
Roland Wingerter
2008-12-05 08:12:54 UTC
Permalink
Thanks to both of you! It works perfect, except there are no controls, ie
return to previous page, reload, etc. Is that a separate program??
--------
Yes, sort of. You can use the Mozilla ActiveX or the IE Web Browser control
to offer browser capabilities inside a dBASE form.

http://msdn.microsoft.com/en-us/library/aa752044.aspx

Roland
Marc VdB
2008-12-05 10:07:17 UTC
Permalink
Hi Glenn,
Thanks to both of you! It works perfect, except there are no controls, ie
return to previous page, reload, etc. Is that a separate program??
you could build your own controls...see code below (watch for wrap)


HTH, Marc

** END HEADER -- do not remove this line
//
// Generated on 05/12/2008
//
parameter bModal
local f
f = new fbrowserForm()
if (bModal)
f.mdi = false // ensure not MDI
f.readModal()
else
f.open()
endif

class fbrowserForm of FORM
with (this)
onOpen = class::FORM_ONOPEN
metric = 6 // Pixels
height = 549.0
left = 3.0
top = 0.0
width = 801.0
text = "VdBLogic fBrowser"
mdi = false
maximize = true
refreshAlways = false
endwith

this.CONTAINER1 = new CONTAINER(this)
with (this.CONTAINER1)
transparent = true
left = 0.0
top = 0.0
width = 801.0
height = 43.0
borderStyle = 3 // None
anchor = 2 // Top
endwith

this.CONTAINER1.ENTRYFIELD1 = new ENTRYFIELD(this.CONTAINER1)
with (this.CONTAINER1.ENTRYFIELD1)
onChange = { ; form.Activex1.nativeObject.navigate(this.value) }
key = class::ENTRYFIELD1_KEY
height = 25.0
left = 15.0
top = 5.0
width = 538.0
value = "Address"
maxLength = 200
endwith

this.CONTAINER1.PUSHBUTTON1 = new PUSHBUTTON(this.CONTAINER1)
with (this.CONTAINER1.PUSHBUTTON1)
onClick = {; form.Activex1.nativeObject.goBack()}
height = 25.0
left = 560.0
top = 5.0
width = 35.0
text = ""
upBitmap = "RESOURCE #104"
pageno = 0
endwith

this.CONTAINER1.PUSHBUTTON2 = new PUSHBUTTON(this.CONTAINER1)
with (this.CONTAINER1.PUSHBUTTON2)
onClick = {; form.container1.entryfield1.onchange()}
height = 25.0
left = 644.0
top = 5.0
width = 56.0
text = "Reload"
pageno = 0
endwith

this.CONTAINER1.PUSHBUTTON3 = new PUSHBUTTON(this.CONTAINER1)
with (this.CONTAINER1.PUSHBUTTON3)
onClick = class::GOHOME
height = 25.0
left = 707.0
top = 5.0
width = 56.0
text = "Home"
pageno = 0
endwith

this.CONTAINER1.PUSHBUTTON4 = new PUSHBUTTON(this.CONTAINER1)
with (this.CONTAINER1.PUSHBUTTON4)
onClick = {; form.Activex1.nativeObject.goforward()}
height = 25.0
left = 598.0
top = 5.0
width = 35.0
text = ""
upBitmap = "RESOURCE #100"
pageno = 0
endwith

this.ACTIVEX1 = new ACTIVEX(this)
with (this.ACTIVEX1)
height = 506.0
left = 0.0
top = 43.0
width = 801.0
state = "BBBEBBBBGQGDBBBBPDEEBBBB"
classId = "{1339B54C-3453-11D2-93B9-000000000000}"
anchor = 6 // Container
endwith

with (this.ACTIVEX1.nativeObject)
DocumentComplete = class::MOZILLA
endwith


function ENTRYFIELD1_key(nChar, nPosition,bShift,bControl)
if nchar = 13
this.onchange()
endif
return

function gohome
form.container1.entryfield1.value = form.home
form.container1.entryfield1.onchange()
return

function Mozilla(pDisp, URL)
form.container1.entryfield1.value = this.locationurl
return

function Form_onOpen
form.home ="www.google.de"
this.Activex1.nativeObject.navigate(form.home)
this.container1.entryfield1.value=form.home
return

endclass
Glenn
2008-12-05 15:04:05 UTC
Permalink
Perfect!!! Thanks so much,

Glenn
Post by Marc VdB
Thanks to both of you! It works perfect, except there are no controls, ie
return to previous page, reload, etc. Is that a separate program??
you could build your own controls...see code below (watch for wrap)
HTH, Marc
** END HEADER -- do not remove this line
//
// Generated on 05/12/2008
//
parameter bModal
local f
f = new fbrowserForm()
if (bModal)
f.mdi = false // ensure not MDI
f.readModal()
else
f.open()
endif
class fbrowserForm of FORM
with (this)
onOpen = class::FORM_ONOPEN
metric = 6 // Pixels
height = 549.0
left = 3.0
top = 0.0
width = 801.0
text = "VdBLogic fBrowser"
mdi = false
maximize = true
refreshAlways = false
endwith
this.CONTAINER1 = new CONTAINER(this)
with (this.CONTAINER1)
transparent = true
left = 0.0
top = 0.0
width = 801.0
height = 43.0
borderStyle = 3 // None
anchor = 2 // Top
endwith
this.CONTAINER1.ENTRYFIELD1 = new ENTRYFIELD(this.CONTAINER1)
with (this.CONTAINER1.ENTRYFIELD1)
onChange = { ; form.Activex1.nativeObject.navigate(this.value) }
key = class::ENTRYFIELD1_KEY
height = 25.0
left = 15.0
top = 5.0
width = 538.0
value = "Address"
maxLength = 200
endwith
this.CONTAINER1.PUSHBUTTON1 = new PUSHBUTTON(this.CONTAINER1)
with (this.CONTAINER1.PUSHBUTTON1)
onClick = {; form.Activex1.nativeObject.goBack()}
height = 25.0
left = 560.0
top = 5.0
width = 35.0
text = ""
upBitmap = "RESOURCE #104"
pageno = 0
endwith
this.CONTAINER1.PUSHBUTTON2 = new PUSHBUTTON(this.CONTAINER1)
with (this.CONTAINER1.PUSHBUTTON2)
onClick = {; form.container1.entryfield1.onchange()}
height = 25.0
left = 644.0
top = 5.0
width = 56.0
text = "Reload"
pageno = 0
endwith
this.CONTAINER1.PUSHBUTTON3 = new PUSHBUTTON(this.CONTAINER1)
with (this.CONTAINER1.PUSHBUTTON3)
onClick = class::GOHOME
height = 25.0
left = 707.0
top = 5.0
width = 56.0
text = "Home"
pageno = 0
endwith
this.CONTAINER1.PUSHBUTTON4 = new PUSHBUTTON(this.CONTAINER1)
with (this.CONTAINER1.PUSHBUTTON4)
onClick = {; form.Activex1.nativeObject.goforward()}
height = 25.0
left = 598.0
top = 5.0
width = 35.0
text = ""
upBitmap = "RESOURCE #100"
pageno = 0
endwith
this.ACTIVEX1 = new ACTIVEX(this)
with (this.ACTIVEX1)
height = 506.0
left = 0.0
top = 43.0
width = 801.0
state = "BBBEBBBBGQGDBBBBPDEEBBBB"
classId = "{1339B54C-3453-11D2-93B9-000000000000}"
anchor = 6 // Container
endwith
with (this.ACTIVEX1.nativeObject)
DocumentComplete = class::MOZILLA
endwith
function ENTRYFIELD1_key(nChar, nPosition,bShift,bControl)
if nchar = 13
this.onchange()
endif
return
function gohome
form.container1.entryfield1.value = form.home
form.container1.entryfield1.onchange()
return
function Mozilla(pDisp, URL)
form.container1.entryfield1.value = this.locationurl
return
function Form_onOpen
form.home ="www.google.de"
this.Activex1.nativeObject.navigate(form.home)
this.container1.entryfield1.value=form.home
return
endclass
Glenn
2008-12-06 05:12:02 UTC
Permalink
Okay, we have a problem. The right-click feature of the mouse in a
browser, ie save file, etc, does not work. All that appears is a dbase
popup for select all, etc.

Any idea why?? I know that IE works when used with the other method....

Thanks,

Glenn
Roland Wingerter
2008-12-06 07:35:41 UTC
Permalink
Post by Glenn
Okay, we have a problem. The right-click feature of the mouse in a
browser, ie save file, etc, does not work. All that appears is a dbase
popup for select all, etc.
--------
I get a popup with these options:

Back
Forward
---------
Select all
Paste
---------
View source // greyed out
---------
Print
Refresh
---------
Properties

Looks like a browser popup to me, although it's different from the one I get
in Firefox version 3.0.4.

Roland
Roland Wingerter
2008-12-06 10:21:59 UTC
Permalink
Post by Roland Wingerter
Looks like a browser popup to me, although it's different from the one I
get in Firefox version 3.0.4.
--------
FWIW, I am using dBASE PLUS 2.6.1.3 b2059.

A word of warning concerning Mozilla ActiveX Control. From what I read at

http://www.iol.ie/~locka/mozilla/control.htm
and
http://mxr.mozilla.org/seamonkey/source/embedding/browser/activex/

it seems that this control has not been updated since 2004. While it claims
to be compatible with the IE WebBrowser Control, I found that the properties
of nativeobject.document.body do not show up in the dBASE inspector and
cannot be accessed from dBASE.

Roland
Marc VdB
2008-12-06 09:39:36 UTC
Permalink
Post by Glenn
Okay, we have a problem. The right-click feature of the mouse in a
browser, ie save file, etc, does not work. All that appears is a dbase
popup for select all, etc.
This is a known bug. It is fixed in 2.61.4 b2075 maybe in one of the
earlier releases

HTH, Marc
Glenn
2008-12-06 13:42:43 UTC
Permalink
Post by Marc VdB
Post by Glenn
Okay, we have a problem. The right-click feature of the mouse in a
browser, ie save file, etc, does not work. All that appears is a dbase
popup for select all, etc.
This is a known bug. It is fixed in 2.61.4 b2075 maybe in one of the
earlier releases
HTH, Marc
Does not help unfortunately, as I cannot use the wonderful method you
gave me! SO, does the right-mouse click allow you to save an item to
your computer??

Glenn
Marc VdB
2008-12-07 11:13:35 UTC
Permalink
Post by Glenn
Does not help unfortunately, as I cannot use the wonderful method you
gave me! SO, does the right-mouse click allow you to save an item to
your computer??
No, indeed the activex shows an other popup than the browser programm.
If this is critical for you, you can't use the activex.
I don't see a way to fix this

Sorry,

Marc
Glenn
2008-12-07 21:20:06 UTC
Permalink
Post by Marc VdB
Post by Glenn
Does not help unfortunately, as I cannot use the wonderful method you
gave me! SO, does the right-mouse click allow you to save an item to
your computer??
No, indeed the activex shows an other popup than the browser programm.
If this is critical for you, you can't use the activex.
I don't see a way to fix this
Sorry,
Marc
I am guessing the form's right mouse behavior overrides the website.

Is IE the only browser that can be opened use OLE autoclient???

Glenn
Marc VdB
2008-12-07 21:26:17 UTC
Permalink
Post by Glenn
I am guessing the form's right mouse behavior overrides the website.
No, the activex has its own popup, but it is ifferent than the one of
the standalone firefox browser
Post by Glenn
Is IE the only browser that can be opened use OLE autoclient???
i fear so. Ichecked opera and safari and could not find an activex
control for these...

CU, Marc
Roland Wingerter
2008-12-07 21:38:20 UTC
Permalink
Post by Glenn
Is IE the only browser that can be opened use OLE autoclient???
-------
No, there's also an ActiveX for Mozilla (Marc used it in his browser form).

Roland
Glenn
2008-12-07 23:32:23 UTC
Permalink
Post by Roland Wingerter
Post by Glenn
Is IE the only browser that can be opened use OLE autoclient???
-------
No, there's also an ActiveX for Mozilla (Marc used it in his browser form).
Roland
Am I misunderstanding things here?? The function below opens IE as a
freestanding browser. This is NOT an ActiveX component. Can this be
done with FireFox or Opera???

Glenn

if not empty(site)
if type("_app.IE") = "U"
_app.IE = new OleAutoClient("InternetExplorer.Application")
endif
_app.IE.Navigate( site )
_app.IE.theatermode = true
_app.IE.left = form.sw+1
_app.IE.top = 1
_app.IE.visible = True
endif
return
Roland Wingerter
2008-12-08 09:22:35 UTC
Permalink
Post by Glenn
Post by Roland Wingerter
Post by Glenn
Is IE the only browser that can be opened use OLE autoclient???
-------
No, there's also an ActiveX for Mozilla (Marc used it in his browser form).
Roland
Am I misunderstanding things here?? The function below opens IE as a
freestanding browser. This is NOT an ActiveX component. Can this be
done with FireFox or Opera???
---------
Sorry, I mixed up OLEAutoClient and ActiveX.

Roland
Glenn
2008-12-08 16:18:31 UTC
Permalink
Post by Roland Wingerter
Post by Glenn
Post by Roland Wingerter
Post by Glenn
Is IE the only browser that can be opened use OLE autoclient???
-------
No, there's also an ActiveX for Mozilla (Marc used it in his browser form).
Roland
Am I misunderstanding things here?? The function below opens IE as a
freestanding browser. This is NOT an ActiveX component. Can this be
done with FireFox or Opera???
---------
Sorry, I mixed up OLEAutoClient and ActiveX.
Roland
So I guess the answer is still no? Oh well...

Thanks for your efforts

Glenn

Roland Wingerter
2008-12-04 08:30:59 UTC
Permalink
Post by Glenn
I currently am using the method
_app.IE = new OleAutoClient("InternetExplorer.Application")
To get to the internet. Works fine, except one site does not allow IE!
It gives an error message and shuts down, so I was wondering how to do
this using another browser, such as Opera or Mozilla.
---------
Try this sample code posted by Michael Nuwer: news://news.dbase.com/***@news-server

Further information on XMLHttpRequest:

http://en.wikipedia.org/wiki/XMLHttpRequest

Roland
Glenn
2008-12-04 14:25:25 UTC
Permalink
Post by Roland Wingerter
Post by Glenn
I currently am using the method
_app.IE = new OleAutoClient("InternetExplorer.Application")
To get to the internet. Works fine, except one site does not allow IE!
It gives an error message and shuts down, so I was wondering how to do
this using another browser, such as Opera or Mozilla.
---------
http://en.wikipedia.org/wiki/XMLHttpRequest
Roland
Thanks Roland, but that is a little too deep for me. Will print it up
and perhaps be able to research a bit more later.

Glenn
Roland Wingerter
2008-12-04 15:11:57 UTC
Permalink
Thanks Roland, but that is a little too deep for me. Will print it up and
perhaps be able to research a bit more later.
---------
It's too deep for me too, but Michael's sample works for Google and returns
the Google search result as a string in the property objHttp.responseText.
.
I thought maybe you could adapt it for your needs. But from what I read in
Wikipedia not all websites will support this type of request.

FWIW, yesterday I had no problem accessing www.cdcovers.cc in IE 7 and
Firefox, but today I get an error message. Do you think it's possible that
this site blocks frequent visitors?

Roland
Glenn
2008-12-04 22:23:18 UTC
Permalink
Post by Roland Wingerter
Post by Glenn
Thanks Roland, but that is a little too deep for me. Will print it up
and perhaps be able to research a bit more later.
---------
It's too deep for me too, but Michael's sample works for Google and
returns the Google search result as a string in the property
objHttp.responseText.
Which I don't need. I pass search arguments to the site so it will open
at the page I desire.
Post by Roland Wingerter
I thought maybe you could adapt it for your needs. But from what I read
in Wikipedia not all websites will support this type of request.
FWIW, yesterday I had no problem accessing www.cdcovers.cc in IE 7 and
Firefox, but today I get an error message. Do you think it's possible
that this site blocks frequent visitors?
Roland
Don't think so. I use Opera now to get there with no problem at all.
However, it does go down often. Did you get the standard page not
found??


Glenn
Loading...