|
-
Feb 22nd, 2004, 05:53 AM
#1
Thread Starter
Lively Member
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
-
Feb 22nd, 2004, 07:25 AM
#2
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
-
Feb 22nd, 2004, 09:51 AM
#3
Thread Starter
Lively Member
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
-
Feb 22nd, 2004, 06:27 PM
#4
Addicted Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|