473,322 Members | 1,540 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Microsoft Web Browser COM control in VB .Net

Has anyone had success with using this Com control?

When I add it into my tool box and drop it into my form
it says in the
properties that the Document and LocationURL are read
only. (they are grayed out)

I am successful to get Media Play Com to work alright in
the form but can
not get Web Browser to work.

Maybe you can tell me there is another way to get HTML
browsing capability
inside a form?

I found a link on Google that seemed to be referencing
this issue but could
not get their code to compile
http://weblogs.asp.net/kaevans/archi...02/25/2936.asp
x

Nov 20 '05 #1
28 5276
Cor
There is a difference between the adWebbrowser and the webbrowser

axshdocVw.dll and shdocVw.dll and only shdocVW.dll, are you using axshdocvw?

Cor
Nov 20 '05 #2
Cor
There is a difference between the adWebbrowser and the webbrowser

axshdocVw.dll and shdocVw.dll and only shdocVW.dll, are you using axshdocvw?

Cor
Nov 20 '05 #3
When I run the form with a Microsoft Web Browser
(shdocVw.dll ) i only get a white box. It is not obvious
how to feed the browser box an HTML file to read.

I searched on my drives and did not find a axshdocVw.dll.

I searched in the COM list and did not see an
adWebbrowser... is this a third party COM? If it is what
I need to finish the task...where to I get it?
If there are two methods for getting a browser control in
a form: Microsoft Web Browser AND AdWebbrowser...
What are the advantages of each?
-----Original Message-----
There is a difference between the adWebbrowser and the webbrowser
axshdocVw.dll and shdocVw.dll and only shdocVW.dll, are you using axshdocvw?
Cor
.

Nov 20 '05 #4
When I run the form with a Microsoft Web Browser
(shdocVw.dll ) i only get a white box. It is not obvious
how to feed the browser box an HTML file to read.

I searched on my drives and did not find a axshdocVw.dll.

I searched in the COM list and did not see an
adWebbrowser... is this a third party COM? If it is what
I need to finish the task...where to I get it?
If there are two methods for getting a browser control in
a form: Microsoft Web Browser AND AdWebbrowser...
What are the advantages of each?
-----Original Message-----
There is a difference between the adWebbrowser and the webbrowser
axshdocVw.dll and shdocVw.dll and only shdocVW.dll, are you using axshdocvw?
Cor
.

Nov 20 '05 #5
Cor
Hi Bob,

I never got things working with the shdocvw.dll the axdocvw.dll is I think
the compatible part from VB6 I put in the subject Charles than maybe Charles
can sees it and he can tell us what he is using.

Cor
Nov 20 '05 #6
Cor
Hi Bob,

I never got things working with the shdocvw.dll the axdocvw.dll is I think
the compatible part from VB6 I put in the subject Charles than maybe Charles
can sees it and he can tell us what he is using.

Cor
Nov 20 '05 #7
Hi Cor, Bob

Sorry, I was miles away (figuratively speaking).

Bob ...

The WebBrowser control is an ActiveX control, so when you add one to a form
in your .NET project, .NET adds a managed wrapper to it, which is what the
ax prefix means.

Once you have a WebBrowser control on your form, you will see
AxInterop.SHDocVw and Microsoft.mshtml in the project references, in the
solution explorer. The former is concerned with the user interface and the
latter is concerned with the DOM.

The reason Document is greyed out, for example, is that it is an object that
provides access to the DOM. Its primary interface is mshtml.IHTMLDocument2,
but you can use DirectCast to get at other supported interfaces.

In the simplest case, suppose you want to navigate to an HTML page: in the
load event of your form put

AxWebBrowser1.Navigate2("http://www.microsoft.com")

for example, to go to the Microsoft home page. Be aware that the page loads
asynchronously, so the call to Navigate2() will return immediately, and
certainly before the page has finished loading. If you want to access the
document you will need to handle the DocumentComplete event of the browser
control, or wait until the readyState = "complete".

Sorry if this is a bit brief, but have a go, and post back with any further
problems.

HTH

Charles

"Cor" <no*@non.com> wrote in message
news:uy**************@TK2MSFTNGP09.phx.gbl...
Hi Bob,

I never got things working with the shdocvw.dll the axdocvw.dll is I think
the compatible part from VB6 I put in the subject Charles than maybe Charles can sees it and he can tell us what he is using.

Cor

Nov 20 '05 #8
Hi Cor, Bob

Sorry, I was miles away (figuratively speaking).

Bob ...

The WebBrowser control is an ActiveX control, so when you add one to a form
in your .NET project, .NET adds a managed wrapper to it, which is what the
ax prefix means.

Once you have a WebBrowser control on your form, you will see
AxInterop.SHDocVw and Microsoft.mshtml in the project references, in the
solution explorer. The former is concerned with the user interface and the
latter is concerned with the DOM.

The reason Document is greyed out, for example, is that it is an object that
provides access to the DOM. Its primary interface is mshtml.IHTMLDocument2,
but you can use DirectCast to get at other supported interfaces.

In the simplest case, suppose you want to navigate to an HTML page: in the
load event of your form put

AxWebBrowser1.Navigate2("http://www.microsoft.com")

for example, to go to the Microsoft home page. Be aware that the page loads
asynchronously, so the call to Navigate2() will return immediately, and
certainly before the page has finished loading. If you want to access the
document you will need to handle the DocumentComplete event of the browser
control, or wait until the readyState = "complete".

Sorry if this is a bit brief, but have a go, and post back with any further
problems.

HTH

Charles

"Cor" <no*@non.com> wrote in message
news:uy**************@TK2MSFTNGP09.phx.gbl...
Hi Bob,

I never got things working with the shdocvw.dll the axdocvw.dll is I think
the compatible part from VB6 I put in the subject Charles than maybe Charles can sees it and he can tell us what he is using.

Cor

Nov 20 '05 #9
Cor
Hi Charles,

The main problem is that I never could use the Shdocvw (when I did want all
the benefits) directly but always the axshdocvw.

(And maybe a little bit lazy when I saw it did not go and the axshdovw did
work fine, not check it really very deep)

How is that with you, do you use the Shdocvw withouth the AxShdocvw.

Cor
Nov 20 '05 #10
Cor
Hi Charles,

The main problem is that I never could use the Shdocvw (when I did want all
the benefits) directly but always the axshdocvw.

(And maybe a little bit lazy when I saw it did not go and the axshdovw did
work fine, not check it really very deep)

How is that with you, do you use the Shdocvw withouth the AxShdocvw.

Cor
Nov 20 '05 #11
Hi Cor

No I don't. I have found it easier to use the RCW that .NET creates. In
order to make SHDocVw work on its own, there are several interfaces that
need to be implemented by the host, and these are not defined in the
framework, so they need to be created by hand. When .NET creates the RCW it
uses an AxHost as the container for SHDocVw, which takes care of all the
extra interfaces required.

There are reasons why doing it all by hand is beneficial, but I have managed
to get round the problems like events not firing by other means.

Charles
"Cor" <no*@non.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Hi Charles,

The main problem is that I never could use the Shdocvw (when I did want all the benefits) directly but always the axshdocvw.

(And maybe a little bit lazy when I saw it did not go and the axshdovw did
work fine, not check it really very deep)

How is that with you, do you use the Shdocvw withouth the AxShdocvw.

Cor

Nov 20 '05 #12
Hi Cor

No I don't. I have found it easier to use the RCW that .NET creates. In
order to make SHDocVw work on its own, there are several interfaces that
need to be implemented by the host, and these are not defined in the
framework, so they need to be created by hand. When .NET creates the RCW it
uses an AxHost as the container for SHDocVw, which takes care of all the
extra interfaces required.

There are reasons why doing it all by hand is beneficial, but I have managed
to get round the problems like events not firing by other means.

Charles
"Cor" <no*@non.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Hi Charles,

The main problem is that I never could use the Shdocvw (when I did want all the benefits) directly but always the axshdocvw.

(And maybe a little bit lazy when I saw it did not go and the axshdovw did
work fine, not check it really very deep)

How is that with you, do you use the Shdocvw withouth the AxShdocvw.

Cor

Nov 20 '05 #13
I looked at the Navigate ( ) Method but it was not clear
how or if that is what I need to direct the Web Browswer
control to point to read an HTML file.

You guys are so smart...pleeease share with me how you
get the Microsoft Web Browser (shdocVw.dll) to read a
file with in a VB form. I am still looking at a white
space where the control is painted on my form.

-----Original Message-----
When I run the form with a Microsoft Web Browser
(shdocVw.dll ) i only get a white box. It is not obvioushow to feed the browser box an HTML file to read.

I searched on my drives and did not find a axshdocVw.dll.

I searched in the COM list and did not see an
adWebbrowser... is this a third party COM? If it is whatI need to finish the task...where to I get it?
If there are two methods for getting a browser control ina form: Microsoft Web Browser AND AdWebbrowser...
What are the advantages of each?
-----Original Message-----
There is a difference between the adWebbrowser and the

webbrowser

axshdocVw.dll and shdocVw.dll and only shdocVW.dll, are

you using axshdocvw?

Cor
.

.

Nov 20 '05 #14
I looked at the Navigate ( ) Method but it was not clear
how or if that is what I need to direct the Web Browswer
control to point to read an HTML file.

You guys are so smart...pleeease share with me how you
get the Microsoft Web Browser (shdocVw.dll) to read a
file with in a VB form. I am still looking at a white
space where the control is painted on my form.

-----Original Message-----
When I run the form with a Microsoft Web Browser
(shdocVw.dll ) i only get a white box. It is not obvioushow to feed the browser box an HTML file to read.

I searched on my drives and did not find a axshdocVw.dll.

I searched in the COM list and did not see an
adWebbrowser... is this a third party COM? If it is whatI need to finish the task...where to I get it?
If there are two methods for getting a browser control ina form: Microsoft Web Browser AND AdWebbrowser...
What are the advantages of each?
-----Original Message-----
There is a difference between the adWebbrowser and the

webbrowser

axshdocVw.dll and shdocVw.dll and only shdocVW.dll, are

you using axshdocvw?

Cor
.

.

Nov 20 '05 #15
Hi Bob

Believe me, we are not trying to keep it from you.

You can use the Navigate method to load a file as well, e.g.

AxWebBrowser1.Navigate("c:\myplace\myfile.htm")

What happens when you use the above syntax?

Charles
"BobAchgill" <an*******@discussions.microsoft.com> wrote in message
news:26****************************@phx.gbl...
I looked at the Navigate ( ) Method but it was not clear
how or if that is what I need to direct the Web Browswer
control to point to read an HTML file.

You guys are so smart...pleeease share with me how you
get the Microsoft Web Browser (shdocVw.dll) to read a
file with in a VB form. I am still looking at a white
space where the control is painted on my form.

-----Original Message-----
When I run the form with a Microsoft Web Browser
(shdocVw.dll ) i only get a white box. It is not

obvious
how to feed the browser box an HTML file to read.

I searched on my drives and did not find a axshdocVw.dll.

I searched in the COM list and did not see an
adWebbrowser... is this a third party COM? If it is

what
I need to finish the task...where to I get it?
If there are two methods for getting a browser control

in
a form: Microsoft Web Browser AND AdWebbrowser...
What are the advantages of each?
-----Original Message-----
There is a difference between the adWebbrowser and the

webbrowser

axshdocVw.dll and shdocVw.dll and only shdocVW.dll, are

you using axshdocvw?

Cor
.

.

Nov 20 '05 #16
Hi Bob

Believe me, we are not trying to keep it from you.

You can use the Navigate method to load a file as well, e.g.

AxWebBrowser1.Navigate("c:\myplace\myfile.htm")

What happens when you use the above syntax?

Charles
"BobAchgill" <an*******@discussions.microsoft.com> wrote in message
news:26****************************@phx.gbl...
I looked at the Navigate ( ) Method but it was not clear
how or if that is what I need to direct the Web Browswer
control to point to read an HTML file.

You guys are so smart...pleeease share with me how you
get the Microsoft Web Browser (shdocVw.dll) to read a
file with in a VB form. I am still looking at a white
space where the control is painted on my form.

-----Original Message-----
When I run the form with a Microsoft Web Browser
(shdocVw.dll ) i only get a white box. It is not

obvious
how to feed the browser box an HTML file to read.

I searched on my drives and did not find a axshdocVw.dll.

I searched in the COM list and did not see an
adWebbrowser... is this a third party COM? If it is

what
I need to finish the task...where to I get it?
If there are two methods for getting a browser control

in
a form: Microsoft Web Browser AND AdWebbrowser...
What are the advantages of each?
-----Original Message-----
There is a difference between the adWebbrowser and the

webbrowser

axshdocVw.dll and shdocVw.dll and only shdocVW.dll, are

you using axshdocvw?

Cor
.

.

Nov 20 '05 #17
Hi Bob,

Here is as far as I know that axwebbrowser also in

Normaly Herfried supports this links and now I had to search for it.

Searching on the name Herfried in the dotnet groups does not help a lot.

:-)

http://msdn.microsoft.com/downloads/...er/default.asp

If it is the wrong one, message back?

I hope you can go on now, it is a complete solution.

Cor
Nov 20 '05 #18
Hi Bob,

Here is as far as I know that axwebbrowser also in

Normaly Herfried supports this links and now I had to search for it.

Searching on the name Herfried in the dotnet groups does not help a lot.

:-)

http://msdn.microsoft.com/downloads/...er/default.asp

If it is the wrong one, message back?

I hope you can go on now, it is a complete solution.

Cor
Nov 20 '05 #19
It works! I successfully did the AxWebBrowser1.Navigate
("c:\myplace\myfile.htm") Thanks!!

Where can I find a list of all the methods for
AxWebBrowser or is that a stupid question?

-----Original Message-----
Hi Bob

Believe me, we are not trying to keep it from you.

You can use the Navigate method to load a file as well, e.g.
AxWebBrowser1.Navigate("c:\myplace\myfile.htm")

What happens when you use the above syntax?

Charles
"BobAchgill" <an*******@discussions.microsoft.com> wrote in messagenews:26****************************@phx.gbl...
I looked at the Navigate ( ) Method but it was not clear how or if that is what I need to direct the Web Browswer control to point to read an HTML file.

You guys are so smart...pleeease share with me how you
get the Microsoft Web Browser (shdocVw.dll) to read a
file with in a VB form. I am still looking at a white
space where the control is painted on my form.

>-----Original Message-----
>When I run the form with a Microsoft Web Browser
>(shdocVw.dll ) i only get a white box. It is not

obvious
>how to feed the browser box an HTML file to read.
>
>I searched on my drives and did not find a axshdocVw.dll. >
>I searched in the COM list and did not see an
>adWebbrowser... is this a third party COM? If it is

what
>I need to finish the task...where to I get it?
>
>
>If there are two methods for getting a browser control

in
>a form: Microsoft Web Browser AND AdWebbrowser...
>What are the advantages of each?
>
>>-----Original Message-----
>>There is a difference between the adWebbrowser and the >webbrowser
>>
>>axshdocVw.dll and shdocVw.dll and only shdocVW.dll, are >you using axshdocvw?
>>
>>Cor
>>
>>
>>.
>>
>.
>

.

Nov 20 '05 #20
It works! I successfully did the AxWebBrowser1.Navigate
("c:\myplace\myfile.htm") Thanks!!

Where can I find a list of all the methods for
AxWebBrowser or is that a stupid question?

-----Original Message-----
Hi Bob

Believe me, we are not trying to keep it from you.

You can use the Navigate method to load a file as well, e.g.
AxWebBrowser1.Navigate("c:\myplace\myfile.htm")

What happens when you use the above syntax?

Charles
"BobAchgill" <an*******@discussions.microsoft.com> wrote in messagenews:26****************************@phx.gbl...
I looked at the Navigate ( ) Method but it was not clear how or if that is what I need to direct the Web Browswer control to point to read an HTML file.

You guys are so smart...pleeease share with me how you
get the Microsoft Web Browser (shdocVw.dll) to read a
file with in a VB form. I am still looking at a white
space where the control is painted on my form.

>-----Original Message-----
>When I run the form with a Microsoft Web Browser
>(shdocVw.dll ) i only get a white box. It is not

obvious
>how to feed the browser box an HTML file to read.
>
>I searched on my drives and did not find a axshdocVw.dll. >
>I searched in the COM list and did not see an
>adWebbrowser... is this a third party COM? If it is

what
>I need to finish the task...where to I get it?
>
>
>If there are two methods for getting a browser control

in
>a form: Microsoft Web Browser AND AdWebbrowser...
>What are the advantages of each?
>
>>-----Original Message-----
>>There is a difference between the adWebbrowser and the >webbrowser
>>
>>axshdocVw.dll and shdocVw.dll and only shdocVW.dll, are >you using axshdocvw?
>>
>>Cor
>>
>>
>>.
>>
>.
>

.

Nov 20 '05 #21
Hi Cor,

I downloaded the code at the link you gave me. And tried
to upgrade it to VB .Net with some errors that would not
let it compile... like:

Type 'shell' is not defined.

'Object' is not a member of 'AxSHDocVw.AxWebBrowser'.

For now Charles' suggestion for using the command:
AxWebBrowser1.Navigate("c:\myplace\myfile.htm")

has me going alright to load a HTML document...but it
would be nice to use some the functionality in the code
you pointed me to. Is is simple to make the upgrade
function properly? If not I will leave it alone until I
get to be a better programmer.

-----Original Message-----
Hi Bob,

Here is as far as I know that axwebbrowser also in

Normaly Herfried supports this links and now I had to search for it.
Searching on the name Herfried in the dotnet groups does not help a lot.
:-)

http://msdn.microsoft.com/downloads/.../internet/defa ult.asp?
url=/downloads/samples/internet/browser/vbwebbrowser/defau
lt.asp
If it is the wrong one, message back?

I hope you can go on now, it is a complete solution.

Cor
.

Nov 20 '05 #22
Hi Cor,

I downloaded the code at the link you gave me. And tried
to upgrade it to VB .Net with some errors that would not
let it compile... like:

Type 'shell' is not defined.

'Object' is not a member of 'AxSHDocVw.AxWebBrowser'.

For now Charles' suggestion for using the command:
AxWebBrowser1.Navigate("c:\myplace\myfile.htm")

has me going alright to load a HTML document...but it
would be nice to use some the functionality in the code
you pointed me to. Is is simple to make the upgrade
function properly? If not I will leave it alone until I
get to be a better programmer.

-----Original Message-----
Hi Bob,

Here is as far as I know that axwebbrowser also in

Normaly Herfried supports this links and now I had to search for it.
Searching on the name Herfried in the dotnet groups does not help a lot.
:-)

http://msdn.microsoft.com/downloads/.../internet/defa ult.asp?
url=/downloads/samples/internet/browser/vbwebbrowser/defau
lt.asp
If it is the wrong one, message back?

I hope you can go on now, it is a complete solution.

Cor
.

Nov 20 '05 #23
I suppose the simple answer is that they are basically the same as the
WebBrowser control. The more helpful answer is that they can all be found in
MSDN, on-line or in the library if you have it.

You will notice some methods and attributes called CtlXXXX. These are
generated when the underlying control (in this case the WebBrowser control)
has members with the same name as members of the .NET Control class. In this
case, the .NET members keep their name, and the underlying control members
are prefixed with ctl.

I don't wish to put you off, and depending on what your plans are this may
not be significant, but using the WebBrowser control for anything even
remotely clever is fraught with problems. I have spent the last nine months,
on and off, developing a browser control for .NET, with the WebBrowser
control at the heart. It ain't straight forward. Apart from the bugs in the
interop and the browser control itself, you will need to spend a lot of time
delving into the MSDN for examples and clues, and these newsgroups will
become your best friends.

But hey ...

Good luck.

Charles
"BobAchgill" <an*******@discussions.microsoft.com> wrote in message
news:27****************************@phx.gbl...
It works! I successfully did the AxWebBrowser1.Navigate
("c:\myplace\myfile.htm") Thanks!!

Where can I find a list of all the methods for
AxWebBrowser or is that a stupid question?

-----Original Message-----
Hi Bob

Believe me, we are not trying to keep it from you.

You can use the Navigate method to load a file as well,

e.g.

AxWebBrowser1.Navigate("c:\myplace\myfile.htm")

What happens when you use the above syntax?

Charles
"BobAchgill" <an*******@discussions.microsoft.com> wrote

in message
news:26****************************@phx.gbl...
I looked at the Navigate ( ) Method but it was not clear how or if that is what I need to direct the Web Browswer control to point to read an HTML file.

You guys are so smart...pleeease share with me how you
get the Microsoft Web Browser (shdocVw.dll) to read a
file with in a VB form. I am still looking at a white
space where the control is painted on my form.


>-----Original Message-----
>When I run the form with a Microsoft Web Browser
>(shdocVw.dll ) i only get a white box. It is not
obvious
>how to feed the browser box an HTML file to read.
>
>I searched on my drives and did not find a axshdocVw.dll. >
>I searched in the COM list and did not see an
>adWebbrowser... is this a third party COM? If it is
what
>I need to finish the task...where to I get it?
>
>
>If there are two methods for getting a browser control
in
>a form: Microsoft Web Browser AND AdWebbrowser...
>What are the advantages of each?
>
>>-----Original Message-----
>>There is a difference between the adWebbrowser and the >webbrowser
>>
>>axshdocVw.dll and shdocVw.dll and only shdocVW.dll, are >you using axshdocvw?
>>
>>Cor
>>
>>
>>.
>>
>.
>

.

Nov 20 '05 #24
I suppose the simple answer is that they are basically the same as the
WebBrowser control. The more helpful answer is that they can all be found in
MSDN, on-line or in the library if you have it.

You will notice some methods and attributes called CtlXXXX. These are
generated when the underlying control (in this case the WebBrowser control)
has members with the same name as members of the .NET Control class. In this
case, the .NET members keep their name, and the underlying control members
are prefixed with ctl.

I don't wish to put you off, and depending on what your plans are this may
not be significant, but using the WebBrowser control for anything even
remotely clever is fraught with problems. I have spent the last nine months,
on and off, developing a browser control for .NET, with the WebBrowser
control at the heart. It ain't straight forward. Apart from the bugs in the
interop and the browser control itself, you will need to spend a lot of time
delving into the MSDN for examples and clues, and these newsgroups will
become your best friends.

But hey ...

Good luck.

Charles
"BobAchgill" <an*******@discussions.microsoft.com> wrote in message
news:27****************************@phx.gbl...
It works! I successfully did the AxWebBrowser1.Navigate
("c:\myplace\myfile.htm") Thanks!!

Where can I find a list of all the methods for
AxWebBrowser or is that a stupid question?

-----Original Message-----
Hi Bob

Believe me, we are not trying to keep it from you.

You can use the Navigate method to load a file as well,

e.g.

AxWebBrowser1.Navigate("c:\myplace\myfile.htm")

What happens when you use the above syntax?

Charles
"BobAchgill" <an*******@discussions.microsoft.com> wrote

in message
news:26****************************@phx.gbl...
I looked at the Navigate ( ) Method but it was not clear how or if that is what I need to direct the Web Browswer control to point to read an HTML file.

You guys are so smart...pleeease share with me how you
get the Microsoft Web Browser (shdocVw.dll) to read a
file with in a VB form. I am still looking at a white
space where the control is painted on my form.


>-----Original Message-----
>When I run the form with a Microsoft Web Browser
>(shdocVw.dll ) i only get a white box. It is not
obvious
>how to feed the browser box an HTML file to read.
>
>I searched on my drives and did not find a axshdocVw.dll. >
>I searched in the COM list and did not see an
>adWebbrowser... is this a third party COM? If it is
what
>I need to finish the task...where to I get it?
>
>
>If there are two methods for getting a browser control
in
>a form: Microsoft Web Browser AND AdWebbrowser...
>What are the advantages of each?
>
>>-----Original Message-----
>>There is a difference between the adWebbrowser and the >webbrowser
>>
>>axshdocVw.dll and shdocVw.dll and only shdocVW.dll, are >you using axshdocvw?
>>
>>Cor
>>
>>
>>.
>>
>.
>

.

Nov 20 '05 #25
Bob

Try this link for an example for VB.NET.

http://support.microsoft.com/?kbid=311303

HTH

Charles
"BobAchgill" <an*******@discussions.microsoft.com> wrote in message
news:28****************************@phx.gbl...
Hi Cor,

I downloaded the code at the link you gave me. And tried
to upgrade it to VB .Net with some errors that would not
let it compile... like:

Type 'shell' is not defined.

'Object' is not a member of 'AxSHDocVw.AxWebBrowser'.

For now Charles' suggestion for using the command:
AxWebBrowser1.Navigate("c:\myplace\myfile.htm")

has me going alright to load a HTML document...but it
would be nice to use some the functionality in the code
you pointed me to. Is is simple to make the upgrade
function properly? If not I will leave it alone until I
get to be a better programmer.

-----Original Message-----
Hi Bob,

Here is as far as I know that axwebbrowser also in

Normaly Herfried supports this links and now I had to

search for it.

Searching on the name Herfried in the dotnet groups does

not help a lot.

:-)

http://msdn.microsoft.com/downloads/.../internet/defa

ult.asp?
url=/downloads/samples/internet/browser/vbwebbrowser/defau
lt.asp

If it is the wrong one, message back?

I hope you can go on now, it is a complete solution.

Cor
.

Nov 20 '05 #26
Bob

Try this link for an example for VB.NET.

http://support.microsoft.com/?kbid=311303

HTH

Charles
"BobAchgill" <an*******@discussions.microsoft.com> wrote in message
news:28****************************@phx.gbl...
Hi Cor,

I downloaded the code at the link you gave me. And tried
to upgrade it to VB .Net with some errors that would not
let it compile... like:

Type 'shell' is not defined.

'Object' is not a member of 'AxSHDocVw.AxWebBrowser'.

For now Charles' suggestion for using the command:
AxWebBrowser1.Navigate("c:\myplace\myfile.htm")

has me going alright to load a HTML document...but it
would be nice to use some the functionality in the code
you pointed me to. Is is simple to make the upgrade
function properly? If not I will leave it alone until I
get to be a better programmer.

-----Original Message-----
Hi Bob,

Here is as far as I know that axwebbrowser also in

Normaly Herfried supports this links and now I had to

search for it.

Searching on the name Herfried in the dotnet groups does

not help a lot.

:-)

http://msdn.microsoft.com/downloads/.../internet/defa

ult.asp?
url=/downloads/samples/internet/browser/vbwebbrowser/defau
lt.asp

If it is the wrong one, message back?

I hope you can go on now, it is a complete solution.

Cor
.

Nov 20 '05 #27
Hi Bob,

I assume your problem is solved by Charles his link?

Cor
Nov 20 '05 #28
Hi Bob,

I assume your problem is solved by Charles his link?

Cor
Nov 20 '05 #29

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

476
by: Xah Lee | last post by:
Microsoft Hatred, FAQ Xah Lee, 20020518 Question: U.S. Judges are not morons, and quite a few others are not morons. They find MS guilty, so it must be true. Answer: so did the German...
1
by: a94ws7 | last post by:
I am trying to automate a digital signature process with Microsoft Word, I have experimented by loading the word document into word and then from there placing that document inside a picturebox so...
2
by: eXtreme | last post by:
Does anyone know how to get the full URL filename from a Microsoft Web Browser control? I can use wbBrowserObj.LoctionURL to get the path but it seems to be missing the file name... I need the...
3
by: Concorde7224 | last post by:
Hi, I am using Microsot Web Browser control in a VC++ (.net) desktop application (Windows forms application). How do I make this control transparent so that if I have any other control like...
1
by: Bob | last post by:
I'm all of a sudden getting an access denied error on my web server when I access it from a browser: CS0016: Could not write to output file 'c:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary...
28
by: BobAchgill | last post by:
Has anyone had success with using this Com control? When I add it into my tool box and drop it into my form it says in the properties that the Document and LocationURL are read only. (they are...
4
by: Bootstrap Bill | last post by:
I have a Windows Form that uses the Microsoft WebBrowser control. If I load an HTML file into the control that contains Jscript code, can the Jscript code call a C# function in my Windows Form?
69
by: Peter Olcott | last post by:
Does JavaScript represent its controls internally as Microsoft Windows controls, or does it build them from scratch like Java?
48
by: Nathan Sokalski | last post by:
Ever since I found out that they didn't give us a way to install both IE6 and IE7 on the same machine, I have been more frustrated and annoyed with Microsoft than I ever have been with any company...
1
by: prm928 | last post by:
I have 3 Access versions (2000, 2002, 2003) on an XP machine. I'm using Access 2000 for some development which will include use of the Microsoft Internet Browser control. However, when...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.