Home All Groups Group Topic Archive Search About
Author
1 Feb 2006 4:32 PM
Camile
Is there a way to have a link on a form with VB6?
I need the HTML Toolbar, right?  It doesn't seem to be included in VB6 Pro.

Any suggestions?

Thanks

Author
1 Feb 2006 4:30 PM
Veign
Something like:
http://vbnet.mvps.org/code/intrinsic/sehyperlink.htm

--
Chris Hanscom - Microsoft MVP (VB)
Veign's Resource Center
http://www.veign.com/vrc_main.asp
Veign's Blog
http://www.veign.com/blog
--


Show quoteHide quote
"Camile" <nom***@please.com> wrote in message news:Vo5Ef.13$Wj.7@fe07.lga...
> Is there a way to have a link on a form with VB6?
> I need the HTML Toolbar, right?  It doesn't seem to be included in VB6
> Pro.
>
> Any suggestions?
>
> Thanks
>
>
>
Author
1 Feb 2006 4:47 PM
Camile
Thanks Chris

I'll try that.
Where do you think I could find the HTML Toolbar?
MSDN Library?

Show quoteHide quote
"Veign" <NOSPAMinveign@veign.com> wrote in message
news:OzWzk10JGHA.604@TK2MSFTNGP14.phx.gbl...
> Something like:
> http://vbnet.mvps.org/code/intrinsic/sehyperlink.htm
>
> --
> Chris Hanscom - Microsoft MVP (VB)
> Veign's Resource Center
> http://www.veign.com/vrc_main.asp
> Veign's Blog
> http://www.veign.com/blog
> --
>
>
> "Camile" <nom***@please.com> wrote in message
> news:Vo5Ef.13$Wj.7@fe07.lga...
>> Is there a way to have a link on a form with VB6?
>> I need the HTML Toolbar, right?  It doesn't seem to be included in VB6
>> Pro.
>>
>> Any suggestions?
>>
>> Thanks
>>
>>
>>
>
>
Author
1 Feb 2006 5:03 PM
Jeff Johnson [MVP: VB]
"Camile" <nom***@please.com> wrote in message news:%C5Ef.16$Wj.7@fe07.lga...

> I'll try that.
> Where do you think I could find the HTML Toolbar?
> MSDN Library?

What is "the HTML toolbar"?
Author
1 Feb 2006 5:14 PM
Camile
Its listed in the MSDN Library of Visual Studio 6.0

Its added to the usual components group.

It contains buttons that allow you to format characters and paragraphs in an
HTML document. The buttons on the HTML toolbar are available only in Design
view and Source view. Some buttons are available only in Design view.

To format characters, select all the characters to format. If you are in
Source view, do not include portions of an HTML tag. You can include entire
HTML tags, such as when you are making text bold that already contains some
italic text.

To format paragraphs, place the insertion point in the paragraph to format.
If you are formatting multiple paragraphs at once, select enough text that
at least a part of every paragraph to format is in the selection.

Show quoteHide quote
"Jeff Johnson [MVP: VB]" <i.get@enough.spam> wrote in message
news:OBh4zF1JGHA.3904@TK2MSFTNGP10.phx.gbl...
>
> "Camile" <nom***@please.com> wrote in message
> news:%C5Ef.16$Wj.7@fe07.lga...
>
>> I'll try that.
>> Where do you think I could find the HTML Toolbar?
>> MSDN Library?
>
> What is "the HTML toolbar"?
>
Author
1 Feb 2006 6:49 PM
Jeff Johnson [MVP: VB]
"Camile" <nom***@please.com> wrote in message news:B%5Ef.17$Wj.8@fe07.lga...

> Its listed in the MSDN Library of Visual Studio 6.0

VB6 does not use the Visual Studio 6 IDE (that's Visual C++ and Visual
InterDev) and does not have an HTML toolbar.
Author
1 Feb 2006 10:04 PM
Camile
Well, according to the help file with my VB6 it does.

Show quoteHide quote
"Jeff Johnson [MVP: VB]" <i.get@enough.spam> wrote in message
news:%23%23KNOB2JGHA.3332@TK2MSFTNGP11.phx.gbl...
>
> "Camile" <nom***@please.com> wrote in message
> news:B%5Ef.17$Wj.8@fe07.lga...
>
>> Its listed in the MSDN Library of Visual Studio 6.0
>
> VB6 does not use the Visual Studio 6 IDE (that's Visual C++ and Visual
> InterDev) and does not have an HTML toolbar.
>
Author
1 Feb 2006 10:10 PM
Lance Wynn
If you add a DHTML Page from the project menu, you will have access to the
HTML toolbar to edit the page within the designer.  I haven't done anything
with this feature of VB, but I imagine it ends up running in IIS somehow,
and not as a stand alone application.

Lance


"Camile" <nom***@please.com> wrote in message
news:XfaEf.49$3z6.32@fe02.lga...
Well, according to the help file with my VB6 it does.

Show quoteHide quote
"Jeff Johnson [MVP: VB]" <i.get@enough.spam> wrote in message
news:%23%23KNOB2JGHA.3332@TK2MSFTNGP11.phx.gbl...
>
> "Camile" <nom***@please.com> wrote in message
> news:B%5Ef.17$Wj.8@fe07.lga...
>
>> Its listed in the MSDN Library of Visual Studio 6.0
>
> VB6 does not use the Visual Studio 6 IDE (that's Visual C++ and Visual
> InterDev) and does not have an HTML toolbar.
>
Author
1 Feb 2006 10:11 PM
Karl E. Peterson
Camile wrote:
>>> Its listed in the MSDN Library of Visual Studio 6.0
>>
>> VB6 does not use the Visual Studio 6 IDE (that's Visual C++ and
>> Visual InterDev) and does not have an HTML toolbar.
>
> Well, according to the help file with my VB6 it does.

VB6 doesn't _have_ a helpfile.  Help for VB6 is part of MSDN, which also
includes help for a great number of other products as well.  And, I might
add, is online.  Perhaps you could point us to the page you feel is
relevant?
--
Working without a .NET?
http://classicvb.org/
Author
1 Feb 2006 11:05 PM
Camile
Ok
Yes, it was on the MSDN CDs included with VB6 Pro.
It seems that this feature is included with the Visual Studio environment.
I suppose I just need to move to .NET

Thanks

Show quoteHide quote
"Karl E. Peterson" <k***@mvps.org> wrote in message
news:O$w71x3JGHA.2036@TK2MSFTNGP14.phx.gbl...
> Camile wrote:
>>>> Its listed in the MSDN Library of Visual Studio 6.0
>>>
>>> VB6 does not use the Visual Studio 6 IDE (that's Visual C++ and
>>> Visual InterDev) and does not have an HTML toolbar.
>>
>> Well, according to the help file with my VB6 it does.
>
> VB6 doesn't _have_ a helpfile.  Help for VB6 is part of MSDN, which also
> includes help for a great number of other products as well.  And, I might
> add, is online.  Perhaps you could point us to the page you feel is
> relevant?
> --
> Working without a .NET?
> http://classicvb.org/
>
>
Author
1 Feb 2006 11:36 PM
Karl E. Peterson
Camile wrote:
> It seems that this feature is included with the Visual Studio
> environment.

It very well may be.  Lance suggested it is likely associated with a
DHTMLPage object, which I'd guess something like 99.9998% of us here have
never used.  In fact, I did just create a new ActiveX DLL project, and added
a DHTMLPage object in the Project Explorer window.  And, yeah, I guess you
could call what shows up to resemble something akin to an HTML toolbar?

> I suppose I just need to move to .NET

Holy cow, not over this, I would hope?

"What a waste it is to lose one's mind; how true that is." - Dan Quayle.
--
Working without a .NET?
http://classicvb.org/
Author
1 Feb 2006 5:04 PM
Veign
Like Jeff, I have never heard off it and from the name I don't understand
what it could do..

Explain the functionality you are looking for...

--
Chris Hanscom - Microsoft MVP (VB)
Veign's Resource Center
http://www.veign.com/vrc_main.asp
Veign's Blog
http://www.veign.com/blog
--


Show quoteHide quote
"Camile" <nom***@please.com> wrote in message news:%C5Ef.16$Wj.7@fe07.lga...
> Thanks Chris
>
> I'll try that.
> Where do you think I could find the HTML Toolbar?
> MSDN Library?
>
> "Veign" <NOSPAMinveign@veign.com> wrote in message
> news:OzWzk10JGHA.604@TK2MSFTNGP14.phx.gbl...
>> Something like:
>> http://vbnet.mvps.org/code/intrinsic/sehyperlink.htm
>>
>> --
>> Chris Hanscom - Microsoft MVP (VB)
>> Veign's Resource Center
>> http://www.veign.com/vrc_main.asp
>> Veign's Blog
>> http://www.veign.com/blog
>> --
>>
>>
>> "Camile" <nom***@please.com> wrote in message
>> news:Vo5Ef.13$Wj.7@fe07.lga...
>>> Is there a way to have a link on a form with VB6?
>>> I need the HTML Toolbar, right?  It doesn't seem to be included in VB6
>>> Pro.
>>>
>>> Any suggestions?
>>>
>>> Thanks
>>>
>>>
>>>
>>
>>
>
>
Author
1 Feb 2006 5:16 PM
Camile
I just want the simple functionality I have grown to like in MS Access.  To
convert a simple Label to a Hyperlink.  No biggie.

Show quoteHide quote
"Veign" <NOSPAMinveign@veign.com> wrote in message
news:OlyfmI1JGHA.3120@TK2MSFTNGP10.phx.gbl...
> Like Jeff, I have never heard off it and from the name I don't understand
> what it could do..
>
> Explain the functionality you are looking for...
>
> --
> Chris Hanscom - Microsoft MVP (VB)
> Veign's Resource Center
> http://www.veign.com/vrc_main.asp
> Veign's Blog
> http://www.veign.com/blog
> --
>
>
> "Camile" <nom***@please.com> wrote in message
> news:%C5Ef.16$Wj.7@fe07.lga...
>> Thanks Chris
>>
>> I'll try that.
>> Where do you think I could find the HTML Toolbar?
>> MSDN Library?
>>
>> "Veign" <NOSPAMinveign@veign.com> wrote in message
>> news:OzWzk10JGHA.604@TK2MSFTNGP14.phx.gbl...
>>> Something like:
>>> http://vbnet.mvps.org/code/intrinsic/sehyperlink.htm
>>>
>>> --
>>> Chris Hanscom - Microsoft MVP (VB)
>>> Veign's Resource Center
>>> http://www.veign.com/vrc_main.asp
>>> Veign's Blog
>>> http://www.veign.com/blog
>>> --
>>>
>>>
>>> "Camile" <nom***@please.com> wrote in message
>>> news:Vo5Ef.13$Wj.7@fe07.lga...
>>>> Is there a way to have a link on a form with VB6?
>>>> I need the HTML Toolbar, right?  It doesn't seem to be included in VB6
>>>> Pro.
>>>>
>>>> Any suggestions?
>>>>
>>>> Thanks
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
Author
1 Feb 2006 6:19 PM
Karl E. Peterson
Camile wrote:
> I just want the simple functionality I have grown to like in MS
> Access.  To convert a simple Label to a Hyperlink.  No biggie.

That's way easy.  Here's the manual method:

  http://vb.mvps.org/samples/HyperJmp

And, if you'd like a full-blown control, that supports both text and
graphical links, see:

  http://vb.mvps.org/samples/HyperLabel

Later...   Karl
--
Working without a .NET?
http://classicvb.org/
Author
1 Feb 2006 11:11 PM
Camile
Thanks Kark!

HyperLabel it is.

Show quoteHide quote
"Karl E. Peterson" <k***@mvps.org> wrote in message
news:OL7lYw1JGHA.1760@TK2MSFTNGP10.phx.gbl...
> Camile wrote:
>> I just want the simple functionality I have grown to like in MS
>> Access.  To convert a simple Label to a Hyperlink.  No biggie.
>
> That's way easy.  Here's the manual method:
>
http://vb.mvps.org/samples/HyperJmp
>
> And, if you'd like a full-blown control, that supports both text and
> graphical links, see:
>
http://vb.mvps.org/samples/HyperLabel
>
> Later...   Karl
> --
> Working without a .NET?
> http://classicvb.org/
>
>
Author
4 Feb 2006 3:12 AM
Randy Birch
I believe it's part of InterDev or part of the web class thingamabobs.

--

Randy Birch
MS MVP Visual Basic
http://vbnet.mvps.org/

Please reply to the newsgroups so all can participate.




Show quoteHide quote
"Veign" <NOSPAMinveign@veign.com> wrote in message
news:OlyfmI1JGHA.3120@TK2MSFTNGP10.phx.gbl...
: Like Jeff, I have never heard off it and from the name I don't understand
: what it could do..
:
: Explain the functionality you are looking for...
:
: --
: Chris Hanscom - Microsoft MVP (VB)
: Veign's Resource Center
: http://www.veign.com/vrc_main.asp
: Veign's Blog
: http://www.veign.com/blog
: --
:
:
: "Camile" <nom***@please.com> wrote in message
news:%C5Ef.16$Wj.7@fe07.lga...
: > Thanks Chris
: >
: > I'll try that.
: > Where do you think I could find the HTML Toolbar?
: > MSDN Library?
: >
: > "Veign" <NOSPAMinveign@veign.com> wrote in message
: > news:OzWzk10JGHA.604@TK2MSFTNGP14.phx.gbl...
: >> Something like:
: >> http://vbnet.mvps.org/code/intrinsic/sehyperlink.htm
: >>
: >> --
: >> Chris Hanscom - Microsoft MVP (VB)
: >> Veign's Resource Center
: >> http://www.veign.com/vrc_main.asp
: >> Veign's Blog
: >> http://www.veign.com/blog
: >> --
: >>
: >>
: >> "Camile" <nom***@please.com> wrote in message
: >> news:Vo5Ef.13$Wj.7@fe07.lga...
: >>> Is there a way to have a link on a form with VB6?
: >>> I need the HTML Toolbar, right?  It doesn't seem to be included in VB6
: >>> Pro.
: >>>
: >>> Any suggestions?
: >>>
: >>> Thanks
: >>>
: >>>
: >>>
: >>
: >>
: >
: >
:
:
Author
4 Feb 2006 4:55 PM
Aaron
I used http://vb.mvps.org/samples/HyperLabel

It was all I hoped for, but VB didn't have.
Thanks all.

Show quoteHide quote
"Randy Birch" <rgb_removet***@mvps.org> wrote in message
news:uYOyZjTKGHA.2064@TK2MSFTNGP11.phx.gbl...
>I believe it's part of InterDev or part of the web class thingamabobs.
>
> --
>
> Randy Birch
> MS MVP Visual Basic
> http://vbnet.mvps.org/
>
> Please reply to the newsgroups so all can participate.
>
>
>
>
> "Veign" <NOSPAMinveign@veign.com> wrote in message
> news:OlyfmI1JGHA.3120@TK2MSFTNGP10.phx.gbl...
> : Like Jeff, I have never heard off it and from the name I don't
> understand
> : what it could do..
> :
> : Explain the functionality you are looking for...
> :
> : --
> : Chris Hanscom - Microsoft MVP (VB)
> : Veign's Resource Center
> : http://www.veign.com/vrc_main.asp
> : Veign's Blog
> : http://www.veign.com/blog
> : --
> :
> :
> : "Camile" <nom***@please.com> wrote in message
> news:%C5Ef.16$Wj.7@fe07.lga...
> : > Thanks Chris
> : >
> : > I'll try that.
> : > Where do you think I could find the HTML Toolbar?
> : > MSDN Library?
> : >
> : > "Veign" <NOSPAMinveign@veign.com> wrote in message
> : > news:OzWzk10JGHA.604@TK2MSFTNGP14.phx.gbl...
> : >> Something like:
> : >> http://vbnet.mvps.org/code/intrinsic/sehyperlink.htm
> : >>
> : >> --
> : >> Chris Hanscom - Microsoft MVP (VB)
> : >> Veign's Resource Center
> : >> http://www.veign.com/vrc_main.asp
> : >> Veign's Blog
> : >> http://www.veign.com/blog
> : >> --
> : >>
> : >>
> : >> "Camile" <nom***@please.com> wrote in message
> : >> news:Vo5Ef.13$Wj.7@fe07.lga...
> : >>> Is there a way to have a link on a form with VB6?
> : >>> I need the HTML Toolbar, right?  It doesn't seem to be included in
> VB6
> : >>> Pro.
> : >>>
> : >>> Any suggestions?
> : >>>
> : >>> Thanks
> : >>>
> : >>>
> : >>>
> : >>
> : >>
> : >
> : >
> :
> :
>
Author
2 Feb 2006 11:36 AM
Phill W.
"Camile" <nom***@please.com> wrote in message news:Vo5Ef.13$Wj.7@fe07.lga...
> Is there a way to have a link on a form with VB6?

Use a Label, handle the Click event and use the ShellExecute API call
to launch the URL in question.

' Watch word-wrapping!
Private Declare Function ShellExecute Lib "shell32.dll" Alias
"ShellExecuteA" (ByVal hWnd As Long, ByVal lpOperation As String, ByVal
lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String,
ByVal nShowCmd As Long) As Long

Private Sub Label1_Click()
    Call ShellExecute( Me.hWnd, "Open", "http://...", "", "", 1)
End Sub

HTH,
    Phill  W.