Results 1 to 4 of 4

Thread: VBCode in HTML Code help plz

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2004
    Location
    Belgium
    Posts
    77

    VBCode in HTML Code help plz

    Hi, I need to to someting but I am even not sure it's possible, I hope someone will be able to help me.

    Here my prob, my program create a html file then show it in a WebBrowse control in frmMain. But I also need the page to contain Hypertext link that will use vbcode. By exemple a hypertext who will open a new form or simply be able to Call a function in my VB project.

    What Am I supposed to put un the html code to do that ?

    <a href="CODE HERE ??">Link</a>

    Thanks in advence

  2. #2
    G&G Moderator chemicalNova's Avatar
    Join Date
    Jun 2002
    Location
    Victoria, Australia
    Posts
    4,246
    What you need to do is..


    Add the Microsoft Script Control to your project. When the page loads, add the script to the Script Control, and proccess it there. You will see that you can add Objects to the Script Control at Runtime using its AddObject Method. Try it..



    Phreak

    Visual Studio 6, Visual Studio.NET 2005, MASM

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Feb 2004
    Location
    Belgium
    Posts
    77
    I don't really understand, I add a sript control to my project, but after ?

    Maybe u can give me a small sample of the code I should place in the HTML file and the one in the script control to open a form by exemple ?

    What have I to place in hypertext html code and what in the source control at form load as you said ?

    Thanks for your help

  4. #4
    Addicted Member NewGen's Avatar
    Join Date
    Nov 2002
    Location
    olathe, ks
    Posts
    152

    I have an idea

    Instead of that just use a label that is underlined and blue to look like a link . . .
    I suck with graphics. Can you help me out? If you are good with graphics there are rewards . . . email me, [email protected] . . .

    [img src="www.cel-eration.com/anim1.gif"][/img]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width