|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
www Link in VB 6...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 Something like:
http://vbnet.mvps.org/code/intrinsic/sehyperlink.htm -- Show quoteHide quoteChris 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 > > > 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 >> >> >> > > "Camile" <nom***@please.com> wrote in message news:%C5Ef.16$Wj.7@fe07.lga... What is "the HTML toolbar"?> I'll try that. > Where do you think I could find the HTML Toolbar? > MSDN Library? 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"? > "Camile" <nom***@please.com> wrote in message news:B%5Ef.17$Wj.8@fe07.lga... VB6 does not use the Visual Studio 6 IDE (that's Visual C++ and Visual > Its listed in the MSDN Library of Visual Studio 6.0 InterDev) and does not have an HTML toolbar. 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. > 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 Well, according to the help file with my VB6 it does.news:XfaEf.49$3z6.32@fe02.lga... 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. > Camile wrote:
>>> Its listed in the MSDN Library of Visual Studio 6.0 VB6 doesn't _have_ a helpfile. Help for VB6 is part of MSDN, which also>> >> 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. 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? 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/ > > Camile wrote:
> It seems that this feature is included with the Visual Studio It very well may be. Lance suggested it is likely associated with a> environment. 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. 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... -- Show quoteHide quoteChris 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 >>> >>> >>> >> >> > > 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 >>>> >>>> >>>> >>> >>> >> >> > > Camile wrote:
> I just want the simple functionality I have grown to like in MS That's way easy. Here's the manual method:> Access. To convert a simple Label to a Hyperlink. No biggie. 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 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/ > > I believe it's part of InterDev or part of the web class thingamabobs.
-- Show quoteHide quoteRandy 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 : >>> : >>> : >>> : >> : >> : > : > : : 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 > : >>> > : >>> > : >>> > : >> > : >> > : > > : > > : > : > "Camile" <nom***@please.com> wrote in message news:Vo5Ef.13$Wj.7@fe07.lga... Use a Label, handle the Click event and use the ShellExecute API call> Is there a way to have a link on a form with VB6? 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. |
|||||||||||||||||||||||