Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

beginner help full tips

Status
Not open for further replies.

tyris

Programmer
Nov 2, 2000
311
FR
I'm glad there is a webclass forum here. as there is no message for the moment, i put some tips here, hopping they will help

Basics :

To launch a template (myTemplate) you need to put this code in the myTemplate_Respond this way :

Private Sub SearchResult_Respond()
myTemplate.WriteTemplate
End Sub

to define the next webitem that will be launched use :

webclass.nextiem = your_next_page

to write with webclasses in your template :

put the tag in your web page :

<WC@TAG_NAME></WC@TAG_NAME>

when you will launch webclass, VB will replace this tag by the content you have specified.

To specify the contents of the tag do this :

YourWebtime_ProcessTag
Select Case TagName
Case &quot;WC@TAG_NAME1&quot;
TagContents = Function1()
Case &quot;WC@TAG_NAME2&quot;
TagContents = var
End Select

End Sub

your function MUST return a string
and of course your variables must be strings

Hope that was helpfull Best regards X-),
Elise
 
Why do I keep getting an error in Windows Me and have to reboot my computer? I have a hp pavilion, with 56k modum.
 
i need to call crystal reports 8.0 from webclasses application how do i do it
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top