Feb 10, 2011, 3:02 PM
Convert code C# to .VB
HI!
try this code but does not work:
<script runat="server">
[DirectMethod(Namespace = "cb")]
public void DoSomething()
{
X.Msg.Notify("Server Time (Listener)", DateTime.Now.ToLongTimeString()).Show();
}
</script>
Anyone know is this code in VBtry this code but does not work:
<script runat="server">
< DirectMethod (Namespace = "cb")>
Public Sub DoSomething()
X.Msg.Notify("Server Time (Listener)", DateTime.Now.ToLongTimeString()).Show()
End Sub
</script>
Last edited by julioc_m18; Feb 10, 2011 at 8:04 PM.