Topbar
Topbar
Sign in
|
Join
|
Client Center
Home
Products
Client Center
Contact
Purchase
Support forums
»
Products
»
Cute Chat and Cute Web Messeng...
»
Re: Integrate Chat to an existing website developed in VB
Re: Integrate Chat to an existing website developed in VB
01-06-2010, 5:27 AM
Kenneth
Joined on 02-13-2008
Posts 3,886
Re: Integrate Chat to an existing website developed in VB
Reply
Quote
Hi moligane,
Vb embed example
<%@ Page Language=
"VB"
%>
<%@ Register TagPrefix=
"CuteChat"
TagName=
"EmbedChannel"
Src=
"CuteSoft_Client/CuteChat/EmbedChannel.ascx"
%>
<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
>
<script runat=
"server"
>
Private
Sub
Page_Load(
ByVal
sender
As
Object
,
ByVal
e
As
System.EventArgs)
If
Not
Me
.IsPostBack
Then
If
CuteChat.ChatApi.GetLobbyInfoArray().Length > 0
Then
EmbedChannel1.Visible =
True
Else
EmbedChannel1.Visible =
False
End
If
End
If
End
Sub
</script>
<script>
Embed_Place=
'Lobby-1';
</script>
<html xmlns=
"http://www.w3.org/1999/xhtml"
>
<head runat=
"server"
>
<title>Untitled Page</title>
</head>
<body>
<form id=
"form1"
runat=
"server"
>
<CuteChat:EmbedChannel ID=
"EmbedChannel1"
runat=
"server"
></CuteChat:EmbedChannel>
</form>
</body>
</html>
Regards,
ken
View Complete Thread