🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.web
7 messages
7 total messages Started by Mark Harrington Sat, 04 Jun 2005 22:59
Help with CppWebbrowser into personell edition
#1154
Author: Mark Harrington
Date: Sat, 04 Jun 2005 22:59
9 lines
1478 bytes
Hi i dont really know to much about this so please forgive me I am trying to 
learn how to import the web browser contol into C++ builder and have 
follwoed instructions as per learning C++ Builder version 3 however I land 
up with two Icons on the active x pallette which indicate
CppWebbrowser_V1 and CppWebbrowser which one is right how do i begin to use 
this and how do i remove it At the moment i cant get this to work at all 
code examples + instructions would help me no end

Thanks Mark
Re: Help with CppWebbrowser into personell edition
#1156
Author: Hans Galema
Date: Mon, 06 Jun 2005 11:20
17 lines
1811 bytes
Mark Harrington wrote:
> Hi i dont really know to much about this so please forgive me I am trying to 
> learn how to import the web browser contol into C++ builder and have 
> follwoed instructions as per learning C++ Builder version 3 however I land 
> up with two Icons on the active x pallette which indicate
> CppWebbrowser_V1 and CppWebbrowser which one is right how do i begin to use 
> this and how do i remove it At the moment i cant get this to work at all 
> code examples + instructions would help me no end

Do you mean by "learning C++ Builder version 3":
"Internet Explorer as an ActiveX Control" page 786 of
Sams Tach Yourself Borland C++Builder in 21 days ?

So you find them on a palette but you cannot place them on a TForm ?
Does a program compile if you could place a component on a TForm ?

Hans.
Re: Hi Yes Builder3 But I have version 6
#1159
Author: Hans Galema
Date: Mon, 06 Jun 2005 20:46
17 lines
1660 bytes
Mark Harrington wrote:

> ....  You can resize the object at design time
> but it wont compile. What I get is unresolved external errors which 
> indicates that it cant see the methods IE Navigate Navigate2 etc

So it does compile. But it does not link as what you get is a linker error.

You have to add something to your project. As the book states that the
headerfile SHDocVw_TLB.h is generated tehn the bodies for
those function should be somewher in a cpp file or a lib or a package
for it. Add that.

Please never change the subject of a thread. Google will not
see thje posts as one thread then.

Hans.
Re: Hi Yes Builder3 But I have version 6
#1162
Author: Hans Galema
Date: Mon, 06 Jun 2005 20:49
10 lines
1374 bytes
Mark Harrington wrote:

Well you have some info in the subject that is not in the body. So I
overlooked it. Please never refer to the subject. Place all info in
the messagebody.

If you have builder6 then there is already a TCppWebBrowser component
on the Internet palette. Oh.. or isn't there one in the Personal edition ?

Hans.
Re: Hi Yes Builder3 But I have version 6
#1163
Author: Hans Galema
Date: Tue, 07 Jun 2005 06:07
28 lines
1879 bytes
Mark Harrington wrote:

> [Linker Error] Unresolved external '
 > __fastcall Shdocvw_tlb::TCppSearchAssistantOC::BeforeDestruction()'

Well see: Shdocvw_tlb. That is exactly where I warned you for.
During compiling only Shdocvw_tlb.h is needed. But at linktime
the linker needs a lib or cpp file.

> Unit 1 which comprises the form + Webbrouser control with no additional code 
> after droping the active x object onto the form looks like this which is 
> what i would expect 

Yes. that is all ok.


> #pragma link "SHDocVw_OCX"

Look for files SHDocVw_OCX on your harddrive. One of them has
to be added to your project.

> #include "SHDocVw_OCX.h"

Apparently the h file is there.

The rest op that looks ok. So now add the lib or so.

Hans.
Re: Hi Yes Builder3 But I have version 6
#1164
Author: Mark Harrington
Date: Tue, 07 Jun 2005 10:27
47 lines
2494 bytes
Hi Hans


Thank you very much  for your help I obviously need to go away and learn a 
bit about Library files
By the way for interest I don't really know if I'm allowed to do this but I 
have found an excellent website which is absolutely free and has all manor 
of tutorials on it for beginners to c++ pearl java and many other languages 
and topics may I place this link up for people to view in the discussion 
group I'm not sure about the ruling on this

Cheers

Mark



"Hans Galema" <notused@notused.nl> wrote in message 
news:42a53a52$1@newsgroups.borland.com...
> Mark Harrington wrote:
>
>> [Linker Error] Unresolved external '
> > __fastcall Shdocvw_tlb::TCppSearchAssistantOC::BeforeDestruction()'
>
> Well see: Shdocvw_tlb. That is exactly where I warned you for.
> During compiling only Shdocvw_tlb.h is needed. But at linktime
> the linker needs a lib or cpp file.
>
>> Unit 1 which comprises the form + Webbrouser control with no additional 
>> code after droping the active x object onto the form looks like this 
>> which is what i would expect
>
> Yes. that is all ok.
>
>
>> #pragma link "SHDocVw_OCX"
>
> Look for files SHDocVw_OCX on your harddrive. One of them has
> to be added to your project.
>
>> #include "SHDocVw_OCX.h"
>
> Apparently the h file is there.
>
> The rest op that looks ok. So now add the lib or so.
>
> Hans. 
Re: Hi Yes Builder3 But I have version 6
#1161
Author: Hans Galema
Date: Tue, 07 Jun 2005 13:29
17 lines
1913 bytes
Mark Harrington wrote:

> By the way for interest I don't really know if I'm allowed to do this but I 
> have found an excellent website which is absolutely free and has all manor 
> of tutorials on it for beginners to c++ pearl java and many other languages 
> and topics may I place this link up for people to view in the discussion 
> group I'm not sure about the ruling on this

You can refer to this link here if you want. If you want to start a
discussion then better in borland.public.cppbuilder.non-technical.

Be sure to add a bold statement to get nice reactions. <g>.

Please trim quotes. For all the rules see the Newsgroup Guidelines
and Newsgroups Etiquette at http://info.borland.com/newsgroups

Hans.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads